Jump to content

Slow fetching database


Go to solution Solved by Q-Droid,

Recommended Posts

Posted
After doing a clean installation of Emby server, the rebuilding of the database is going very slow, in fact it takes a week (24x7) and from the pace it takes I think it will take 2 or 3 more.
The movie metadata is already in its corresponding directory for each movie and I am surprised that it took so long to rebuild the database.
Luke please, could you look at the log in case you see something that could cause that slowness?
Installing the beta version could solve something or removing any plugin?
Thanks in advance

 

embyserver.txt

Posted

Try removing all of the theme song and video plugins and that should reduce the amount of work done by the first time library scan.

Posted (edited)
Luke, I have removed the plug-ins but the slowness has not improved.
The PC where Emby Server is installed has all the prerequisites to function well....i7,32 GB memory, 4GB memory video, a 1GB M.2 and 600 Mb speed internet. But the CPU and memory consumption that Emby makes I think it is very little.
Can I modify any Emby Server file so that it uses all the ram and cpu that needs?
 
(As you can see in the log, fetching a movie it takes a long time)
 
(I forgot to say that the antivirus has it disabled in case it could influence.)

 

post-582-0-73452600-1590170689_thumb.png

embyserver.txt

Edited by Teddy
  • Solution
Q-Droid
Posted

A quick check through your log reveals it's taking around 6 minutes per movie to extract images. You could turn off the image extraction options for the library to see if that improves scanning.

 

Library settings:

- uncheck - Download images in advance

- uncheck - Enable thumbnail image creation

- uncheck - Create thumbnail images during library scan

 

If this helps then selectively enable until you find what works for you. My guess is you have slow storage.

  • Like 1
Posted

A quick check through your log reveals it's taking around 6 minutes per movie to extract images. You could turn off the image extraction options for the library to see if that improves scanning.

 

Library settings:

- uncheck - Download images in advance

- uncheck - Enable thumbnail image creation

- uncheck - Create thumbnail images during library scan

 

If this helps then selectively enable until you find what works for you. My guess is you have slow storage.

 

Bingo, Q-Droid!!!
That was the problem of the slowness, I have deactivated everything that you have told me and now the construction of the database I imagine that it will finish in 1 day or a few hours.
It was not a problem of slow storage because it is a Samsung EVO 970 M.2 and I think it is the fastest storage.
Now I will be able to access my libraries and when I finish I will activate the thumbnail extracttion and I will not care how long it lasts because it will do it in background.

Thank you very much for your help.

 

Q-Droid
Posted

You're welcome. It's good that your DB, metadata and cache are on SSD but I meant your library media storage might be slow. Not very relevant now if the scanning has improved for you after changing the settings for image extraction.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...