Second instance, separate database?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
Katermerlin
Posts: 20
Joined: Mon May 15, 2017 9:54 pm

Second instance, separate database?

Post by Katermerlin »

Hi!
I'd like to make a second instance, the first for my standard diskdrives, the second just for one external drive (FAT32).
Howto...?
The databases need to be separate, one instance & database for c:, d:, e:, f: ... x:, y:, z: , the other just for the external drive... (L:)
ist that feasible? If yes, how?

Thanx a lot in advance.
Wolfgang
NotNull
Posts: 5264
Joined: Wed May 24, 2017 9:22 pm

Re: Second instance, separate database?

Post by NotNull »

Very well feasible. Make use of the named instance feature of Everything.
Installing the service is not needed for FAT32 drives.

Assuming Everything 1.4:
- Run the following command
everything.exe -instance "L-Drive" -choose volumes

- Run the following command
everything.exe -instance "L-Drive"

- Go to Tools > Options > Indexes > Folders
- Click the Add button
- Include your L:-drive
- OK
- OK
- Configure the rest oif the Everything settings to your liking
- Exit Everything (right-click the systemtray icon and choose Exit.

Now create a shortcut that starts
"C:\path to\everything.exe" -instance "L-Drive"
and use that to open the L-drive instance.


Your 'regular' Everything can run side-by-side with the L-drive instance.
therube
Posts: 4614
Joined: Thu Sep 03, 2009 6:48 pm

Re: Second instance, separate database?

Post by therube »

-instance
command-line switch.

The .ini, .db, ... will be named the same as your -instance name.

You can use the
-choose-volumes
switch to (initially) not automatically index volumes.
Then go into Tools | Options | Indexes & manually add the drive(s) you want.
(Then remove [if from batch file or shortcut], or don't use the -choose-volumes switch [if command-line], & carry on from there.)
Katermerlin
Posts: 20
Joined: Mon May 15, 2017 9:54 pm

Re: Second instance, separate database?

Post by Katermerlin »

Thanx a lot.
At the moment I have very little time to tinker with it, but I'm going to reply if I managed to solve the issue...
Regards
Wolfgang
Katermerlin
Posts: 20
Joined: Mon May 15, 2017 9:54 pm

Re: Second instance, separate database?

Post by Katermerlin »

Here I'm back again...
I managed to get it working...

However, there is stil an issue regarding the scan of the drive L: ...
The diskdrive is formatted with FAT32. The scan lasts very long, there are about 2 million entries.
Once scanned everything, it works quite well.

But the scan starts every time when I restart the OS...
Trying to change somthing in the adjustments while it scans freezes the window and after a time Windows tells me that the software does not respond anymore...
What could I do that the database is created once and remains permanent...?

There is just a Everything-Drive-L.db.tmp in the Everything Folder, but no Everything-Drive-L.db ... Why ???
void
Developer
Posts: 15384
Joined: Fri Oct 16, 2009 11:31 pm

Re: Second instance, separate database?

Post by void »

Tools -> Options -> Folders -> L: -> Check Never Rescan.

You can manually rescan from Tools -> Options -> Folders -> L: -> Rescan Now



Everything only has one database.
The .tmp file is written to disk.
When it has been completely written it is renamed to a .db file.
Everything would have been terminated before the Everything.db.tmp was completely written.
You can delete this file.
Katermerlin
Posts: 20
Joined: Mon May 15, 2017 9:54 pm

Re: Second instance, separate database?

Post by Katermerlin »

Thank you, this helps me very much...

I thougt there must be an additional separate Database "Everything-Drive-L.db"...
If this is integrated into "Everything.db", its OK.
void
Developer
Posts: 15384
Joined: Fri Oct 16, 2009 11:31 pm

Re: Second instance, separate database?

Post by void »

It's from running Everything in a Drive-L instance, eg:

Everything.exe -instance "Drive-L"
Post Reply