| 
			
			 | 
		#1 | 
| 
			
			
			
			 Connoisseur 
			
			![]() Posts: 90 
				Karma: 10 
				Join Date: Aug 2012 
				Location: Westland, MI 
				
				
				Device: Galaxy A03s, Galaxy Tab A, Kindle Paperwhite (10th Gen), Nexus 7 
				
				
				 | 
	
	
	
		
		
			
			 
			
			For some reason Calibre is taking two minutes to start up. Any assistance would be greatly appreciated. I started Calibre in debug mode and have attached the file. 
		
	
		
		
			![]() Thanks ~ Dave  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Deviser 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,265 
				Karma: 2090983 
				Join Date: Aug 2013 
				Location: Texas 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 It is advisable to compact your Calibre metadata.db database periodically. The menu path is Calibre > Library > Library Maintenance > Check Library. It will perform a SQLite Vacuum operation to condense/compact/defrag the database. Example before and after a Vacuum: Before compacting<<<----------->>>After compacting: Page Count = 118,342<<<---------->>>Page Count = 3,606 Database Size = 121,182,208 bytes<<>>Database Size = 3,692,544 bytes So, the metadata.db file went from over 121mb to less than 4mb in size.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 You kids get off my lawn! 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,220 
				Karma: 73492664 
				Join Date: Aug 2007 
				Location: Columbus, Ohio 
				
				
				Device: Oasis 2 and Libra H2O and half a dozen older models I can't let go of 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Wowzer.  I've never done that, and I've been using Calibre since the Sony 500 days (wasn't it called something like Libre500 back then?) 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I hope I remember to do this when I get home from work.  
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | |
| 
			
			
			
			 Well trained by Cats 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,267 
				Karma: 61916422 
				Join Date: Aug 2009 
				Location: The Central Coast of California 
				
				
				Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Thes ar 'soft deletes' until you run the maintenance tool.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Bibliophagist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48,175 
				Karma: 174315444 
				Join Date: Jul 2010 
				Location: Vancouver 
				
				
				Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I'm wondering more about the startup time for the calibre server. If you turn off the automatic startup for the calibre server, does that have any effect on your startup time? On my laptop, it takes the startup time to 6.09 seconds which is not even close to your 2 minutes+ but I am not seeing the DEBUG httphelper and SMART_DEV lines. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Code: 
	Started up in 5.66 seconds with 7423 books Started up in 6.09 seconds with 7423 books  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Things to try: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	1) Start calibre from the command prompt with --ignore-plugins 2) You have the wireless device connection running on startup, disable that and see if it makes a difference 3) Create a new empty library and see if starting up with that library makes a difference  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | |
| 
			
			
			
			 Connoisseur 
			
			![]() Posts: 90 
				Karma: 10 
				Join Date: Aug 2012 
				Location: Westland, MI 
				
				
				Device: Galaxy A03s, Galaxy Tab A, Kindle Paperwhite (10th Gen), Nexus 7 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 I am puzzled. This behavior started after the last update to 3.17. I also went under Library Maintenance and did a check library. No error messages. Any more suggestions, please. ![]() ~ Dave  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 null operator (he/him) 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,018 
				Karma: 30277294 
				Join Date: Mar 2012 
				Location: Sydney Australia 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			@K8HW - do you have any custom columns built from other columns via templates ?  They've been known to slow things down. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	What version of calibre were you running before you updated to 3.17 ? BR  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#9 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			You can try attaching the metadata.db file from your calibre library and I'll see if I can reproduce the issue. (but dont do that if you dont want people to know what books you have in your library).
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#10 | |
| 
			
			
			
			 Connoisseur 
			
			![]() Posts: 90 
				Karma: 10 
				Join Date: Aug 2012 
				Location: Westland, MI 
				
				
				Device: Galaxy A03s, Galaxy Tab A, Kindle Paperwhite (10th Gen), Nexus 7 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 ~Dave  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#11 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Starts up in 1.3 seconds with that metadata.db on my machine. Other common causes of slowdowns are antivirus programs interfering, try excluding the calibre library folder from your antivirus.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#12 | |
| 
			
			
			
			 Connoisseur 
			
			![]() Posts: 90 
				Karma: 10 
				Join Date: Aug 2012 
				Location: Westland, MI 
				
				
				Device: Galaxy A03s, Galaxy Tab A, Kindle Paperwhite (10th Gen), Nexus 7 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Thanks again for your assistance. ![]() ~Dave  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#13 | 
| 
			
			
			
			 Connoisseur 
			
			![]() Posts: 90 
				Karma: 10 
				Join Date: Aug 2012 
				Location: Westland, MI 
				
				
				Device: Galaxy A03s, Galaxy Tab A, Kindle Paperwhite (10th Gen), Nexus 7 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I just removed Calibre 3.17 and installed version 3.16. Calibre now starts up in 2.6 seconds. It appears to be an issue with the latest version! 
		
	
		
		
		
		
		
		
		
		
		
		
	
	~Dave  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#14 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Hmm odd, the only new thing that could possibly affect startup times in 3.17 is the new split view for the book list, but you dont have that enabled, so it should not matter.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#15 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,178 
				Karma: 2431850 
				Join Date: Sep 2008 
				
				
				
				Device: IPad Mini 2 Retina 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Reinstall 3.17 and see if the slow performance comes back?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
| Thread Tools | Search this Thread | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Loading flow... takes too long every time. | bobgus | Conversion | 4 | 03-12-2013 10:10 PM | 
| Nook HD+ - Calibre takes a long time to find existing books on the device | rignes | Devices | 2 | 11-19-2012 12:27 PM | 
| Calibre taking a long, long time to update metadata on sony prs650 | hydin | Calibre | 5 | 06-05-2012 01:21 AM | 
| Get list on device takes a long time | sinusLog | Devices | 6 | 10-17-2011 02:56 AM | 
| Get Device Infomation takes a LONG time? | jotekman | Calibre | 4 | 11-21-2009 12:41 PM |