Update DataBase in Background

Have a suggestion for "Everything"? Please post it here.
Post Reply
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Update DataBase in Background

Post by Stamimail »

Currently we can't use Everything while indexing.
For example adding Folder Size (or MetaData) to Index might take a while.
My suggestion is to leave the current DataBase for using, till the new indexing is completed and replacing the old one.
In Status Bar might be flashing text to inform about indexing in background.
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: Update DataBase in Background

Post by Stamimail »

709
Updating Database...
It took like 20 seconds to update the Database.
Is there no way to let the user use the old Database, till the next opportunity to update without the user feel the updating process?
therube
Posts: 5058
Joined: Thu Sep 03, 2009 6:48 pm

Re: Update DataBase in Background

Post by therube »

(Heh. Not what you'd want, but you could run a second instance to run the update, then do some fanciful renaming, including closing the initial Everything session, then reopening the same. For the relatively small wait you run into, thinking not really worth it. But maybe for someone like MagiC...

But then just think, some of the LONG sorts we used to run into with Everything 1.3, compared to what 1.4 now does :-).)
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: Update DataBase in Background

Post by Stamimail »

Hi,
I think I don't know how to do the steps that you said.
My suggestion says only what should be improved. I did not say when or what to do first. (I'm not a programmer, but it looks easy, by using temporary DB file.)
Do not look at MagiC opinions as a problem, but as a challenge... Try to understand him. I believe he meant for good.
Manners is another matter...
void
Developer
Posts: 17157
Joined: Fri Oct 16, 2009 11:31 pm

Re: Update DataBase in Background

Post by void »

There's room for a lot of improvement in updating the database (after Everything has not been running for some time).
Currently Everything is designed to be always running so this updating is minimal.
It some cases its quicker to completely re-index than to update, which is not acceptable. Improving updating is on my TODO list.

If you wish to do a quick search without updating the database, please consider the -read-only command line opiton.
Maybe make a shortcut to Everything.exe -read-only if you wish to do a quick search? You can schedule Everything to run normally and exit (Everything -update -exit) to keep the database up-to-date hourly, daily etc.
Do not look at MagiC opinions as a problem, but as a challenge... Try to understand him. I believe he meant for good.
I agree. I want Everything to work with 100million files efficiently as possible as much as he does with more features than I know what to do with via plugins.

You can be as rude to me as you like, just please be nice to other users.
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: Update DataBase in Background

Post by Stamimail »

Trying 709,
Unfortunately, I see this problem occurs often.
I'm thinking about I will need to have 2 versions of 1.4:
The first for Easy and Fast tasks.
The second for more complex tasks.
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: Update DataBase in Background

Post by Stamimail »

It will be nice in cases the user is waiting for Everything, if the user will have running numbers/percentages from 0% to 100% in Status Bar.
The user will able to see if the indexing process is about to end, and will know not to cancel it by Esc.
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: Update DataBase in Background

Post by Stamimail »

Yes, I saw that. I posted here new suggestion, better in my opinion.
Post Reply