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 > General > Database Concepts & Design > Stock-Market database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-08-11, 11:46
Ivanuska132 Ivanuska132 is offline
Registered User
 
Join Date: Oct 2011
Posts: 1
Lightbulb Stock-Market database

Hi Guys,

I am trying to decide which concept is better. I am building a database of Stock market historical data in MS Access.

In the attached file you can find 2 concepts I am considering (V1, V2).

Version1:

pro - flexibility. If I want to add new property I just add it into the table TBL_Value_Type_V1

contra - more difficult queries, more records in the TBL_Values (8000000 and more)

Version2:
pro - simple queries, less records

contra - when I want to add new value type I have to add new column into the table TBL_Values_V2. This makes is it less flexible. In addition I will have a lot of blanks in the database, since not all instruments have the same properties (for example Instr3 does not have open value)

Could you please advise which one is more common for the data structure I am working with? Any new ideas are welcome.

THANKS!!!
Attached Images
File Type: bmp Schema.bmp (2.23 MB, 20 views)
Reply With Quote
  #2 (permalink)  
Old 10-09-11, 23:15
Frunkie Frunkie is offline
Gives Bad Advice
 
Join Date: Mar 2007
Location: 010101010110100
Posts: 791
Are you using all of the columns as your primary key?
Reply With Quote
Reply

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