Skip to main content

IBM U2: The big picture

An inside look at U2

Janet Oswald (oswaldj@us.ibm.com), IBM U2 Marketing Manager, SDI Corp.
Janet photo
Janet Oswald is the Manager of IBM U2 Marketing Strategy with overall responsibility for the marketing of the U2 databases and tools products. With over 20 years of marketing management and business development experience, Janet has worked for Altos Computer Systems, Ingres, Sybase, Unidata, Ardent Software, Informix and IBM. She has a Bachelor of Science degree from California State University, Hayward.
Jackie Burhans (jburhans@ibm.com), IBM U2 Portfolio Manager, SDI Corp.
Jackie photo
U2 Portfolio manager, responsible for a team of product managers who manage the following U2 products: UniData and UniVerse (aka U2), RedBack, SystemBuilder (aka SB or SB+ and SBClient), wIntegrate. Bachelor of Science, Decision Systems, School of Business Administration, UniVersity of Southern California (USC) 1991 (Degree Specialty: Information Systems)

Summary:  Gain a basic understanding of the IBM U2 product line, and gather information about the extended relational data model, architecture, benefits, and associated tools products.

Date:  18 Aug 2005
Level:  Intermediate
Activity:  2207 views

Introduction

IBM® UniData® and UniVerse® (U2) databases provide cost-effective and robust databases for embedding in vertical applications that need to support extended data structures. The U2 extended relational or MultiValue (MV) model uses three-dimensional tables that consolidate data within a single record. The record is represented as a dynamic array. An integrated development language provides world-class string handling constructs to quickly traverse the record structure. All, or a subset of the data, can be pulled with a simple query and a single I/O, eliminating excessive disk reads. This provides a much simpler, intuitive and highly efficient data storage with fewer tables to administer.


IBM U2 Extended RDBMS architecture

The IBM U2 databases support both a pure relational, and a nested relational model or non-first normal form (NF2) model simultaneously. They can therefore support the simple to complex data structures demanded by todays business applications. For example, the IBM U2 nested relational databases are ideally suited to represent the complex data structures of banking transactions, work orders, and point of sale systems.

The IBM U2 databases are fully variable length, which provides smaller columns, rows and tables. This results in faster data access and considerably less administration. In addition, IBM U2 tables have the unique ability to grow and shrink as needed without the need for a DBA to take the tables off line for maintenance. The IBM U2 extended RDBMS, stores data as strings, which provides the developer with an extremely powerful and flexible tool called the "dynamic array". It is the strength of this dynamic array concept that makes the building of complex and high performance business applications found in institutions today such as libraries, hospitals, manufacturing, distribution, etc., possible.

As an example, lets look at electronically storing the information found on a simple Rolodex card index.

Figure 1. Extended Relational view of the simple Rolodex™ card information:
IDCompanyContactPhone
1111AmocoJim Smith713-555-1212
713-479-4444
Bob Brown713-267-1471
1112GTEJoe Smith214-453-1444
1113HMOPeggy Smith303-766-9999
1114KraftBill Jones708-499-7666

Extended relational table definition for customers (1 table)
Key:            Customer_ID
Col1:           Company
Col2:           Contact (multiple values)
Col3:           Phone (multiple values, associated with Contact)


Physical table storage
1111
Amoco
Jim Smith}Bob Brown
713-555-1212|713-479-4444}713-267-1471


SQL statement to extract contacts for Amoco
SELECT NAME, PHONE FROM CONTACTS WHERE COMPANY = "Amoco"


Results:
NAME       	PHONE
Jim Smith  	713-555-1212
          	713-479-4444
Bob Brown  	713-267-1471


Traditional relational product architecture

Traditional relational databases, for the most part, store data as simple rows and columns, much like a spreadsheet. To compare a traditional RDBMS with the IBM U2 extended RDBMS, consider the Rolodex™ example from the previous section. A fully normalized view of the same information would look as follows:


Traditional RDBMS View of the simple Rolodex™ card information:
Figure 2. company_contact
1111c11
1111c12
1112c13
1113c14
1114c15
Figure 3. contact_phone
c11p1
c12p2
c13p3
c14p4
c15p5
Figure 4. phone_number
p1713-555-1212
p2713-479-4444
p3713-267-1471
p4214-453-1444
p5303-766-9999
p6708-499-7666
Figure 5. company
1111Amoco
1112GTE
1113HMO
1114Kraft
Figure 6. contact
c11Jim Smith
c12Bob Bro
c13Joe Smith
c14Peggy Smith
c15Bill Jones

Traditional RDBMS table definitions (5 tables)
company_contact (Company_ID,Contact_ID)
contact_phone (Contact_ID, PhoneID)
phone_number (Phone_ID, Phone_Number)
company (Company_ID, Company_Name)
contact (Contact_ID, Contact_Name)


SQL statement to extract contacts for Amoco
SELECT C.CONTACT_NAME, E.PHONE_NUMBER 
   FROM COMPANY A, COMPANY_CONTACT B, CONTACT C, CONTACT_PHONE D,
   PHONE_NUMBER E
   WHERE A.COMPANY_NAME =  "Amoco" 
   AND A.COMPANY_ID = B.COMPANY_ID AND B.CONTACT_ID = D.CONTACT_ID 
   AND D.PHONE_ID = E.PHONE_ID


Results:
CONTACT_NAME   PHONE_NUMBER
Jim Smith      713-555-1212
Jim Smith      713-479-4444
Bob Brown      713-267-1471


Product performance

The extended relational database allows data to be stored in a "business" view with very few tables required, resulting in more data accessed with logical read operation. RDBMS developers must "normalize" the data, which typically results in a greater number of tables required to represent the same "business" view. More tables require more reads, which results in slower application performance. The slowest operation of a computer system is the movement of the disk I/O head(s) to read and write data. To mitigate this, 1NF developers often design a fully normalized database but then de-normalize for performance. The latest versions of 1NF databases often support a single "nested table" implemented as a view. U2 databases allow an unlimited number of multi-value fields or "nested tables".


Extended RDBMS characteristics

In our experience, applications developed using the extended relational database are far less difficult to build, and are easier to understand conceptually than those built using a traditional RDBMS (cf. Rolodex™ card example). Typically, developers using the IBM U2 extended RDBMS as the foundation of their application can easily transfer the business model (banking transaction, point of sale, etc) directly into extended relational table(s). This allows for rapid application development, maintenance and customization. Traditional RDBMS developers must first transform the business model into a normalized set of tables. Using the IBM U2 extended relational database, the developer is not required to have knowledge of SQL, and the more complex C programming language. However, both styles of development are supported, if required.

For server-based application logic, the IBM U2 extended relational database uses BASIC for its stored procedure language. Thus, adopting the use of the IBM U2 extended relational database technology is straightforward and does not require an Engineer level programmer to either understand the database, or develop the applications. On the client-side, the IBM U2 extended relational database supports industry standard tools such as Microsoft® Visual Studio, Studio and WebSphere® Application Developer, via JDBC, ODBC, OLE DB provider, and native C, Java™ and .NET APIs. Most client tools today support one or more of these technologies.

The extended relational database uses the predominant standards associated with UNIX®, Linux™ and Windows™-based systems for its networking layer. The IBM U2 extended RDBMS provides homogeneous distributed database capabilities. Additionally, using its database gateway interface (BCI), it can update heterogeneous databases such as Microsoft SQL Server, Oracle, Sybase, etc. using standard ODBC interfaces. The latest release of UniData provides a tightly coupled I/O level interface to IBM DB2® UDB via its External Database Access (EDA) technology.

IBM U2 supports row level locking facilities, either through implicit SQL usage, or through explicit control from within its stored procedure language. Page level locks, common to other RDBMS products, do not hamper the IBM U2 extended RDBMS. It provides many levels of lock granularity. Within this same environment, the IBM U2 extended RDBMS implements all ANSI 1992 Isolation levels, for ACID-compliant transaction processing. Due to its lock granularity, the IBM U2 extended relational database can support very large database installations, with high accessibility, data integrity, and large numbers of concurrent users.

The extended RDBMS files (tables) have an automatic table space allocation capability, which dynamically adjusts for optimal size, and hence performance, without fragmentation. Each file can grow to a size dictated by the available operating file system. Coupled with its inherently self tuning architecture, and low memory requirement, extended relational databases do not require intensive monitoring, continual tuning and time consuming maintenance tasks.

The extended RDBMS provides all the industry standard capabilities for database integrity, including transaction logging, warm-start recovery and check pointing. These features prevent database corruption from occurring in the event of a hardware failure. In addition, the IBM U2 extended RDBMS works with all levels of RAID disk arrays to provide additional database robustness.


Associated U2 tools products

RedBack

RedBack is IBM's scalable object-based infrastructure for the U2 databases that includes an object-abstraction tool, allowing for development within a variety of technologies such as Java and ASP/JSP.

SystemBuilder

SystemBuilder is a Rapid Application Development (RAD) tool for the IBM U2 databases, providing a structured process-based environment in which to create and maintain enterprise applications.

wIntegrate

wIntegrate is an advanced terminal emulation and host-based application enhancement tool for MultiValue databases, including IBM's UniData and UniVerse databases.


Business benefits of U2

  • Quick return on investment; exceptional price and performance ratio
  • Lower total cost of ownership, with less administration and disk storage requirements
  • High performance and efficient use of resources
  • Highly scalable from single-user development to enterprise-class platforms
  • Best-of-breed native tools for application renovation and development, interactive reporting, business intelligence, e-commerce, and mobile device access
  • Rapid and flexible application design and modification

Technical benefits of U2

  • Supports extended relational model allowing developers to quickly model and easily modify their database design to fit their business needs via multi-valued and multi-subvalued fields and associations
  • Can use dynamic files to ensure maximum performance
  • Support for standards-based open interfaces such as JDBC, .NET, C, HTTP, Java, Sockets, ODBC and OLEDB
  • Enables secure end-to-end authentication and encrypted communications using open standards
  • Supports both record set and direct I/O access for high performance

Summary

The IBM U2 extended relational databases provide all of the characteristics needed for advanced application development and data management. Geared specifically toward the embedded database market, the extended relational architecture provides a business-oriented data model that is ideal for support of vertical industry solutions that require flexibility and scalability. The extended RDBMS is the right technology for the right solution in the right environment.

By reducing the complexity, providing industry standard capabilities and self-maintaining features, the extended RDBMS is the ideal embedded database solution with unprecedented low total cost of ownership.


Resources

About the authors

Janet photo

Janet Oswald is the Manager of IBM U2 Marketing Strategy with overall responsibility for the marketing of the U2 databases and tools products. With over 20 years of marketing management and business development experience, Janet has worked for Altos Computer Systems, Ingres, Sybase, Unidata, Ardent Software, Informix and IBM. She has a Bachelor of Science degree from California State University, Hayward.

Jackie photo

U2 Portfolio manager, responsible for a team of product managers who manage the following U2 products: UniData and UniVerse (aka U2), RedBack, SystemBuilder (aka SB or SB+ and SBClient), wIntegrate. Bachelor of Science, Decision Systems, School of Business Administration, UniVersity of Southern California (USC) 1991 (Degree Specialty: Information Systems)

Comments (Undergoing maintenance)



Trademarks  |  My developerWorks terms and conditions

Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Information Management
ArticleID=92153
ArticleTitle=IBM U2: The big picture
publish-date=08182005
author1-email=oswaldj@us.ibm.com
author1-email-cc=
author2-email=jburhans@ibm.com
author2-email-cc=

My developerWorks community

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Special offers