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) Video Archive v
« Previous 1 2 3 4 5 Next »
Large video archine database, 100 MB

 
  • 0 Vote(s) - 0 Average
Large video archine database, 100 MB
TobyO
Offline

Member

Posts: 88
Threads: 6
Joined: Sep 2005
#1
2007-09-29, 01:37 PM (This post was last modified: 2007-09-29, 01:38 PM by TobyO.)
Jeff,

I'm using 1.0.16 and the newest VA on 9/25/07. The video archine database (db3) has reached 102 mb. Prior to the upgrade it was around 10 MB. I'm not sure how or if I can shrink it. Is this normal?

Toby O
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#2
2007-09-29, 07:50 PM
I've seen it expand upon upgrade. It is not what it is supposed to do, but it seems to happen sometimes. I have a utility that should fix it. I won't be able to post it until tomorrow or Monday however since I don;t have immediate access to the machine that it is on.

Jeff
TobyO
Offline

Member

Posts: 88
Threads: 6
Joined: Sep 2005
#3
2007-10-01, 04:17 AM
Thanks Jeff, I wait for you next post

Toby
nia
Offline

Senior Member

Posts: 385
Threads: 40
Joined: Mar 2005
#4
2007-10-09, 03:18 PM
Mine is 125MB, so I'll be lurking around here for the fix as well.

Not that it matters as much as getting the list-loading-faster-fix in place Wink but once you get to this one, I have subscribed to this thread as well...

/Niels
Happy user since October 2004
VM Ware ESXi 6 on SuperMicro X9SCM-F | Xeon E3-1230 | Windows 7 (on ESXi) | nPVR 3.7.7
2*HDHomeRun | Kodi on PC and RaspPI | Remote: Logitech Harmony 900 | Storage: unRAID file server 23TB (on ESXi)
|
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#5
2007-10-09, 04:30 PM
I just posted an update yesterday. The plug-in should notify you automatically the next time you enter it that an update is available. Can you let me know if it does.

In the update is a program called CompressVADatabase. It takes a *long* time to run. When it is done it will try to rename the original VA database to video archive original.db3. It creates a new database call video archive compressed.db3 and, if it can, renames it to video archive.db3 when all is done. You will need to check when it is done to see if the renames worked since they will fail if the files are in use at the time. You can continue to run gbpvr will the compression is running. There are also a few command line options available that you can use to prune out old data from the database. It trimmed my database by about 50Mb. Note however that my database is still about 195Mb. It has around 7500 file records spread across 500 directories. Given that images are stored in the database for DVD files and directories, a large database is "normal" if you have lots of directories or DVDs.

Jeff
nia
Offline

Senior Member

Posts: 385
Threads: 40
Joined: Mar 2005
#6
2007-10-09, 08:12 PM
Ran the compress feature on a 126 MB file.

It read 982 records (directories) resulting in a database of 120MB.

Proceeded to add FileMapRecords and just short of 10.000 ArchiveTable records, but it seemed like it added a lot of recordings that once was recorded, but has long been deleted. :confused:

Used virtually no CPU but almost 1 GB :eek: memory in the process ...

After more than ½ hour it ended up with a database of the exact same size as the one I started with Rolleyes I suppose the built in optimisation is working just fine in its own right.

From the above post it makes sense that it's kind of big from storing the folder images (I have no DVDs). I thought it only based itself on the images already present in the folders (why store them again in the database). But 126 MB is not many minutes of recordng, so it don't matter much anyway Smile

Just for info.
Happy user since October 2004
VM Ware ESXi 6 on SuperMicro X9SCM-F | Xeon E3-1230 | Windows 7 (on ESXi) | nPVR 3.7.7
2*HDHomeRun | Kodi on PC and RaspPI | Remote: Logitech Harmony 900 | Storage: unRAID file server 23TB (on ESXi)
|
TobyO
Offline

Member

Posts: 88
Threads: 6
Joined: Sep 2005
#7
2007-10-10, 10:40 PM
the automatic update feature work fine for me. I ran the compression program and it reduce the DB file from 104.8 to 104.2MB. I have approx. 600 records. I didn't rename the file instead I forced a rescan to create a new DB. Its about 85MB. the compression went fast for me about 2 min. Two things I wanted to ask about.

1) one of my Video Diretories is not contain within a folder o the hard drive. for example the location of my Ocean vacation movie is F:\ Ocean Vaction\Ocean Vacation.mpg. The Plugin setting is F:\. When I go in to Videos from PVRX2 The files all start with "F:". Following the example above I see F:Ocean Vacation. This is a small problem when I'm listing thing Alphabetically. Is thier a way to drop the F:\ or should I do the quickfix and put all the files into a single folder on F:\ ?

2) I'm no database expert but I would like to run a query and generate a printable report cataloging the movies and location. Is this possible. I have found some duplicates of movies in different diretories.

Thank for the plugin

Toby
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#8
2007-10-10, 11:05 PM
There are a whole bunch of SQLite tools available for free on the web that you can use to look at your database. You can even edit the database -- at your own risk of course. You might look at http://sqliteadmin.orbmu2k.de/, http://www.sqliteexpert.com/, and http://www.yunqa.de/delphi/doku.php/prod...espy/index.

The plug-in also comes with a utility called "Export VA Records.exe" that will create an XML file called vaexport.xml that contains information on the files in the database.

Jeff
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Video Archive thumbnails Y0tsuya 3 6,651 2009-12-14, 03:55 AM
Last Post: Fatman_do
  Video Archive not displaying all Recordings Mr. Camaro 8 5,370 2007-10-09, 05:56 PM
Last Post: Jeff
  Video Archive and XMLTV data gexi 9 5,884 2007-08-27, 04:19 AM
Last Post: ecorbin
  VA is supposed to look differn't that the Normal Video Library Right? Pochrist 1 2,136 2007-07-21, 02:50 AM
Last Post: sub
  Skinning Video Archive cameluk 2 2,993 2007-05-01, 08:20 PM
Last Post: cameluk
  Video Archive Question nightwalker 7 3,848 2007-04-30, 12:43 PM
Last Post: kurbel
  Video Archive please wait and wait.. pastro 8 6,304 2007-04-22, 04:11 PM
Last Post: pastro
  slow startup in video archive pastro 4 3,640 2007-04-21, 04:58 AM
Last Post: pastro
  Video Archive rolling back to previous version pastro 6 4,139 2007-04-20, 08:27 PM
Last Post: pastro
  DVD vob files in Video Archive Jams6502 3 3,499 2007-04-16, 08:56 PM
Last Post: Jeff

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

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

Linear Mode
Threaded Mode