Automatic Partial Scan slower than full library scan

Server Version#: 1.13.9.5456
Player Version#:

Hey Guys, I tried asking this on NAS section but I didn’t get any replies so I figured I’d ask here since it may not be associated with OS.

I’m running the official Plex Docker in Unraid and it is taking 9-10 minutes to add one item in but takes 8 minutes to do a whole scan on TV shows.

Below are the logs and as you can see I’m not gettting any SLOW QUERY errors like I’ve seen other people get. All its doing a scan that takes 30-50ms, waiting 2 minutes, then doing another scan. I noticed it did it 5 times which is the amount of folders I have added to my TV shows library.

I’m trying to read the logs and find out whats going on for those 2 minutes but I don’t see anything of use. I’ve tried disabling chapter thumbnails, I don’t have video preview on. Anyone seen anything like this? It’s making adding things a big chore.

Nov 11, 2018 22:03:35.816 [0x14ba565d1800] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLite 3.13.0, threadsafe=1
Nov 11, 2018 22:03:36.100 [0x14ba565d1800] DEBUG - It took 50.000000 ms to retrieve 2495 items.
Nov 11, 2018 22:05:49.685 [0x14ba565d1800] DEBUG - It took 40.000000 ms to retrieve 2495 items.
Nov 11, 2018 22:07:56.052 [0x14ba565d1800] DEBUG - It took 30.000000 ms to retrieve 2495 items.
Nov 11, 2018 22:09:58.726 [0x14ba565d1800] DEBUG - It took 40.000000 ms to retrieve 2495 items.
Nov 11, 2018 22:11:56.825 [0x14ba565d1800] DEBUG - It took 30.000000 ms to retrieve 2495 items.
Nov 11, 2018 22:13:50.858 [0x14ba565d1800] DEBUG - Scanning TV Shows using en(Plex Series Scanner) with 6 current media items and 1 section locations in the database…

I am having this exact issue on Windows Server 2016 with Plex running off of a Solid State Drive. I let this scan go for over a half an hour before just cancelling it. It will eventually finish but takes forever. A full movie scan takes about 13 minutes versus the 30+ minutes a partial scan takes.

Plex Version 1.13.9.5456

Blockquote
Nov 16, 2018 14:44:10.088 [11056] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLite 3.25.3, threadsafe=1
Nov 16, 2018 14:44:10.275 [11056] DEBUG - It took 62.500000 ms to retrieve 8082 items.
Nov 16, 2018 14:44:12.980 [11056] DEBUG - It took 31.250000 ms to retrieve 2423 items.
Nov 16, 2018 14:44:51.238 [11056] DEBUG - It took 15.625000 ms to retrieve 1222 items.
Nov 16, 2018 14:45:09.767 [11056] DEBUG - It took 15.625000 ms to retrieve 1085 items.
Nov 16, 2018 14:45:26.622 [11056] DEBUG - It took 31.250000 ms to retrieve 1199 items.
Nov 16, 2018 14:47:55.603 [11056] DEBUG - It took 78.125000 ms to retrieve 8082 items.
Nov 16, 2018 14:47:58.508 [11056] DEBUG - It took 31.250000 ms to retrieve 2423 items.
Nov 16, 2018 14:48:38.710 [11056] DEBUG - It took 15.625000 ms to retrieve 1222 items.
Nov 16, 2018 14:48:56.852 [11056] DEBUG - It took 15.625000 ms to retrieve 1085 items.
Nov 16, 2018 14:49:13.215 [11056] DEBUG - It took 31.250000 ms to retrieve 1199 items.
Nov 16, 2018 14:50:03.718 [11056] DEBUG - It took 62.500000 ms to retrieve 0 items.
Nov 16, 2018 14:51:42.630 [11056] DEBUG - It took 62.500000 ms to retrieve 8082 items.
Nov 16, 2018 14:51:45.434 [11056] DEBUG - It took 31.250000 ms to retrieve 2423 items.
Nov 16, 2018 14:52:23.835 [11056] DEBUG - It took 15.625000 ms to retrieve 1222 items.
Nov 16, 2018 14:52:43.242 [11056] DEBUG - It took 15.625000 ms to retrieve 1085 items.
Nov 16, 2018 14:52:59.714 [11056] DEBUG - It took 15.625000 ms to retrieve 1199 items.
Nov 16, 2018 14:55:26.650 [11056] DEBUG - It took 78.125000 ms to retrieve 8082 items.
Nov 16, 2018 14:55:29.270 [11056] DEBUG - It took 31.250000 ms to retrieve 2423 items.
Nov 16, 2018 14:56:07.741 [11056] DEBUG - It took 15.625000 ms to retrieve 1222 items.
Nov 16, 2018 14:56:25.723 [11056] DEBUG - It took 15.625000 ms to retrieve 1085 items.
Nov 16, 2018 14:56:42.174 [11056] DEBUG - It took 15.625000 ms to retrieve 1199 items.
Nov 16, 2018 14:59:08.952 [11056] DEBUG - It took 78.125000 ms to retrieve 8082 items.
Nov 16, 2018 14:59:11.703 [11056] DEBUG - It took 31.250000 ms to retrieve 2423 items.
Nov 16, 2018 14:59:50.610 [11056] DEBUG - It took 31.250000 ms to retrieve 1222 items.
Nov 16, 2018 15:00:08.390 [11056] DEBUG - It took 15.625000 ms to retrieve 1085 items.
Nov 16, 2018 15:00:24.346 [11056] DEBUG - It took 31.250000 ms to retrieve 1199 items.
Nov 16, 2018 15:02:49.954 [11056] DEBUG - It took 62.500000 ms to retrieve 8082 items.
Nov 16, 2018 15:02:52.727 [11056] DEBUG - It took 31.250000 ms to retrieve 2423 items.
Nov 16, 2018 15:03:35.923 [11056] DEBUG - It took 15.625000 ms to retrieve 1222 items.
Nov 16, 2018 15:03:56.846 [11056] DEBUG - It took 31.250000 ms to retrieve 1085 items.
Nov 16, 2018 15:04:14.681 [11056] DEBUG - It took 15.625000 ms to retrieve 1199 items.
Nov 16, 2018 15:06:57.862 [11056] DEBUG - It took 78.125000 ms to retrieve 8082 items.
Nov 16, 2018 15:07:01.190 [11056] DEBUG - It took 31.250000 ms to retrieve 2423 items.
Nov 16, 2018 15:07:45.727 [11056] DEBUG - It took 31.250000 ms to retrieve 1222 items.
Nov 16, 2018 15:08:07.136 [11056] DEBUG - It took 15.625000 ms to retrieve 1085 items.
Nov 16, 2018 15:08:25.268 [11056] DEBUG - It took 15.625000 ms to retrieve 1199 items.
Nov 16, 2018 15:10:58.270 [11056] DEBUG - It took 62.500000 ms to retrieve 8082 items.
Nov 16, 2018 15:11:01.021 [11056] DEBUG - It took 31.250000 ms to retrieve 2423 items.
Nov 16, 2018 15:11:39.674 [11056] DEBUG - It took 15.625000 ms to retrieve 1222 items.
Nov 16, 2018 15:11:57.798 [11056] DEBUG - It took 15.625000 ms to retrieve 1085 items.
Nov 16, 2018 15:12:13.223 [11056] DEBUG - It took 15.625000 ms to retrieve 1199 items.
Nov 16, 2018 15:13:27.346 [11056] DEBUG - It took 62.500000 ms to retrieve 0 items.
Nov 16, 2018 15:14:37.268 [11056] DEBUG - It took 62.500000 ms to retrieve 8082 items.
Nov 16, 2018 15:14:39.933 [11056] DEBUG - It took 31.250000 ms to retrieve 2423 items.
Nov 16, 2018 15:15:16.561 [11056] DEBUG - It took 15.625000 ms to retrieve 1222 items.
Nov 16, 2018 15:15:34.191 [11056] DEBUG - It took 15.625000 ms to retrieve 1085 items.
Nov 16, 2018 15:15:49.635 [11056] DEBUG - It took 15.625000 ms to retrieve 1199 items.
Nov 16, 2018 15:17:13.206 [11056] DEBUG - It took 62.500000 ms to retrieve 1 items.
Nov 16, 2018 15:18:11.883 [11056] DEBUG - It took 62.500000 ms to retrieve 8082 items.
Nov 16, 2018 15:18:14.484 [11056] DEBUG - It took 31.250000 ms to retrieve 2423 items.
Nov 16, 2018 15:18:51.591 [11056] DEBUG - It took 31.250000 ms to retrieve 1222 items.
Nov 16, 2018 15:19:09.268 [11056] DEBUG - It took 31.250000 ms to retrieve 1085 items.
Nov 16, 2018 15:19:24.704 [11056] DEBUG - It took 15.625000 ms to retrieve 1199 items.

Blockquote

I also run off of an SSD
Hope someone who knows chimes in but in the mean time do you have dual libraries?

I wasn’t sure if this is what causes it but I have a Kids TV and a TV Shows library.

TV Shows = TV Show folders + Kids TV Folders
Kids TV = Only Kids TV Folders

I doubt this would cause that but just curious

I do have multiples libraries for both TV and Movies.

So…

Nothing huh? Plex just pauses for 2-3 minutes between those logs to catch a breather? Read a book?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.