NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 194 195 196 197 198 … 1231 Next »
SQlite size questions

 
  • 0 Vote(s) - 0 Average
SQlite size questions
davisj36
Offline

Member

Posts: 179
Threads: 9
Joined: Apr 2004
#1
2006-09-22, 04:50 PM
Anyone know what I can use to either compress/remove or view some of the data from my gbpvr.db3. It's over 9GB! and I'm guessing that 9gigs is not a normal size for this database.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#2
2006-09-22, 05:16 PM
9gigs doesnt sound very normal, and I've not seen any other reports of extreme sized gbpvr.db3 files. Its funny though - one of the reasons we moved away from the old MS Access MDB database to get away from the fact it always grew and never shrunk, leading to extreme file sizes. I think something has gone wrong in this case though.

I've got about 40 channels, with 7 days of lists, and my gbpvr.db3 file weighs in at 2.7MB.

You could downloading SQLiteSpy from http://www.yunqa.de/delphi/sqlitespy/ and try using the 'Vacuum database' menu option.
davisj36
Offline

Member

Posts: 179
Threads: 9
Joined: Apr 2004
#3
2006-09-22, 05:33 PM
Thanks... I'll try it tonight and let you know.
User
Offline

Senior Member

Inglewood, California, USA
Posts: 366
Threads: 10
Joined: Oct 2005
#4
2006-09-22, 07:44 PM
27 meg here with 11 days of data and 200+ channels.
davisj36
Offline

Member

Posts: 179
Threads: 9
Joined: Apr 2004
#5
2006-09-22, 10:06 PM
9.7 gigs down to 4megs. LOL... figure that one out! Everything is good now.
sgilani
Offline

Senior Member

Posts: 730
Threads: 72
Joined: Jan 2006
#6
2007-03-10, 05:34 AM
resurrecting an old thread... GBPVR started getting reallllly slow, so I checked on the database size... 15.9 GB !!

So I'm doing the vacuum database thing as sub suggested, it's been going on for over 30 minutes now, grinding away.. I hope it works out in the end!
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#7
2007-03-10, 06:20 AM
I dont know what would cause these incredibly large databases, but I dont think its a common occurrance though. The SQLite databases have generally performed well, with very few problems reported.

I think this thread has the only two reports I've seen of huge database files with SQLite in the last year since the switch was made to SQLite.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#8
2007-05-28, 04:21 PM
Three reports...

I had what would normally be a 18Mb file explode to 5Gb....

According to the sqlite3 docs, sqlite likes to leave gaps where records were deleted from.

Quote:This makes the database file larger than it needs to be, but can speed up inserts.

http://www.sqlite.org/lang_vacuum.html

I thought it was from me removing whole channels lineups and re-loading them, over and over when I was testing ZSchedFix.... Probably was.

Added the vacuum command and kept the size down...
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#9
2007-05-28, 04:37 PM
I just checked my lounge PC that has been using SQLite since it was introduce about a year ago. I've got about 40 channels with 7 days of listings, which are deleted each night and reinserted, but its still only 3.5MB. I think our sun will go super nova before I ever reach 5GB Big Grin

I've never done a vacuum command. I suspect it some bug in SQLite that can cause this to happen, rather than a normal thing that'll happen to everyone after enough EPG updates.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#10
2007-05-28, 04:43 PM
sub Wrote:I just checked my lounge PC that has been using SQLite since it was introduce about a year ago. I've got about 40 channels with 7 days of listings, which are deleted each night and reinserted, but its still only 3.5MB. I think our sun will go super nova before I ever reach 5GB Big Grin

I've never done a vacuum command. I suspect it some bug in SQLite that can cause this to happen, rather than a normal thing that'll happen to everyone after enough EPG updates.

Fair enough... I read that the vacuum command is safe enough. I'll just have it as an option for my db program...
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
« 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
  Zero-size recording files rawlings471 1 1,690 2010-12-05, 04:12 PM
Last Post: sub
  General questions about Vista64 and GBPVR .... what to do? 8ace 6 3,188 2010-10-18, 03:20 PM
Last Post: 8ace
  Couple Questions jwelters 4 2,521 2010-08-26, 10:06 PM
Last Post: pBS
  Setting up HVR-1600 on a dishnetworks PVR questions morganboy 2 1,704 2010-05-14, 03:51 AM
Last Post: morganboy
  Recording stops at 4gb file size experiencebliss 5 2,479 2010-05-04, 02:54 AM
Last Post: pBS
  Questions regarding gbpvr's conversion processing and auto-convert mpg recordings. HYBRiD.BLiNG 1 1,495 2010-04-16, 12:39 AM
Last Post: Graham
  Half of scheduled shows are recording 0 size elodis 3 2,001 2010-04-15, 04:15 PM
Last Post: whurlston
  Questions on native SchedulesDirect EPG loader colinnwn 2 1,793 2010-04-07, 12:26 PM
Last Post: colinnwn
  2 quick questions drbenjamin 2 1,630 2010-03-18, 12:47 AM
Last Post: pBS
  Adding a second card questions Ifixcomputers 1 1,430 2010-03-15, 05:43 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode