Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: Databases and BLOBS  (Read 1197 times)
serial
Customers
Community Member
*****
Posts: 299


« on: August 27, 2008, 08:57:32 PM »

Just curious would it be possible to use database blobs with TV and if so would there be any things to consider with putting like all of your assets in BLOB form and accessing that way?

I'm specifically talking about ScimoreDB.  It seems pretty easy to embed and query from VB.net.

Logged
pabloescobar
Customers
Community Member
*****
Posts: 97


WWW
« Reply #1 on: August 28, 2008, 08:42:53 AM »

It will be a package with relational features... ^^

You can fit any data in blod fields. Just create an nice database model and you wont have problem at all.

Check also SQLite (its very small/fast embeded database).
Logged

-----------------------------
http://criswork.blogspot.com
tdishman
Community Member
*
Posts: 179


« Reply #2 on: September 16, 2008, 04:09:42 PM »

While BLOBs can be useful and on the surface they are very attractive, when things go bad with a BLOB it really goes bad. 

I don't know anything about that particular database, but every other database I've used in the past is not terribly friendly when it comes to BLOBs.  My general rule of thumb has been to not use BLOBs unless necessary (and to date I've never found a necessity).  I've always found that storing indexes to files is much easier to manage, and a ton easier to recover if something gets fouled up.

Logged
EagleEye
Customers
Community Member
*****
Posts: 321


WWW
« Reply #3 on: November 05, 2008, 01:25:21 AM »

For a long time I planned on using BLOB fields to store the meat of the data for my game state objects.

I changed my mind because to do so would require binary serialization of those objects (to make a byte array that would then be stored).

Binary serialization comes with a few problems attached to it... like if you change the class that you serialized, you can't then deserialize back in to it without an exception regarding an invalid class signature.

I changed to MediumText fields and XML serialization.
Logged

Vermund - A Matter of Life and Death MMORPG
My TV Projects - EEGUI (A GUI for TV6.5 with .NET 2005+), Material Editor, tutorials, and more!
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks