[mythtv] Interesting performance improvement

Isaac Richards mythtv-dev@snowman.net
Wed, 20 Nov 2002 18:26:22 -0500


On Wednesday 20 November 2002 05:52 pm, rob wrote:
> About #2...  I've been thinking for a while about trying to eliminate
> the database dependency entirely from MythTV.  There aren't that many
> places in the code that do database accesses.  Each complex query
> (accesses more than one table) would have to be coded manually.  The
> data would be kept in flat files, and loaded into memory whenever the
> file on disk changed.  The mythfilldatabase would generate the flat
> files.  Since it's only a few megabytes, it would be quick to search
> through and wouldn't typically be swapped out from memory.  It would
> make installation easier, since mysql wouldn't be a requirement and you
> wouldn't have to fight with the permissions inside the database.

Sorry, but that's not going to happen.  The benefits of using a database far 
outweigh the any minor setup issues due to requiring one.

Isaac