[linux-l] Re: find -> updatedb+locate

Rocco Rutte pdmef at cs.tu-berlin.de
Di Dez 12 12:49:12 CET 2006


Hi,

* Sven Guckes [06-12-11 16:00:42 +0100] wrote:

>$ time ( locate -d ~/.locatedb . | wc -l )
>407002
>(; locate -d ~/.locatedb . | wc -l; )  1.32s user 8.88s system 56% cpu 17.915 total

Kinderspielzeug :)

$ time psql -c 'select count(*) from sysinfo.locate;'
  count
--------
  463859
(1 row)

psql -c 'select count(*) from sysinfo.locate;'  0.01s user 0.01s system 1% cpu 0.927 total

SCNR,
   bye, Rocco
-- 
:wq!



Mehr Informationen über die Mailingliste linux-l