If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Sybase > DB Design for dynamic data objects

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-22-10, 03:42
roadwarriorBlue roadwarriorBlue is offline
Registered User
 
Join Date: Jan 2010
Posts: 2
Lightbulb DB Design for dynamic data objects

Hi

I have an interesting design issue.

I want to create a database design were a custom type objects can be created, linked and retrieved.

I am planning to design a framework which will provide user a capability to define his own object structure and store it. He should be able to retrieve the values based on the fields defined in his objects.

I am planning to have XML to pass the information between client and the server, but I am struggling with coming up with an acceptable database design for this.

Any ideas or guidance will be highly appreciated.

Thanks
Reply With Quote
  #2 (permalink)  
Old 01-22-10, 03:58
roadwarriorBlue roadwarriorBlue is offline
Registered User
 
Join Date: Jan 2010
Posts: 2
I want to design DB considering storing capacity of upto 40,000 records and custom objects created upto 200.
Reply With Quote
  #3 (permalink)  
Old 01-22-10, 10:56
mike_bike_kite mike_bike_kite is offline
vaguely human
 
Join Date: Jun 2007
Location: London
Posts: 2,519
You might want to look into EAV databases though it's not a very popular design choice on the forum. Main issue being that you loose the inbuilt ability to set referential integrity. Many folks on the forum have horror stories to tell about how a system they inherited was full of bad data or was very slow etc. Personally I haven't run into these issues but YMMV. At the end of the day there are very few alternatives offering the same functionality (XML). It might be worth using an existing EAV system - you should be able to define your own entities, add your attributes and just get going. Using an existing system for a while might give you an insight into their pros and cons of this method.
Reply With Quote
Reply

Tags
dynamic data objects

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On