On Tue, Jul 29, 2008 at 01:26:54AM -0500, Robert Citek wrote:
> Why the difference in time?

Your first test is only measuring how long sqlite needs to 'select foo from 
bar';
all the commands after the pipe are ignored by 'time'.

Try this: time -p sh -c "sqlite3 sample.db 'select foo from bar ; ' | uniq | 
sort | uniq | wc -l"

Cheers, Peter
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to