NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Wishlist v
« Previous 1 … 170 171 172 173 174 … 193 Next »
MSDE or MySQL as Database

 
  • 0 Vote(s) - 0 Average
MSDE or MySQL as Database
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#1
2004-12-02, 05:42 AM
I'd put this on a medium to low priority list item, but it would be nice to migrate away from Access as a database, and move to a middle tier level database such as MSDE or MySQL. As with Access there are no royalty payments or restrictions. MSDE is basically SQL Server, but only allows a limited number of users to access it at a time. MySQL of course is open source, and can be included free of charge.

Setup of these might be a bit more complicated, but some of the benefits might be helpful for plugin/utility developers, as well as database maintenance. Indexing and speed of these two databases is much faster than Access.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#2
2004-12-02, 05:47 AM
The initial versions of GB-PVR actually used MSDE, but it was too much hassle to deploy (and too big). If I do change databases in future it'll probably be back to MSDE, but I suspect this wont happen for quite a while - sorry.

I have no interest in moving to MySQL.
jasonf
Offline

Member

Posts: 121
Threads: 7
Joined: Oct 2004
#3
2004-12-02, 06:46 PM
Is there database-specific code being used that for now requires Access?

Ideally, I'd like to see a connection string configuration parameter be used, allowing for the user to point to an alternative ANSI SQL-compliant database (like SQL Server, Access, Oracle, MySQL, or whatever you have laying around). Access could still be deployed with the product as a default.
JasonF
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#4
2004-12-02, 07:02 PM
[b Wrote:Quote[/b] ]Is there database-specific code being used that for now requires Access?
Not really. The OleDB packages and SQL I use is generic enough that it would work with SQL Server/MSDE/Access. Possibly Oracle. Probably not with MySQL. The connection strings are in the config.xml file.

That said, there is one piece of code (introduced in the last release) that does a JRO flush connection to force Access to write its cached data to disk. This was done to work around a widely known problem with the Access JET database not comitting is cache disk in a timely fashion. This would probably stop you using any other database.



KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#5
2004-12-02, 09:56 PM
Actually if you are following ANSI compliant SQL and not using any MS extensions it should be portable to MySQL as well. Initial setup would be a little more combersum however, as you would have to have DDL statements to create the necessary schemas for the database. The only one you might have a problem with is Oracle depending on the version of Oracle that is being run. Only Oracle 9i and above support the ANSI join syntax.

It would be a nice option though and definitely would be something that differentiates GB-PVR from any other PVR application out there. I'd probably still keep a default database, but might allow for the option to use another database. Again, low priority item in my opinon, there is other more important items to work on.

This could be something that you could add, and let your development community tweak it.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#6
2004-12-02, 10:00 PM
Yes, it was the differences with JOIN I was thinking of for Oracle, and subqueries for MySQL.
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#7
2004-12-02, 10:07 PM
Actually, latest version of MySQL (version 4.1) added support for Subselects (subqueries).

The big limitation would be the database specific scalar functions, because they aren't standard and each database is allowed to implement their own functions.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Folder change detection (database update) to avoid missing shows Faravid 2 1,950 2019-05-03, 03:16 PM
Last Post: Faravid
  switch to a real database reven 25 8,227 2012-11-29, 12:06 PM
Last Post: jcjefferies
  Ability to dump DVB/ATSC based EPG from database to an XML for post-processing jksmurf 6 3,080 2011-11-03, 12:11 PM
Last Post: jksmurf
  Remove deleted files from database caz 2 1,692 2010-03-29, 09:02 PM
Last Post: caz
  QAM to Lineup database anthrax79 9 3,184 2008-06-26, 04:03 AM
Last Post: ceandra
  Subtitle Capture and Database Search RangerBob 0 1,395 2007-12-11, 11:14 AM
Last Post: RangerBob
  Keep more recorded program info in the database johnnyb 1 1,306 2007-01-10, 03:40 PM
Last Post: sub
  Simple Database Plug In ydekmekji 6 2,925 2006-07-04, 02:05 AM
Last Post: kayleigh
  EAN Barcode Database Plugin ShiningDragon 0 1,578 2006-03-12, 09:32 PM
Last Post: ShiningDragon
  Prompt before clearing database lseats 0 1,028 2005-08-24, 02:04 PM
Last Post: lseats

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

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

Linear Mode
Threaded Mode