PermaLinkDomino data modelling vs. RDBMS04/12/2004 05:46:14 AM
Written By : Stephan H. WisselCategory : Concepts
Location : Singapore
When explaining the Domino data model to developers with RDBMS background I get a lot of comments along the line of "and that is called a database? There is no way to define a table structure!". Once you take a closer look, you will realize, that Domino HAS a strict data model. Data in Domino is stored as META data. Expressed RDBMS style it could look like this:


(This is a conceptual, not necessarily fully accurate model)
When migrating a Domino application to a RDBMS backend you will be confronted with interesting choices:
  • Implement a META data model with attribute/value pairs?
  • Treat multi value fields as child tables?
  • Keep the DocumentUniqueId as primary key?
You might want to consult the literature about XML to RDBMS mapping to read more about the challenges when transiting between conceptual models (document centric to table centric). Be aware, the questions above are just about the data model, there is much more: document security, handling of RichText, handling of attachments, handling of embedded objects. You also might want to pull some Notes items into the document table (most likely: "form" and "$$" items) and/or add a document access table. Also you might want to pull the first value of an item into the item table to make the data access faster, Your extended model would look like this:



I'm curious about the upcoming Domino7. DB/2 will be an option to store Domino data, thus uncovering IBM's approach how they map Domino to a RDBMS.

Commentsv

No documents found

Enter Comments^



Email addresses provided are not made available on this site.





You can use UUB Code in your posts.

[b]bold[/b]  [i]italic[/i]  [u]underline[/u]  [s]strikethrough[/s]

URL's will be automatically converted to Links


:angry: :grin: :cool: :rolleyes: :laugh: :lips: :-o :-p :-( :-D :huh: :emb: :-x :-) :-\ ;-) :cry:






Remember me    

Site purpose and disclaimer
You consider to extend or replace your Domino infrastructure. You found a lot of information about messaging migration. You didn't find much about the applications, other than tool vendors advertisements. You realized that Domino migration is an emotional mine field. Bookmark this site, we will provide information and discuss the move from Domino to J2EE and other environments (both retaining and replacing Domino). We focus on applications, not on messaging.

The articles on this site mention products and phrases, that might be subject to copyright or trademarks. So we acknowledge, that the copyrights belong to the owner of the respective copyright or trademark.The links on this page are provided for convenience and are constitute no endorsement of the content of the target site.

So once your ready to discuss if and/or how to move away from Domino contact us.
Search
Site Contributors
Related Links
Resources
Some of the articles come with sample code or documents. You can get them in the Downloads section. Please check for the copyright accompanying the files.
Unless mentioned otherwise copyright of all of this site content is subject to a creative commons licence.
By Category
Lotus Domino ND7 RSS News Feed RSS Validator OpenNTF BlogSphere
Monthly Archive
Ads by Google