Search DominoPower's 10,675 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
NOTES AND DB2
Notes is not a relational database
By Mick Moignard

The upcoming Notes/Domino 7 release (now in beta, see http://www-10.lotus.com/ldd/beta/nd7pubbeta.nsf) enables direct storage of Notes databases in DB2 for the first time. This isn't copying of Notes data to DB2, it's the actual storage of the Notes database itself in DB2.

We've commented on this upcoming functionality before, as information has become available at past Lotuspheres. Have a look at our Sphere 2004 report at http://www.dominopower.com/issues/issue200402/00001217001.html and for 2003 at http://www.dominopower.com/issues/issue200302/lotusphere001.html.

The power of storing Notes databases in DB2 comes not just from the performance improvements that will be available for applications that need it, but more from the ability to see the Notes data in some kind of relational form and work with it from there, while still maintaining the Notes access controls against the data.

Just don't get too carried away about your Notes data magically being relational, though! Firstly, the DB2 option is only available on servers. Local databases on clients are still stored as .NSF files. The server's NSF layer maps the data to DB2. The storage in DB2 is that of the Notes data model, it's not suddenly made the data all fully relational. While you can read -- and write -- the data with SQL from non-Notes applications, you will still be dealing with the Notes data model.

So how does Notes data storage compare to a relational database? Why isn't Notes already a relational database?

The Notes database
The fundamental reason why Notes isn't a relational database is because it isn't. The organization of a Notes database is different from that of a relational database, which contains tables of same-type "records," or sets of fields, and is optimized for rapid access by table-oriented operations.

A Notes database can contain any number of notes, and a note can contain any number and type of fields. In addition, there is information in the database header and in each note header that supports simultaneous access and replication between databases.

This schema-less database architecture means that Notes is uniquely able to store highly disparate data types in the one database extremely efficiently, given what Notes is expected to do. It does tend to occupy more disk space, because the data elements also carry their meta-data with them, but it is efficient in terms of space management, and of course the architecture is optimized for Notes' replication capabilities, which is one of Notes unique features.


1  ·  2  ·  3  ·  4  ·  5  ·  6  ·  Next »
Other articles you might like
Home > Social Computing (21 articles)
   More thoughts on social computing and Lotus
   Lotusphere and social computing: taking action
   An interview with David Marshak on Real-time Collaboration
Home > Lotus Technologies > Notes (78 articles)
   When the debugger won't debug hidden code that isn't hidden
   What to do if the LotusScript debugger won't single-step over code
   Troubleshooting an OpenSuse Notes install
Home > Strategies > Best Practices (9 articles)
   Using Balsamiq Mockups to create low-fidelity prototypes
   IT and compliance: building the infallible infrastructure
   Save time and effort with a strong application framework
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
What to look for in a Domino-based document management solution
Understanding Domino.doc end-of-life options
When the debugger won't debug hidden code that isn't hidden
What to do if the LotusScript debugger won't single-step over code
Top 10 ways to launch and build a Lotus consulting practice (with a little help from the Beatles)
Troubleshooting an OpenSuse Notes install
Incident report: denial of service attack against ConnectedPhotographer.com
Latest Lotus Headlines
SnTT - Enabling ALL the bells and whistles!
Tivoli Data protection causes Domino to crash
Fun when running DB2 CLP scripts
Introducing Flippr, the easy way to admin Quickr
DXL and fake security
Using search forms in IBM Workplace Collaborative Learning 2.7
Schmidt, Freed, and Gering on the OVF Toolkit
>> Read all the news
More from the ZATZ journals
Computing Unplugged: Eight steps to successful and reliable home backups
David Gewirtz Online: CNN commentary and analysis
OutlookPower: Can Outlook run when it's not running (and other mysteries)?
-- Advertisement --

SECURTRAC - MONITOR AND CONTROL YOUR DOMINO ENVIRONMENT
When it comes to your business, how do you ensure compliance with SOX, HIPAA or other industry driven regulations? Use SecurTrac to monitor and audit the life cycle of all objects in your Domino environment.
  • Database Monitor
  • Mail Monitor
  • Domino Directory Monitor
  • Notes.ini File Monitor
  • Intrusion Detection Monitor


Click here for details and a free evaluation copy.
-- Advertisement --

Good Practices... Better Practices... Teamstudio.
Implementing good practices in your Notes environment doesn't have to be complicated.

Teamstudio provides software and services for efficient Notes development and simple, secure administrator control. Our new website also provides users with a library of resources to help, including:

  • Ready-to-implement policies for good practice development and deployment in Lotus Notes
  • On-demand webinars on topics ranging from tips for better coding, to securing your applications, managing agents, and streamlining your application deployment process
  • Free utilities for download to help you more more efficiently tackle several specific tasks in Notes development
Visit our library of white papers to help you take on difficult issues in your Notes environment.

Drop by our new website and take a look!
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2009, ZATZ Publishing. All rights reserved worldwide.
Editor's Login