Sponsored Content
Full Discussion: slocate db
Operating Systems Linux slocate db Post 302214908 by spufi on Tuesday 15th of July 2008 07:04:03 AM
Old 07-15-2008
The main difference between (s)locate and find is the overall load it puts on a system. If you have an idle timewindow somewhere during the day/night, schedule slocate to reindex your system.

When someone wants to quickly locate a file, slocate will simply access this database and give you the result without much hassle, whereas find will actually start scanning your filesystems, generating lots of IO calls.

Thus IF you have a timewindow of say an hour or so, consider implementing slocate in your environment. If not, like in my case, find is the only - IO-intense - way of locating files.

(although of course find is way way way more powerfull than slocate)
 

We Also Found This Discussion For You

1. HP-UX

slocate

hello, Does anyone know where i can get a version of 'slocate' for hp-ux (11i v1). I like it on linux but can find a depot for hp-ux. Dont want to compile it on a work machine... thanks! (6 Replies)
Discussion started by: satinet
6 Replies
All times are GMT -4. The time now is 04:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy