What is the use of the parameter "- nodb"?
What is the use of the parameter "- nodb"?
After carefully studying the command line parameters of everything, I found a "-nodb" that indicates that the "Everything" database is not saved or loaded. After actual use, I found that the file "Everything.db" will not be generated in the directory, but it does not seem to be missing in terms of functionality? What is the use of this parameter? Is it possible to increase operating speed? Or using an increase in memory? Or is the index slowing down?
Re: What is the use of the parameter "- nodb"?
There is no benefit in speed or anything else.
The operation is in RAM as always, but no DB is written or read.
The operation is in RAM as always, but no DB is written or read.
Re: What is the use of the parameter "- nodb"?
Using the -nodb parameter will indeed prevent Everything from saving the database to disk when exiting (the database is in memory during operation).
This means that the next time Everything will be started, it will have to build the entire database from scratch. That can take some time, especially if network drives are involved.
Without the -nodb parameter, Everything can load the database from disk when started and just check for updated entries, which is done quite efficient.
So functionality-wise there is not much difference: both create a database in RAM; one from scratch, the other one using a base-level.
If you want to keep off-line drives in the index -- external drives come to mind -- you will need to save the database to disk as that information is unavailable otherwise.
The -nodb parameter is useful for testing (everything.exe -instance "TEST" -nodb) without creating databases all over the place.
Can also be used for special cases ( IndexThis for example )
This means that the next time Everything will be started, it will have to build the entire database from scratch. That can take some time, especially if network drives are involved.
Without the -nodb parameter, Everything can load the database from disk when started and just check for updated entries, which is done quite efficient.
So functionality-wise there is not much difference: both create a database in RAM; one from scratch, the other one using a base-level.
If you want to keep off-line drives in the index -- external drives come to mind -- you will need to save the database to disk as that information is unavailable otherwise.
The -nodb parameter is useful for testing (everything.exe -instance "TEST" -nodb) without creating databases all over the place.
Can also be used for special cases ( IndexThis for example )
Re: What is the use of the parameter "- nodb"?
Thank you both for your answers~