NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 86 87 88 89 90 … 101 Next »
One question npvr.db size and maybe a feature request.

 
  • 0 Vote(s) - 0 Average
One question npvr.db size and maybe a feature request.
joaosz
Offline

Junior Member

Posts: 30
Threads: 6
Joined: Mar 2018
#1
2020-04-20, 04:52 AM
My npvr.db's size keeps growing. My file is over 400 mb. What's causing it?

One feature request. A setting to clean the database without losing the setup.

Thanks for the NextPVR. 

João.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#2
2020-04-20, 05:00 AM
If you restart the NextPVR Service, does it shrink?

There is a database "vacuum" operation that happens any time the application is restarted, which reclaims any unused space and should shrink the database.
joaosz
Offline

Junior Member

Posts: 30
Threads: 6
Joined: Mar 2018
#3
2020-04-20, 04:18 PM
(2020-04-20, 05:00 AM)sub Wrote: If you restart the NextPVR Service, does it shrink?

There is a database "vacuum" operation that happens any time the application is restarted, which reclaims any unused space and should shrink the database
Nope, I didn't noticed that.

I will attach the log as soon as possible.
joaosz
Offline

Junior Member

Posts: 30
Threads: 6
Joined: Mar 2018
#4
2020-04-21, 10:05 AM
(2020-04-20, 04:18 PM)joaosz Wrote:
(2020-04-20, 05:00 AM)sub Wrote: If you restart the NextPVR Service, does it shrink?

There is a database "vacuum" operation that happens any time the application is restarted, which reclaims any unused space and should shrink the database
Nope, I didn't noticed that.

I will attach the log as soon as possible.
Here's my log.

If you need the npvr file please let me know.

Thanks

João


Attached Files
.zip   logs-20200421-0656.zip (Size: 509.37 KB / Downloads: 3)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#5
2020-04-21, 05:54 PM
It looks like it is trying to shrink your database, but the file is somehow corrupt.

Quote:2020-04-21 06:56:21.315 [DEBUG][9] Doing database vacuum
2020-04-21 06:56:21.480 [ERROR][9] Unexpected error doing DBHouseCleaning: SQLite Error 11: 'database disk image is malformed'.
joaosz
Offline

Junior Member

Posts: 30
Threads: 6
Joined: Mar 2018
#6
2020-04-22, 12:17 AM
(2020-04-21, 05:54 PM)sub Wrote: It looks like it is trying to shrink your database, but the file is somehow corrupt.

Quote:2020-04-21 06:56:21.315 [DEBUG][9] Doing database vacuum
2020-04-21 06:56:21.480 [ERROR][9] Unexpected error doing DBHouseCleaning: SQLite Error 11: 'database disk image is malformed'.

Ok. Is there a way to backup the channel's list with the epg's mapping? A m3u list to restore in a new installation of NextPVR?

Thanks!
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,835
Threads: 954
Joined: May 2006
#7
2020-04-22, 12:28 AM
I see you are running from C:\Program Files(x86)\NPVR do you have two copies of NextPVR installed, with another one in C:\Program Files\NextPVR

Before doing anything serious I would try and fix the file from the command line by downloading sqlite3, stopping the server and running

sqlite3 npvr.db3 "pragma integrity_check"

Check for disk space too.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#8
2020-04-22, 12:33 AM
Backup the file before trying to fix it.
joaosz
Offline

Junior Member

Posts: 30
Threads: 6
Joined: Mar 2018
#9
2020-04-22, 12:53 AM
(2020-04-22, 12:33 AM)sub Wrote: Backup the file before trying to fix it.
ok


That's the result's pragma integrity_check:


"*** in database main ***
On tree page 55372 cell 67: 2nd reference to page 74945
On tree page 133810 cell 62: 2nd reference to page 74874
On tree page 133810 cell 42: 2nd reference to page 74871
On tree page 133810 cell 41: 2nd reference to page 74872
On tree page 133810 cell 40: 2nd reference to page 74873
On tree page 133810 cell 39: 2nd reference to page 74875
On tree page 133810 cell 38: 2nd reference to page 74876
On tree page 1236 cell 5: 2nd reference to page 74978
On tree page 1236 cell 5: Child page depth differs
Page 74960: btreeInitPage() returns error code 11
On tree page 5436 cell 78: 2nd reference to page 74959
On tree page 5436 cell 77: 2nd reference to page 74958
On tree page 5436 cell 76: 2nd reference to page 74957
On tree page 5436 cell 75: 2nd reference to page 74956
On tree page 5436 cell 74: 2nd reference to page 74955
On tree page 5436 cell 73: 2nd reference to page 74954
On tree page 5436 cell 72: 2nd reference to page 74953
On tree page 5436 cell 71: 2nd reference to page 74952
On tree page 5436 cell 70: 2nd reference to page 74951
On tree page 5436 cell 69: 2nd reference to page 74950
On tree page 5436 cell 68: 2nd reference to page 74949
On tree page 5436 cell 67: 2nd reference to page 74948
On tree page 5436 cell 66: 2nd reference to page 74947
On tree page 5436 cell 65: 2nd reference to page 74946
On tree page 74943 cell 2: Rowid 18033040 out of order
On tree page 5436 cell 63: Rowid 18033044 out of order
On tree page 5436 cell 63: 2nd reference to page 74942
On tree page 5436 cell 62: 2nd reference to page 74941
On tree page 5436 cell 61: 2nd reference to page 74940
On tree page 5436 cell 60: 2nd reference to page 74939
On tree page 5436 cell 59: 2nd reference to page 74938
On tree page 5436 cell 58: 2nd reference to page 74937
On tree page 5436 cell 57: 2nd reference to page 74936
On tree page 5436 cell 56: 2nd reference to page 74935
On tree page 5436 cell 55: 2nd reference to page 74934
On tree page 5436 cell 54: 2nd reference to page 74933
On tree page 5436 cell 53: 2nd reference to page 74932
On tree page 5436 cell 52: 2nd reference to page 74931
On tree page 5436 cell 51: 2nd reference to page 74930
On tree page 5436 cell 50: 2nd reference to page 74929
On tree page 5436 cell 49: 2nd reference to page 74928
On tree page 5436 cell 48: 2nd reference to page 74927
On tree page 5436 cell 47: 2nd reference to page 74926
On tree page 5436 cell 46: 2nd reference to page 74925
On tree page 5436 cell 45: 2nd reference to page 74924
On tree page 5436 cell 44: 2nd reference to page 74923
On tree page 5436 cell 43: 2nd reference to page 74922
On tree page 5436 cell 42: 2nd reference to page 74921
On tree page 5436 cell 41: 2nd reference to page 74920
On tree page 5436 cell 40: 2nd reference to page 74919
On tree page 5436 cell 39: 2nd reference to page 74918
On tree page 5436 cell 38: 2nd reference to page 74917
On tree page 5436 cell 37: 2nd reference to page 74916
On tree page 5436 cell 36: 2nd reference to page 74915
On tree page 5436 cell 35: 2nd reference to page 74914
On tree page 5436 cell 34: 2nd reference to page 74913
On tree page 5436 cell 33: 2nd reference to page 74912
On tree page 5436 cell 32: 2nd reference to page 74911
On tree page 5436 cell 31: 2nd reference to page 74910
On tree page 5436 cell 30: 2nd reference to page 74909
On tree page 5436 cell 29: 2nd reference to page 74908
On tree page 5436 cell 28: 2nd reference to page 74907
On tree page 5436 cell 27: 2nd reference to page 74906
On tree page 5436 cell 26: 2nd reference to page 74905
On tree page 5436 cell 25: 2nd reference to page 74904
On tree page 5436 cell 24: 2nd reference to page 74903
On tree page 5436 cell 23: 2nd reference to page 74902
On tree page 5436 cell 22: 2nd reference to page 74901
On tree page 5436 cell 21: 2nd reference to page 74900
On tree page 5436 cell 20: 2nd reference to page 74899
On tree page 5436 cell 19: 2nd reference to page 74898
On tree page 5436 cell 18: 2nd reference to page 74897
On tree page 5436 cell 17: 2nd reference to page 74896
On tree page 5436 cell 16: 2nd reference to page 74895
On tree page 5436 cell 15: 2nd reference to page 74894
On tree page 5436 cell 14: 2nd reference to page 74893
On tree page 5436 cell 13: 2nd reference to page 74892
On tree page 5436 cell 12: 2nd reference to page 74891
On tree page 5436 cell 11: 2nd reference to page 74890
On tree page 5436 cell 10: 2nd reference to page 74889
On tree page 5436 cell 9: 2nd reference to page 74888
On tree page 5436 cell 8: 2nd reference to page 74886
On tree page 5436 cell 7: 2nd reference to page 74885
On tree page 5436 cell 6: 2nd reference to page 74884
On tree page 5436 cell 5: 2nd reference to page 74883
On tree page 5436 cell 4: 2nd reference to page 74882
On tree page 5436 cell 3: 2nd reference to page 74880
On tree page 5436 cell 2: 2nd reference to page 74879
On tree page 5436 cell 1: 2nd reference to page 74878
On tree page 5436 cell 0: 2nd reference to page 74877
On tree page 1236 cell 4: Child page depth differs
On tree page 5336 cell 3: 2nd reference to page 74730
Page 366 is never used
Page 367 is never used
Page 370 is never used
Page 371 is never used
Page 372 is never used
Page 373 is never used
Page 374 is never used
Page 375 is never used
joaosz
Offline

Junior Member

Posts: 30
Threads: 6
Joined: Mar 2018
#10
2020-04-22, 01:00 AM
(2020-04-22, 12:28 AM)mvallevand Wrote: I  see you are running from C:\Program Files(x86)\NPVR  do you have two copies of NextPVR installed, with another one in C:\Program Files\NextPVR

Before doing anything serious I would try and fix the file from the command line by downloading sqlite3, stopping the server and running

sqlite3 npvr.db3 "pragma integrity_check"

Check for disk space too.

Martin
Thanks for helping.

I changed the program's local but only one instance running.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  NPVR Windows recordings folder cleanup.... Colincam 21 2,856 2025-04-16, 07:38 PM
Last Post: mvallevand
  Question about Multiple Clients viewing Same Channel JohnySmith1010 15 626 2025-04-07, 12:28 PM
Last Post: mvallevand
  Freezing/Buffering on Windows 11 (NPVR app only) nextpvrnoob 64 7,639 2025-02-21, 07:52 PM
Last Post: mvallevand
  Transcoder question eastavin 4 388 2025-01-29, 05:33 PM
Last Post: sub
  NPVR No Longer Acessible From LAN 4zm4r3d02 2 275 2025-01-26, 04:35 PM
Last Post: 4zm4r3d02
  NPVR NOT in system tray now RichU 4 387 2025-01-05, 10:20 PM
Last Post: RichU
  newbie question... wonder41269 6 396 2025-01-02, 08:09 PM
Last Post: wonder41269
  Which OS is "best" for NPVR? boringgit 3 518 2024-11-29, 09:48 PM
Last Post: boringgit
  Recurring recordings title match question Bobins 4 344 2024-11-16, 12:46 AM
Last Post: sub
  Issues with TV Guide in NPVR client Bobins 9 758 2024-11-08, 11:02 AM
Last Post: Bobins

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode