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 > Temporal Databases

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-05-08, 04:11
aetherealize aetherealize is offline
Registered User
 
Join Date: Oct 2008
Posts: 8
Temporal Databases

Just wondering...

Do any of you guys have experience implementing temporal databases?

I'm trying to get the hang of it, and for my next project I want to go ahead and implement Valid Time and Transaction Time for all of my entities.

The big headache I foresee right now is that neither of the DBMS's that I have experience with (MS SQL Server / MySQL) have any native support for the concept, so far as I know.

So I'll have to meticulously impose all the temporal constraints on my own, table by table.

I guess I'm just looking for general advice on common problems that come up when trying to design and implement a temporal schema.

Much obliged for your wisdom.
Reply With Quote
  #2 (permalink)  
Old 10-05-08, 11:13
blindman blindman is offline
World Class Flame Warrior
 
Join Date: Jun 2003
Location: Ohio
Posts: 11,726
My method is to design the base schema without temporal dimensions, and then add an archive table for each base table.
This script will create the archive tables for you.
Attached Files
File Type: txt AutoArchive.txt (7.1 KB, 128 views)
__________________
If it's not practically useful, then it's practically useless.

blindman
www.chess.com: "sqlblindman"
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