 | Level: Introductory Paul Zikopoulos (paulz_ibm@msn.com), Senior Database Specialist, IBM
30 Nov 2006 Updated 15 May 2008 Learn the details on what makes each edition of IBM® DB2® 9.5 for Linux®, UNIX®, and Windows® unique. The author lays out the specifications for each edition, outlines licensing considerations, historical changes from DB2 9, and describes some interesting things customers are doing with each edition of DB2. This popular article has been rewritten for the DB2 9.5 release and is current as of the date of publication.
Introduction
Information management software is at the core of enterprise computing. Companies need access to a wide range of information such as XML, message queues, documents, streaming video, and other rich media types. The On Demand evolution makes continuous availability a necessity and is driving the convergence of transaction, business intelligence, business performance management, and content management applications as companies integrate their business operations and processes thereby transforming their operations to the On Demand paradigm.
The IBM Information Management software portfolio provides the foundation you need for providing information on demand via a rich set of services. These services can be used to support and query structured, semi-structured, and unstructured data, integrate data, provide entity resolution, master data management, federation, and content management, as well as a host of rich run-time analytic capabilities. When you take into acount the complete set of these services, collectively they are referred to as Information as a Service.
At the heart of the Information Management portfolio are the DB2 9.5 data servers which are the focus of this article. Note that this article describes only the DB2 data servers that run on distributed and pervasive platforms. For information about the entire DB2 portfolio, see the Information Management
Software Web site or each product's respective Web site: DB2 for z/OS
® or DB2 for i
™
(formerly known as i5/OS).
There is also a different set of DB2 data server editions that make up that InfoSphere Warehouse product set (formerly known as Warehouse Edition -- these editions are all based on DB2 Enterprise which is covered in this article). These editions are not covered in this article because they have services which extend beyond the base data servers.
It is easy to arrive at the decision to use DB2; however, there are different editions of DB2 (and respective licensing options) that are well suited for different parts of the marketplace. From Palmtop to Teraflop, there's a DB2 that's right for you.
For each version of DB2, I write an article like this which is designed to help you decide which distributed DB2 edition you want to use to power up your business. As changes impact the server release over time, this article morphs into a reference that details licensing and product changes on a marginal basis. For this reason, it's important that you take note of the publication date when reading this article.
When talking with customers, I often get asked a lot of high availability licensing questions, or feature comparisons between the different editions of DB2. For details on these topics and more, other articles I've written may be helpful:
DB2 is DB2 is DB2
The first thing that you should understand when choosing an edition of DB2 to service your workload is that, with the exception of DB2 Everyplace® and Apache Derby (whose SQL API is fully compatible with DB2), each DB2 edition has the same code base across all the distributed platforms. DB2's support for Linux extends across all of IBM's servers: POWER (formerly known as System i and System p), System z®, and System x®: the DB2 on all of these platforms is the distributed version too. For example, DB2 for Linux on System z is the same code base and licensed the same way as DB2 on an Intel or AMD-based workstation. This means that DB2 Connect is not required to access this data even though the DB2 for System z Linux server resides on a System z server. (Read that sentence twice - if you were connecting to a DB2 for z/OS data server on the System z server, you would require DB2 Connect; the difference here is that DB2 for Linux on a System z Integrated Facility for Linux (IFL) is a distributed version of DB2.)
A common code base offers portability and assurances that if you ever need to scale your DB2 solution, you can do so seamlessly without regard to costs, platform, or migration efforts; and since the SQL API within the DB2 family is about 95% common, movement between the DB2 family members is easy too.
There is compatibility beyond the SQL API too. For example, there's a common Web Services framework that allows you to point-and-click your business logic into a Service Oriented Architecture (SOA) framework. In fact, this framework, called IBM Data Web Services, works for all IBM Data Servers, including Informix!
Not to sound like an infomercial, but there's more cross-IBM Data Server stuff
that's packed into every edition of DB2. For example, all IBM data servers share a common API to instrument the SQL. For example, the JDBC driver for DB2 for z/OS is the same code as DB2 for Windows. When you consider that billions of dollars per minute every day depend on this driver, you know you've got a rich and robust driver for your applications. There's also a common client; if you are connecting to DB2 for z/OS, DB2 for AIX, or Informix, you install just one client as of DB2 9.5. In addition, tooling for application development and management (like Visual Studio integration, IBM Data Studio, or the Data Studio Administration Console are cross-IBM data server family as well. pureQuery is enabled for all platforms. Quite simply, more than ever, across the IBM DB2 family (and in many cases Informix too) you've got skill reuse when it comes to application development, deployment, management, and more.
Figure 1 shows an architectural view of DB2 9.5 across its supported distributed platforms.
If you ever decide to change your strategic direction with respect to a hardware architecture (for example, from an Intel-based architecture to a POWER6 one), operating system (like moving from Windows® to Linux™), or programming architecture (like .NET to Java or vice-versa), you can count on the fact that DB2 will be there. Quite simply, it's all about choice, and DB2 is literally the only data server in the world that really gives you the breadth and depth of an information platform tailored to your environment.
Figure 1. DB2 9.5 has a common code base across Windows®, Linux (on System i, System p, System z, and System x), and UNIX® platforms.
The different editions of DB2 are shown in Figure 2. With the exception of DB2 Everyplace and Apache Derby, you can (for the most part) assume that each function, feature, and benefit of an edition shown at the bottom of Figure 2 is included in each subsequent edition as you move up the 'edition chain' -- kind of like a Russian Doll. I say 'for the most part' because DB2 Express-C and DB2 Express-C FTL contain features like pureXML and HADR that aren't included in some editions of DB2 (unless you additionally purchase them).
Figure 2. The distributed DB2 9 product line
The DB2 Everyplace Editions... A lot of power from such a little thing
The true power of mobile computing lies not in the device itself, but rather in its ability to tap into data from other sources. DB2 Everyplace (DB2e) brings the power of DB2 to mobile devices, leveraging their ability to synchronize data with other systems -- literally putting your enterprise data in the pockets of your mobile workforce and giving them the ability to update data from mobile locations
(even in an occasionally connected environment).
DB2e is more than just a mobile computing infrastructure. It's a complete development environment that includes the tools you need to build, deploy, and support powerful e-business applications. DB2e features a tiny "fingerprint" engine (about 350 KB) which is packed full of security features like table-level and wire-level encryption (including SSL) and advanced indexing techniques that lead to high performance. It can comfortably run on a wide variety of handheld devices, with support for Palm OS, Windows Mobile for Pocket PC, traditional Windows desktop platforms, Symbian, QNX Neutrino, various Linux distributions (including embedded ones like BlueCat), and more.
The SQL API used to develop DB2e applications is a subset of that used for building DB2 applications. This means that enterprise applications, for the most part, can be easily extended to include mobile devices. DB2e is also a very simple to use database -- users don't need any database management skills as it is 100% self managing. DB2e is extremely flexible for developers, with support for a myriad of programmable API interfaces like ODBC, JDBC, .NET, DB2 CLI, and more.
Another nice thing about developing DB2e applications is that the database engine is platform independent. This gives you the flexibility to seamlessly move a DB2e database populated on a Pocket PC device to a Symbian smartphone, or whatever other supported device you have. This feature, coupled with the rich support for application development, enables developers to quickly create, deploy, and support applications on all platforms.
DB2e can be licensed as a fully synchronized environment or as a stand-alone embedded database. DB2e comes in two editions: DB2 Everyplace Database Edition (DB2e Database) and DB2 Everyplace Enterprise Edition (DB2e Enterprise).
DB2e Database has no synchronization middleware to extend or synchronize data to backend enterprise data servers (although it does come with command line-based import and export utilities). DB2e Database is primarily used for applications that require an embedded database or a local relational storage facility that is exposed to end-users through some sort of application (they never really see the database) yet have stringent footprint requirements because of the device.
A DB2e Enterprise license provides clients with an unlimited number of DB2e database engines to deploy on their company's mobile devices and enables those devices for data synchronization via the accompanying DB2 Everyplace Synchronization Server (DB2e Sync Server). The DB2e Sync Server handles data, profile, and management synchronization between DB2e data servers and back-end JDBC-enabled compliant data servers (that is, all editions of DB2, Oracle, Informix, SQL Server, and so on). In addition to this, there is a special DB2 family synchronization adapter that uses SQL replication technology which is free in the distributed version of DB2. The number of concurrent synchronizations the DB2e Sync Server can support is dependent on the hardware configuration of that server, the associated workload, and data change rates. If you need to scale to handle very large concurrent synchronizations, you can install any Java application server (like IBM WebSphere Application Server). In addition to this, further scalability and high availability is supported through DB2e Sync Server farm configurations that allow you to cluster a number of DB2e Sync Servers to provide load balancing and high availability services.
 |
Apache Derby
At Linux World 2004, IBM donated the IBM Cloudscape code to the Apache Software Foundation as the Apache Derby database. This open source database packs a lot of power into a 2 MB .JAR file that you can slip into your applications at no cost; in addition, it can freely be repurposed for profit use. The Apache Derby SQL API is fully compatible with the DB2 for Linux, UNIX, and Windows data servers, making it a seamless transition if or when you need to rely on a functionally richer database management system.
|
|
Licensing and pricing
DB2e Database is licensed on a per authorized user basis. If you have 10 devices which are equally shared across three 8 hour shifts by 30 workers, you would need 30 DB2e Database licenses.
The licensing rules associated with DB2e Enterprise use the Processor Value Metric (PVU) methodology which essentially prices a product based on the PVU rating of the underlying server where the DB2e Sync Server component is installed. This license gives you the right to deploy and synchronize as many DB2e clients as you want; however, all of those devices must connect to the licensed DB2e Sync Server to perform this operation.
Consider it...
If you need a relational engine (and perhaps synchronization services) on a mobile device with limited resources (for example, a mobile phone), you likely need to use DB2e. However, this product could also be considered for occasionally connected mobile users on laptops if their applications don't need advanced features found in a richer DB2 data server (like triggers or stored procedures) which are not part of DB2e today. These deployments likely require a "black box" data server on their machines or mobile devices (you don't want merchandisers having to collect statistics or build indexes).
If you need to leverage a richer featured database that supports triggers, stored procedures, and so on, and still have stringent space requirements but your devices are capable of running Java, you may also want to consider Apache Derby which has a footprint of about 2 MB. Another alternative could be DB2 Express-C FTL (covered later in this article).
Tell me about something cool running on DB2 Everyplace
Next time you walk into your local hardware store to buy some Behr paint (one of the top paint manufacturers with a heritage that dates back to 1947), check out the Behr Interactive paint selection tool. You can use it to find coordinating colors for your project, visualize those colors on interiors or exterior designs, and even retrieve project details at a later date. It's fun and simple, you just touch the screen and design your dream room and it's DB2e that'll worry about persisting and managing your dream... DB2e making you feel like a Trading Spaces designer? Now that's cool!
DB2 Personal Edition... All the power of DB2 with a personal touch
DB2 Personal Edition (DB2 Personal) is a single user data server that runs on desktop-based commodity hardware. DB2 Personal is available on Windows- and Linux-based Intel and AMD workstations. DB2 Personal has most of the features that you'll find in DB2 Express Edition, but it can't be used as a central data server because remote clients cannot connect to this edition of DB2. However, the DB2 administration tools can connect to this edition of DB2 to perform remote administration. This edition of DB2 also includes support for 64-bit instances and has no memory limits.
DB2 Personal comes with installation rights to the DB2 Net Search Extender and the Spatial Extender (both are free with all DB2 9 and later editions), as well as SQL-based replication. The replication features can be used in conjunction with a DB2 data server for an occasionally connected workforce or to create your own "pub/sub" architecture. DB2 Personal also includes the pureXML feature (more on that in a bit) free of charge.
Licensing and pricing
DB2 Personal is licensed on a per installation basis, very much like most PC workstation software. If multiple users took turns using the same endpoint (obviously they can't be working at the same time since there is only one machine) where DB2 Personal was installed, you would still only require one license because it is licensed by installation and not by authorized user. Each installation of DB2 Personal does not have to take into account considerations for RAM, Processor Valu Units, and so on. For example, if you have 10 workstations that are equally shared across three eight-hour shifts by 30 workers, you would need 10 DB2 Personal licenses.
Consider it...
DB2 Personal is an excellent choice for applications that require a personal
single-user-at-a-time data store for a large number of PC workstations which would each have a copy of DB2 Personal installed on it. Consider DB2 Personal over DB2 Everyplace and Apache Derby when 100% compatibility with the distributed DB2 data servers is required and/or support for specific advanced features (such as pureXML) are required. You can also consider DB2 Personal for occasionally connected users that may want to leverage DB2 Personal's built-in SQL replication feature to set up a synchronized data and management environment where mobile workers or remote servers can keep in touch with their enterprise. Of course, this would only be suitable for laptop users and certain workstations, such as those running point-of-sale (POS) applications or sales force automation (SFA) applications among others. Finally, DB2 Personal is often used by developers too - though I personally think that the DB2 Express-C packages are better suited (and more capable) for developers.
Tell me about something cool running on DB2 Personal
The National Geographic Society (publishers of the famous National Geographic magazine) are using DB2 Personal to power up
The Genographic Project
- a five-year research effort that uses a sophisticated DB2 database to find patterns in DNA samples collected from hundreds of thousands of volunteers. The goal of this project is to pretty much find answers to age old questions like
"Where did we come from?" and "How did we get here?" Teams of field researchers led by 11 principal investigators are outfitted with ruggedized IBM ThinkPad laptops that use biometric fingerprint scanners to validate each researcher's identity. These ThinkPads are equipped with a customized data collection application which runs on DB2 Personal. This information is collected and stored on these devices and is subsequently fed back from DB2 Personal to a DB2 data server for DNA analysis. Tracking the history for mankind with DB2? Now that's cool!
DB2 Express-C... It's free to build, develop, and distribute
On January 30th, 2006, IBM announced a special free version of the DB2 data server called
DB2 Express-C. You'll note that I refer to this as a version, as it's not an 'official' edition of DB2. DB2 Express-C was designed for the partner and development communities, but as you get to know this version, you'll start to realize it has applicability almost anywhere. This in contrast to some competitor free Express offerings that impose strict limits not just on database size (for which DB2 Express-C has no limit), but also for things like autonomics, automated maintenance, the memory bit model, and more. As you investigate this version of DB2, you will become pleasantly surprised. DB2 Express-C is perfect for developers and small and medium deployments, academic communities, and more.
 |
DB2 in the classroom
DB2 is also available under the
IBM Academic Initiative program. This program is designed to provide faculty and researchers at institutions of higher learning, worldwide, with a wealth of academic and research offerings, resources, and benefits from IBM. Under this program, DB2 can be used to teach database skills at no charge. Many educational institutions are teaching valuable DB2 skills today; for example, Pennsylvania (Penn) State University and Queen's University (Kingston, Ontario) have curricula that are centered on DB2 technologies.
|
|
The major features that are
not
included in DB2 Express-C include when compared to DB2 Express are:
- The code is unwarranted. For example, there is no support for the product or available downloads like the DB2 Spatial Extender. Notice I said support, you can still download the free DB2 Extenders (DB2 Spatial Extender and
DB2 Net Search Extender) and use them; but
you're on your own with anything you do with this DB2 version.
- The ability to purchase add-on Feature Packs which can be used to provide a varying array of extended services. For example, you can't buy the Storage Optimization Feature Pack which provides deep row and backup image compression services; however, DB2 Express-C comes with the pureXML feature (which is a Feature Pack for DB2 editions - more on that in a bit) so you can leverage all the power of the ground-breaking XML technology found in DB2 free of charge.
- You can't cluster two DB2 Express-C data servers together for high availability using clustering software like HACMP, SteelEye, or the built-in clustering services in DB2 9.5, and so on. If you need to set up DB2 Express-C in a highly available environment, you must minimally license DB2 Express-C Fixed Term License (FTL) which is a subscription option added to this version of DB2 (see the next section).
- There are no replication services. This may be a source of confusion for many because previous versions of DB2 Express-C collateral indicated that APPLY component of the SQL replication built into DB2 was available with this package. You are not licensed to use any replication services with DB2 Express-C.
- You can't purchase the award winning 24x7 IBM Passport Advantage support model
available with purchasable editions of the DB2 data server. This is perhaps one of the biggest restrictions with DB2 Express-C (the inability to cluster these data servers for high availability is the other). The DB2 Express-C support model lies within the strength of its community. This community is made up of some of the world's most experienced DBAs from the world's largest companies (and small ones too) and a legion of DB2 developers and engineers monitoring a forum of questions that you can tap into for DB2 Express-C help, advice, and support (it kind of resembles the open-source community methodology). To help nurture and grow this community, strong practitioner resources are available on Web sites like developerWorks Information Management.
- DB2 Express-C is only availale at the current version offering level. In other words, when a new version of DB2 Express-C is released, older versions are no longer available. This caveat requires special attention if you are using ISV software that is certified for a specific release level.
If you want to leverage any of the features listed above, you need to minimally purchase DB2 Express-C FTL (or any other for-fee edition of DB2).
The nice thing about DB2 Express-C is that you'll find a lot of things missing - from a limits perspective: no database size limits, no automated management or tooling limits, no memory model limits (you can use a 64-bit memory model), and more -- you're just using DB2. This just isn't the case when you look beneath the marketing of some competitor Express offerings; however, that's outside the scope of this article.
As of 2Q08, DB2 Express-C is available for servers running Linux, Windows, or Solaris (x64) operating systems. A complete list of supported platforms is available at the IBM DB2 Express-C download site.
Developers love DB2 Express-C because it allows them to develop and deploy applications free of charge. ISVs love DB2 Express-C because it allows them to develop, deploy, and distribute DB2 free as part of their packaged application. And remember, since DB2 Express-C is DB2, it means that you can deploy these applications on any edition of DB2 and even move them to DB2 for z/OS with no changes (assuming you write your applications to the 95+% common SQL API set for the DB2 family).
In the academia world, educators have an opportunity to extend the value of the IBM Academic Initiative program mentioned earlier in this article which offers them access to DB2 technology for free by having their students use DB2 Express-C without being tied to specific course curricula. These DB2 practitioners are then able to apply their trade with a no limits, free to build, deploy, and distribute data server.
DB2 Express-C is so compelling it was recognized with VARBusiness' 2006 Best of the Midmarket award on August 17th, 2006. Want to test drive DB2 Express-C for yourself? Download a copy today.
Licensing and pricing
DB2 Express-C is free to build, deploy, and distribute. Subsequently there are no license fees associated with this version of DB2. The code is however optimized such that it throttles the DB2 engine to a maximum of 2 GB of memory and 2 cores of processing power for the database on any sized server. You can use DB2 Express-C in a virtualized environment.
Changes in DB2 9.5
Previous versions of DB2 Express-C were limited to a maximum of 4 GB of memory and 4 sockets of processing power. Users were responsible to enforce these limits via DB2 configuration settings as well as personal observation. In DB2 9.5, these resource are now throttled to the new limits outlined in the previous section.
In 2Q08, Solaris x64 was added as a supported operating system for DB2 Express-C.
Consider it...
DB2 Express-C can be used for a wide array of different applications and projects - especially since it has so many features that are available in the chargeable DB2 editions and not available in other competitive Express offerings.
Tell me about something cool running on DB2 Express-C
Concursive (formally known as Centric CRM) is an open source Customer Relationship Management (CRM) application provider whose application suite includes the most ubiquitous CRM modules with additional capabilities such as Web-site Authoring, Enterprise Content Management, Collaborative Project Management, Document Management, Customer Surveys, and sophisticated Help Desk functions. Concursive is used by thousands of smaller companies and some Fortune 500 ones too. Concursive chose DB2 Express-C because they wanted to be equally attractive to a one-person shop as they would be to a Global 1,000 company. Since DB2 Express-C is an identical code base to the rest of the DB2 family, they knew they could scale their offering for large enterprises too. In fact, Concursive is actively pursuing multi-thousand seat installations using DB2 Express-C. US Food Service (an $18 billion Fortune 200 company) has a large Concursive CRM deployment running on an IBM stack which includes DB2 Express-C. Concursive was able to port their application suite, consisting of over 2-million lines of code, to DB2 9 Express-C in under a week. Now that's cool!
 |
DB2 Express-C Fixed Term License (Subscription)... It's not only free to build, develop, and distribute, you can set it up for HA and it has support!
On April 30th, 2007, IBM announced announced an add-on subscription offering for DB2 Express-C called DB2 Express-C Fixed Term License (FTL). Essentially, there are three things that buying DB2 Express-C FTL gives you that quite simply aren't available in DB2 Express-C:
- IBM's 24x7 support is included for each DB2 Express-C FTL data server. This gives you service-level assurances for problem resolution, as well as a maintenance schedule that matches that of the DB2 data server. However, even though these servers come with support, you'll still want to ensure you visit the DB2 Express-C forum and the
DB2 Express-C Web page on Developer's Domain because you'll learn a lot about DB2.
- Unlike its DB2 Express-C counterpart, a DB2 Express-C FTL license adds full SQL replication (both CAPTURE and APPLY components) capability for your data server making it well suited for occasionally connected clients or a pub/sub data distribution model.
- DB2 Express-C FTL allows you to cluster one or more DB2 Express-C FTL data servers in a highly available environment. When you cluster a
DB2 Express-C FTL data server in a highly available environment you must DB2 Express-C FTL subscription for
each data server, no matter how the standby DB2 Express-C FTL data server is
being used; for example, a cold, warm, or hot standby. To learn more, read Licensing distributed DB2 Version 9.5 servers in a high availability configuration.
- What makes the ability to cluster DB2 Express-C FTL data server for high availability even more compelling is the fact that DB2 Express-C FTL includes the High Availability Disaster Recovery (HADR) feature for free.
- DB2 Express-C FTL is tied to regular Fix Pack stream that is linked to the regaular DB2 data server schedule. For example, when a Fix Pack is available for DB2, it is available for DB2 Express-C FTL. In addition, multiple versions of DB2 Express-C FTL are available unlike DB2 Express-C which doesn't offer any back-level availability of the code base.
Figure 3 summarizes the differences between DB2 Express-C and DB2 Express-C FTL:
Figure 3. The difference between DB2 Express-C and DB2 Express-C FTL
Of course since DB2 Express-C FTL is the same code as DB2 Express-C (just with the added aforementioned capabilities), which is the same code as DB2, you still get all the resiliency and robustness of DB2. You still can't purchase Feature Packs for DB2 Express-C FTL, just like with DB2 Express-C; for example, you can't buy the Storage Optimization Feature Pack which provides deep row and backup image compression services. Since DB2 Express-C FTL comes with support, you still get the free Extenders, and with this package they are supported and you're not on your own - you've got IBM's support team behind you.
As of 2Q08, DB2 Express-C FTL is available for servers running Linux, Windows, or the Solaris (x64) operating systems. A complete list of supported platforms is available at the IBM DB2 Express-C download site.
Licensing and pricing
The FTL part of DB2 Express-C FTL is really a subscription license. When you license a DB2 Express-C FTL server, this is what you are paying for: the FTL part. This subscription allots you a single year of support and also entitles you to the added aforementioned capabilities. So to license this product you don't count processors, processing cores, VUs, or anything like that. Just buy a support contract for each server; how simple is that?
For example, if you had two DB2 Express-C FTL data servers, then you have to buy two subscription (FTL) contracts; simple. If you cluster two DB2 Express-C FTL data servers together using HADR, then you still buy two subscriptions contract as there is no special high availability licensing considerations with DB2 Express-C FTL; simple. If you install DB2 Express-C FTL in two VMWare sessions on a single machine, you have to buy two DB2 Express-C FTL licenses; simple. Get the point that licensing DB2 Express-C FTL is simple?
A DB2 Express-C FTL subscription alos gives you extended resource rights on the server where the software is installed. A DB2 Express-C FTL server will thorttle itself such that it doesn't consume more than four processing cores or more than 4 GB of memory on any sized server.
Changes in DB2 9.5
Previous versions of DB2 Express-C FTL were limited to a maximum of 4 GB of memory and 4 sockets of processing power. Users were responsible to enforce these limits via DB2 configuration settings as well as personal observation. In DB2 9.5, these resource are now throttled to the new limits outlined in the previous section.
In 2Q08, Solaris x64 was added as a supported operating system for DB2 Express-C.
Consider it...
DB2 Express-C FTL can be used for a wide array of different applications and projects - especially since it has so many features that are available in the chargeable DB2 editions and not available in other competitive Express offerings. If you think of the applicability of DB2 Express-C and then extend it for scenarios where you'd like high availability, replication, and 24x7 support, pureXML, and more, you can start to see how powerful this offering is.
Tell me about something cool running on DB2 Express-C FTL
Ubuntu and partner is one of the world's most popular desktop and laptop Linux distributions. Canonical, a business partner commited to the development and distribution of open source software with support and tools services, offers support for DB2 Express-C FTL and Ubuntu is a low priced offering. Open source, DB2 Express-C FTL, and a discount on that sunscription contract? Now that's cool!
DB2 Express Edition... It's simple, secure, and inexpensive
DB2 Express Edition (DB2 Express) is the entry level, fully supported DB2 data server that is a specially tailored low cost, full feature, industrial strength, and open industry standards-based relational database. The target users of this edition of DB2 are typically SMBs (small and medium businesses) and ISVs. DB2 Express provides a very attractive entry and competitive price point for businesses that choose to leverage the benefits of servers running on Linux, Solaris x64, and Windows based servers (the previous links take you to the most up to date platform support information).
DB2 Express also provides a wide selection of business partner applications, services, and support. There is an accompanying set of pricing programs that partners can leverage to generate significant revenue flows into their businesses. Of course, businesses can choose to deploy DB2 Express for their own environments as well - and often do.
Because it is a full-fledged DB2 data server at its core (you won't find all sorts of technical restrictions here as you will with other competitor offerings), DBAs can leverage its built-in autonomic manageability features such as the Self Tuning Memory Manager (STMM), the Configuration Advisor, IBM Data Studio, the Data Server Administration Console (DSAC), the Design Advisor, autonomic maintenance plans, automated backup tuning and throttling, and more. Collectively, these services help to increase the performance and reliability of your DB2 solution, while at the same time minimizing administration complexity, required skills, and overall total cost of ownership.
DB2 Express supports high availability (HA) architectures like HA clustering technologies and log shipping. The built-in Tivoli System Automation (TSA) availability technology in DB2 9.5 and HADR aren't included as part of the base DB2 Express edition, but can be added for an additional charge via a Feature Pack (more on that in a bit). Taking into account that other popular SMB-targeted databases only have advanced online and management features in their higher level editions, and combining that with the DB2 Express price point and autonomic capabilities, you may never even know DB2 Express is there -- and that includes your pocketbook.
This edition of DB2 is fully compatible with the rest of the scalable DB2 family of relational databases for Linux, Windows, and UNIX platforms, and you can easily pre-configure DB2 Express to transparently install within your applications for easy deployment. Clients love DB2 Express because all they see is a solution; Business partners will love it because they can trust it to run virtually unattended.
DB2 Express comes with the DB2 Net Search Extender (free with all DB2 editions in DB2 9), the Spatial Extender (also free with all DB2 editions), as well as SQL-based
replication.
One especially nice feature about DB2 Express is that it is 'Enterprise Extensible'. There are a number of Feature Packs that you can add on to a DB2 Express data server that enrich it with enterprise services. At the same time, you can still leverage the low price point that this edition of DB2 was designed for. These add-on Feature Packs were designed such that mid-market solutions weren't forced into the Enterprise category that we found with some competitive offerings in the marketplace.
Feature Packs for the DB2 Express data servers
DB2 Express can be extended with a number of enterprise services via the purchase of an assortment of Feature Packs. Feature Packs were first introduced in the DB2 9 release and have been subsequently updated in DB2 9.5. Feature Packs were introduced to allow an a la carte style approach to data services for applications that don't require large scale servers, yet want to leverage services that are typically found in full blown enterprise solutions.
Feature Packs must be licensed in the same way as the DB2 data server was licensed, namely through an authorized user license or through the Processor Value Unit (PVU) rating of the server upon which they are installed. The Feature Packs available for DB2 Express 9.5 (theyu've changed since DB2 9) include the following:
-
High Availability Feature for DB2 Express:
Provides a number of services that enhance the availability of applications running on DB2 Express data servers by including support for online table reorganizations, a two node cluster license for the Tivoli System Automation (TSA) high availability services built into DB2 9.5, and High Availability Disaster Recovery (HADR). All of the features in this Feature Pack are part of a base DB2 Workgroup and DB2 Enterprise installation.
HADR is a set of availability services that provide a turnkey database availability and a protection plan that not only provides redundancy across the entire stack, but can meet even the most stringent availability service level agreements (SLAs) with the mean-time-to-repair (MTTR) measured in seconds. The best part about HADR is that you set it up with mere clicks of a
button.
The online table reorganization is unlike anything else you'll find in other vendor's offerings. It provides a continuous reorganization of a table without the excess disk space associated with the traditional shadow copy approach. It can be started, paused, and throttled; whenever you alter the state of the operation, the benefits are immediate. For example, you could run the reorganization through the evening and then throttle it back during the day or stop it. Applications accessing the table would immediately see the benefits up to the point to where it was stopped: that's real availability.
DB2 9.5 bundles in TSA high availability technology into the installation of DB2. These services provide you the ability to cluster together two data servers for high availability and even automate the failover of an HADR solution. In addition to this, the DB2 9.5 installation program can automatically configure this high availability cluster. What's more,
there's a new framework, fronted by the new DB2 High Availability Instance Configuration Utility (db2haicu). This framework provides a text-based interface that you can use to configure, administer, and synchronize your highly available databases in a clustered environment. Now DB2 can collect information about your database instance, your cluster environment, and your cluster manager by querying your system and can keep the whole cluster synchronized when changes occur.
-
pureXML for DB2 Express:
Provides the ability to create pureXML columns in a DB2 Express database and leverage an associated set of XML services like XML Schema validation and registration services, path-based indexing services, XQuery services, and more. Note that this feature is provided for free with DB2 Personal, DB2 Express-C, and DB2 Express-C FTL.
Although not nearly as efficient or capable as the pureXML services in DB2 9, the DB2 XML Extender is still shipped as part of the DB2 9.5 release and can be used to persist XML. However, you should be aware that the XML Extender approaches the storage of XML like other competitive relational database offerings: namely the XML data is shredded to a relational format or stuffed into a large object. No matter what vendor's database you are using, when you leverage their technology to persist XML data it seems you have to make serious trade-offs with respect to performance, flexibility, and so on.
The pureXML feature in DB2 9.5 provides services such that no compromises between flexibility (what XML was designed for) and performance (one of the reasons why you want the data server to store your XML) need to be made when storing your XML data. I strongly recommend this feature for almost all of your XML-based applications.
-
Homogeneous Federation for DB2 Express:
Provides the ability to create nicknames across members of the DB2 family. This allows you to develop applications across DB2 tables that reside on different platforms without concern to their location. For example, you could use this feature to easily create an application that performs a join of data that resides on a DB2 for i database with one that's running DB2 for Linux on System z. If you wanted to federate non-IBM data sources, or leverage the benefits of queue-based replication, you would need to purchase one of the products from the separately
available IBM Information Server suite.
Licensing and pricing
DB2 Express has the following architectural limits with respect to the server upon which it is installed:
- DB2 Express is limited to 4 GB of memory for the entire data server. Despite this memory limit, which you control using a single configuration parameter, you can install DB2 Express on a server with more than 4 GB of memory - it's the DB2 data server software that has the 4 GB limit. For example, if you had two databases on a single server with 8 GB of memory, you could split the 4 GB allocation across those databases (even if they were in different instances) but you could not exceed the 4 GB limit that applies cumulatively to all the instances and databases on your physical server. As of DB2 9.5, the database engine will throttle the amount of memory consumption such that it does not exceed the 4 GB limit for this edition of DB2.
- You can only install DB2 Express on a server that has a rating of 200 or less Processor Value Units. This means that since a dual-core x86 Intel processor is rated at 50 PVUs per core, you could only install DB2 Express on a server running a maximum of two x86 Intel dual core processors; often referred to as a two socket x86 server.
- This edition of DB2 isn't eligible for sub-capacity licensing.
A DB2 Express data server can be licensed in one of the following ways:
- By purchasing the total number of Processor Value Units associated with the server where the DB2 Express software is installed. This license allows for an unlimited number of users to access the DB2 Express data server using any method possible.
- By purchasing the total number of authorized users that will access the DB2 Express data server. An authorized user is a single individual (in some cases, it can be an application or appliance so long as it doesn't act on behalf of other users) with a specific identity that resides inside or outside your company. These licenses can be used over the Internet as well (like an online banking application) because the end user is well known since
they must be specifically identifiable for this license. Authorized user licenses are full entitlements; there is no need for separate server licenses as with previous versions of DB2. Note the term specific identity. If you are using multiplexing or connection concentration software, these users need to be fully identified before such software is applied to a connection.
You need an authorized user license for anyone accessing the database; however, no matter how many users are accessing your data server, you need to at minimally license a DB2 Express server with 5 authorized user licenses.
An authorized user license is not transferable across work shifts (though it can be transferred for employment turnover) and is only valid for a specific data server. For example, if you had 25 users that needed to access two separate DB2 Express data servers, you would need to purchase a total of 50 authorized user licenses for these 25 users: 2 servers x 25 authorized users per server. Even if only 12 of these users were ever connected to the data server at one time, all 25 users would still have to be licensed for each data server (so you still need 50 authorized user licenses for this example). If you had a single DB2 Express data server and only 3 users, you would still need to purchase 5 authorized user licenses because of the minimum number of users required for this edition; so for this example you would need 10 authorized user licenses (one for each server).
Changes in DB2 9.5
DB2 9.5 didn't comes with any pricing or licensing changes for DB2 Express; however some Feature Packs were removed and only those mentioned in the previous section are available for DB2 Express as of the Version 9.5 release. Specifically, the Workload Management and Performance Optimization Feature Packs can no longer be purchased for DB2 Express 9.5 and the features contained within them can't obviously be utilized with this edition of DB2.
Consider it...
DB2 Express is an entry level DB2 data server that should be considered for workloads that won't greatly benefit from more than 4 GB of database memory or more than 200 PVUs of processing power. This edition isn't well suited for applicaitons that require high scalability features like parallelism or MDC tables since these features aren't part of the base DB2 Express server and aren't additionally available through Feature Packs.
Tell me about something cool running on DB2
Express
Sage, one of the world's most well known providers of end-to-end software that runs SMB businesses and beyond, ships their ACCPAC application running on DB2 Express by default. Craig Downing (Vice President of Product Management) notes that "DB2 clearly shows IBM's commitment to the SMB market. In particular, the focus on automating administrative tasks gives small and mid-size business high data reliability without high administrative attention."
When a company that services over 2.8 million small to medium users in North America alone (and over 4.5 million world wide) chooses DB2 Express to handle one of their most popular applications because of its ease of use... that's cool!
DB2 Workgroup Server Edition... A little more than DB2 Express, but not too much
DB2 Workgroup Server Edition (DB2 Workgroup) is a DB2 data server that provides the same features as the DB2 Express data server but is designed for higher demand workloads that need more memory, processing power, higher availability out of the box, and a wider range of platform deployment options. Unlike DB2 Express (which only runs on Windows, x64-based Solaris, and Linux), this edition of DB2 is supported on all the supported distributed platforms where DB2 runs, namely: Linux (except for Linux on System z), Windows, AIX, Solaris (both SPARC and x86), and HP-UX; the previous links take you to the most up-to-date platform support information.
DB2 Workgroup is similar to DB2 Express from a functional perspective; however as of DB2 9.5, it includes all of the components in the High Availability Feature Pack for free (this used to be a chargeable component in DB2 9 Workgroup). Specficially, HADR, online table reorganization, and the integrated TSA high availability software are included as part of a base DB2 Workgroup license as of DB2 9.5. Aside from this, DB2 Express and DB2 Workgroup are differentiated by RAM and PVU restrictions, and a more expanded set of Feature Packs that you can use to enrich your DB2 Workgroup data server with even more enterprise services compared to DB2 Express.
Feature Packs for the DB2 Workgroup data servers...
Much like DB2 Express, DB2 Workgroup can be extended with a number of enterprise services via the purchase of a wide assortment of Feature Packs. There are more Feature Packs available for DB2 Workgroup than DB2 Express so it stands to reason that DB2 Workgroup can provide a broader range of add-on functionality and options compared to those with DB2 Express.
As of DB2 9.5, the following Feature Packs are available for DB2 Workgroup servers:
-
Query Optimization Feature for DB2 Workgroup:
Formerly known as the Performance Optimization Feature Pack in DB2 9, this Feature Pack makes available the use of materialized query tables (MQTs), multi-dimensional clustering (MDC) tables, and query parallelism for DB2 Workgroup data servers. All of these features are used to provide exceptional performance (especially for Business Intelligence applications) and are part of a base DB2 Enterprise installation. This Feature Pack is not available for DB2 Express.
DB2 comes with a number of high performance objects and capabilities that allow it to scale to hundreds of thousands of users and into the millions of transactions per minute. This Feature Pack provides the ability to create MDC tables and MQTs in your DB2 Workgroup data servers. These objects provide immense benefits for applications running on DB2. In fact, I'd say that the some of the most important components for any high performing BI applications are part of this Feature Pack. (If you're using DB2 for BI, please make sure you know what MDCs and MQTs are.) If you're looking to really boost the performance of an application running on the smaller servers for which DB2 Workgroup was made, this Feature Pack has the components you need.
In my opinion, if you need this feature pack I'm spend some time investigating InfoSphere Warehouse Intermediate Edition because you get all of these features, and some others (like the Database Partitioning Facility and the Design Studio) that can be used to accelerate the creation and really power up a BI solution.
-
pureXML for Workgroup: Provides the same XML features and capabilities for DB2 Workgroup as the corresponding pureXML Feature Pack for DB2 Express.
-
Homogeneous Federation DB2 Workgroup: Provides the same homogeneous federation features and capabilities for DB2 Workgroup as the corresponding
Homogeneous Federation DB2 Express
.
Licensing and pricing
From a functional core-capability perspective, DB2 Workgroup and DB2 Express are relatively the same product with the exception of the High Availability Feature Pack which is now included free-of-charge in DB2 9.5. From a licensing perspective, these editions of DB2 differ with respect to the architectural limits upon which it can run, namely:
- DB2 Workgroup is limited to 16 GB of memory for DB2 data server. As of DB2 9.5, the database engine will throttle the amount of memory consumption such that it does not exceed the 16 GB limit for this edition of DB2. This means that you can install DB2 Workgroup on a server with more than 16 GB of memory - it's the DB2 data server software that has the 16 GB limit. For example, if you had two databases on a single server with 32 GB of memory, you could split the 16 GB allocation across those databases (even if they were in different instances) but you could not exceed the 16 GB limit that applies cumulatively to all the instances and databases on your physical server.
- You can only install DB2 Workgroup on a server that has a rating of 480 or less PVUs (this changed in 2Q08 from the previous limit which was 400 PVUs).
- You cannot sub-capacity price the DB2 Workgroup software.
You can license DB2 Workgroup either by purchasing the total number of PVUs associated with the server where the DB2 Workgroup software is installed, or by purchasing the total number of authorized users that will access the DB2 Workgroup data server (refer to the
DB2 Express section for more information on the definition of an authorized user.
You need an authorized user license for anyone accessing the database; however, no matter how many users are accessing your data server, you need to at minimally license a DB2 Workgroup server with 5 authorized user licenses.
For example, if you had 25 users that needed to access two separate DB2 Workgroup data servers, you would need to purchase a total of 50 authorized user licenses for these 25 users: 2 servers x 25 authorized users per server. Even if only 12 of these users were ever connected to the data server at one time, all 25 users would still have to be licensed for each data server (so you still need 50 authorized user licenses for this example). If you had a single DB2 Workgroup data server and only 3 users, you would still need to purchase 5 authorized user licenses because of the minimum number of users required for this edition.
Changes in DB2 9.5
DB2 9.5 brings a number of significant (and positive) changes with respect
to licensing and packaging. From a licensing perspective, DB2 Workgroup 9.5's RAM limits are for the data server installation, not the server as was the case in DB2 9. This affords companies a greater opportunity to leverage DB2 Workgroup on larger servers and more tightly couple this version of DB2 with mult-application consolidation efforts. Note that the RAM limits for DB2 9.5 are unchanged, it's the way it is counted that changed. Quite simply, if you have a server that had more than 32 GB of RAM, but still meets the PVU restrictions for thie edition, you can use DB2 Workgroup as of DB2 9.5: this is something you couldn't do in DB2 9.
Another major change in DB2 9.5 is the removal of the High Availability Feature Pack
as an optional add-on Feature Pack for DB2 Workgroup. Where did it go? It's in the product...for free! As of DB2 9.5, features like HADR, online table reorgazniation, and the integrated TSA clustering software are all available for use in DB2 Workgroup. Of course, if you cluster two DB2 Workgroup servers together for high availability you still have to license the standby server depending on the role it's performing. I'll note that DB2 9.5 changes the taxonomy around standby servers from active/passive to hot/warm/cold and introduces some new licensing rules here that will benefit you as well. As previously mentioned, these details are covered in my article Licensing distributed DB2 Version 9.5 servers in a high availability configuration article.
In addition to the free inclusion of the High Availability Feature Pack in DB2 Workgroup 9.5, some Feature Packs have been removed for this edition of DB2 and some have been renamed. The Workload Management Feature Pack has been removed as an optional Feature Pack for this edition. This means that DB2 Query Patroller, the DB2 Governor, and their replacement Extreme Workload Management are no longer availale for this edition of DB2.
In DB2 9, you could purchase the DB2 Performance Optizmiation Feature Pack for DB2 Workgroup. This Feature Pack includes MDCs, MQTs, and parallelism. This Feature Pack is still available for DB2 Workgroup, but has been renamed to the
Query Optizmization Feature Pack; however, it still maintains the same components. It was renamed to avoid confusion because a Feature Pack by the same name is available for DB2 Enterprise, but it contained difference components.
Finally, with the launch of the POWER servers feature POWER6 processors (rated at 120 PVUs) the PVU limit for DB2 DB2 Workgroup has been changed from 400 PVUs to 480 PVUs as of 2Q08; this allows you to run DB2 Workgroup on a 4 core POWER6-architected server.
Consider it...
DB2 Workgroup can play many roles in a business. It is very appropriate for small to medium businesses that need a full-fledged relational database store that is scalable and available, yet wouldn't benefit greatly from more than 16 GB of memory for the data server or more than 480 PVUs of processing power. Perhaps more than DB2 Express, DB2 Workgroup is especially well suited for enterprise environments that need small "silo" servers for line of business applications, or for departments that need enterprise services for lower transactional throughput applications.
Tell me about something cool running on DB2 Workgroup
TMW Systems / Maddocks are makers of a leading logistics software application for trucking companies called TruckMate. They made the switch to DB2 a couple of years ago after evaluating both Oracle and SQL Server. Aside from their software supporting most of the hardware shipments for IBM Canada and product shipments for Hudson's Bay (Canada's largest retailer), their software can be found behind some of North America's most successful transportation companies. Bob Maddocks, CEO Maddocks Systems (this guy writes his own recursive SQL), really hit home the value they receive with DB2 Workgroup (their application also runs on DB2 Express) when noting that "The ability for us to service a small trucking company with 10 freight bills a day, to a company with 10,000 freight bills a day, makes scalability very important to us... " and "the autonomic features within DB2 are going to save me 30-35% of my support costs... ".
Scalability, low cost, ease of use, incredible cost savings as a result of free autonomics...and ensuring those McCains french fries with the smiley faces are always available at the local grocery store...now that's cool! (Especially for my daughter.)
 |
DB2 Enterprise Server Edition... unmatched scalability, resiliency, and flexibility
DB2 Enterprise Server Edition (DB2 Enterprise) is IBM's full function premier Web-enabled client/server data server which is available on all the supported distributed platforms where DB2 runs, namely: Linux, Windows, AIX, Solaris, and HP-UX (the previous links take you to the most up to date platform support information).
DB2 Enterprise is meant for large and mid-sized departmental servers and provides the most base features and services of any of the DB2 9 editions. For example, services like HADR, parallelism, MDCs, MQTs, TSA, and more are all provided free of charge in this edition of DB2 while most of these features need to be additionally purchased for DB2 Express and DB2 Workgroup installations via Feature Packs. In addition, DB2 Enterprise has services that are unique and only available to it. For example, DB2 Enterprise has the ability to partition data within a single server using table partitioning services that are
solely available in DB2 Enterprise. This capability is part of a base DB2 Enterprise installation but isn't available for DB2 Express or DB2 Workgroup, even through a Feature Pack.
There are no limits with respect to the amount of RAM you can leverage with this edition of DB2 (in fact, the best DB2 9 TPC-C result used almost 2 TB of memory for its buffer pools - that's more RAM than many companies have data). There is also no maximum
Processor Value Unit rating for the underlying server
upon which this data server is running.
DB2 Enterprise also has a set of Feature Packs that are designed to extend enterprise solutions with an even richer set of data services.
Feature Packs for DB2 Enterprise data servers
In the same manner that a set of Feature Packs can be used to provide extended services to DB2 Express and DB2 Workgroup data servers, DB2 Enterprise has its own set of Feature Packs that provide an extended set of advanced data services for DB2 Enterprise. Because many of the services provided by the Feature Packs for DB2 Express and DB2 Workgroup are included free of charge in DB2 Enterprise, there are (for the most part) a different set of Feature Packs available for this edition of DB2.
Feature Packs for DB2 Enterprise must be licensed in the same way as the DB2 Enterprise data server is licensed, namely through an authorized user license or a PVU. However, some Feature Packs (such as the DB2 Storage Optimization Feature Pack) aren't available via an authorized user license and must be licensed via a PVU. This means that in order to purchase this Feature Pack you have to license DB2 Enterprise with a PVU license.
The Feature Packs available as of DB2 9.5 for DB2 Enterprise are:
-
Performance Optimization Feature for DB2 Enterprise:
Delivers workload management services and a suite of reports and tooling for the performance tuning of DB2 data servers.
DB2 9.5 introduces a set of brand new workload management services that are designed to replace the previous architecture that consisted of DB2 Query Patroller and DB2 Governor; collectively, these services are know as Extreme Workload Management, or DB2 Workload Manager (DB2 WLM). This new architecture in DB2 9.5 provides ways to explicitly control CPU usage among executing work, control pre-fetching assigned to specific work in the database, detect and prevent so called run away or rogue queries, and closely monitor database activity in a number of different ways, to name just a few.
DB2 WLM provides a viable alternative to the DB2 9 workload management solution that was centered around DB2 Query Patroller and the DB2 Governor. Both of these products are still fully supported in DB2 9.5, and can operate in a DB2 9.5 WLM environment, but they will begin to be phased out over time and replaced with DB2 WLM.
The Performance Optizmiation Feature Pack also includes the DB2 Performance Expert. The DB2 Performance Expert simplifies performance management and tuning. It offers DBAs a consistent view into their instances, subsystems, databases, and applications for the DB2 data server upon which it is installed. For example, it has a set of pre-canned reports to identify resource shortage and exception conditions in DB2, locking conflicts and deadlocks, applications and SQL statements causing high workload. It also includes as set of detailed reports about SQL, database and buffer pool activity with trend analysis and what-if hypothesis testing for optimal performance evaluation, and more. The version of the DB2 Performance Expert that is part of this Feature Pack can only be used for DB2 data servers running on Linux, UNIX, and Windows, whereas the DB2 Performance Expert tool when purchased outside of this Feature Pack can be used across the DB2 family.
-
pureXML for DB2 Enterprise: Provides the same XML features and capabilities for DB2 Enterprise as the corresponding pureXML Feature Pack for DB2 Express.
-
Homogeneous Federation DB2 Enterprise: Provides the same homogeneous federation features and capabilities for DB2 Enterprise as the corresponding
Homogeneous Federation DB2 Express
.
-
Advanced Access Control for DB2 Enterprise:
Provides label-based access control (LBAC) protection services for data stored in a DB2 Enterprise data server. Using this feature, data stewards can control read and write access for users and groups at the table column and row level. LBAC controls access to table objects by attaching security labels to them. Users attempting to access an object must have its security label granted to them. When there's a match, access is permitted; without a match, access is denied and data is hidden.
The Advanced Access Control feature provides a security framework that can be structured around a hierarchal representation of the business entity, an array, tree, or some combination thereof. In addition to this, LBAC can be used to control access to XML documents stored in pureXML columns at the document level.
-
Geodetic Data Management Feature:
Provides spatial analysis with consideration for the curvature of the earth (which is the main differentiator from the free Spatial Extender that's part of every DB2 9 edition). The Geodetic Data Management Feature is used for advanced analytics that need to minimize the distortion caused by projections of the earth's surface -- it is especially useful for military defense applications, weather applications, and so on.
For example, with the DB2 Spatial Extender, you 'flatten' the earth using different projections (for example, the Mercator projection) and then tolerate or account for the margin of error in your application. This may work fine when trying to locate a caller's house for a 911 response call (being off by 10 feet isn't likely to hurt). However, national security applications such as a missile defense systems need more precise measurements and cannot tolerate the distortion caused by 'flattening' the earth's surface into LAT/LONG co-ordinates. This is where the Geodetic Data Management Feature comes in.
In laymen's terms, if distortions like the fact that Greenland is 1/14 the size of Africa (which did not seem to be the case when I think back to my elementary school atlas) would present a problem with your application, then this feature is for you.
-
Mobility on Demand for Enterprise:
Provides the components of DB2 Everyplace Enterprise at a reduced cost for use on your licensed DB2 Enterprise server. This feature allows you to extend the reach of your enterprise data to an unlimited number of mobile devices so long as they synchronize their data over the data server for which this feature is bought.
-
DB2 Storage Optimization Feature for DB2 Enterprise:
Provides storage compression services to optimize the performance and footprint of your data. This Feature Pack is made up of Row Level Compression and Backup Compression services.
Row Level Compression services were first introduced in DB2 9 and caught the database industry by storm. In DB2 9.5, they were expanded to include autonomic dictionary creation in DB2 9.5. These services provide row level compression from disk to the buffer pool and yields impressive disk savings (internal tests average about around 65% disk savings with these services) and performance speed up for I/O-bound systems (and what data warehouse systems aren't I/O bound; it's easy to remove a CPU bottleneck after all). But there's more.
Consider for a moment the other implicit benefits that arise from compression. Trust me, it extends beyond disk savings. Think about all those backups that you're mandated to keep -- not only will they be smaller, they'll run faster because you're backing up less data. Think about Q/A and test environments. Consider for a moment that if the data is compressed on disk and in the memory buffers, the extra data you could get in those buffers. This means not only will performance likely improve, but maintenance operations like RUNSTATS and REORG could run faster too. Take all of this into account and consider the fact that DB2 9 can support over 2,000 rows on a single data page (versus the 255 limit in DB2 8) and you've got a pretty compelling I/O bottleneck remover on your hands. Finally, consider the HVAC chargeback for your storage; not only will it save you money, it'll reduce the ecological footprint of your IT solution. The point here is that compressing your data is more than just saving disk space - and it's evnironmentally friendly too!.
Just how significant and unique are these compression services in DB2 9? InfoWorld noted the following in a review of DB2 9: "The new row-level compression in DB2 is one of my favorite features. It’s actually table-level compression and it can result in a direct storage savings of 45 to 75 percent... If I had to pick one feature that puts DB2 ahead of any of the other databases, this would definitely be the one, because it’s going to be far more useful to the largest portion of the client base. I would imagine that Oracle and Microsoft are both scrambling to be the next to bring this to market."
The backup compression services provide, as the name would suggest, the ability to compress your database backups. The database backup framework in DB2 is based on an open pluggable interface that allows you to use the default compression algorithm that's shipped with DB2, or one of your own. The compression algorithm you use is embedded within the backup image so that it can be restored on a different server so if you have disaster you can still get your data back.
-
Database Partitioning Feature (DPF) for
DB2 Enterprise:
Delivers the ability to partition your database across multiple servers. This means that your databases can grow to sizes that are limited only by the number of computers you have. DB2 Enterprise with the DPF is meant for larger data warehouses, online analytical processing (OLAP) workloads, and for high performance complex online transaction processing (OLTP) requirements. DB2 Enterprise with the DPF also allows SMP servers to be divided up into partitions and clustered together under a single database image for very large-scale volumes. You can also mix partitioning within SMPs with multiple physical machines to create an MPP system.
Licensing and pricing
You can license DB2 Enterprise in one of two ways:
- By purchasing the total number of PVUs associated with the server where you plan to run the software - this will allow for an unlimited number of users and devices to access the DB2 Enterprise data server. Note however that unlike DB2 Express and DB2 Workgroup, DB2 Enterprise is eligible for sub-capacity pricing. For example, you could create an LPAR on an IBM POWER server such that it used half of the PVUs on the server's total capacity and subsequently license DB2 Enterprise for just those PVUs as opposed to the PVU rating of the entire server. What's more, you can license DB2 Enterprise for Dynamic LPARS (DLPARS) where resources are dynamically moved into and out of the LPAR where DB2 is installed based on a pre-defined set of business rules. You can learn more about how to license DB2 in an LPAR or DLPAR environment my reading my article DB2 and Sub Capcity Licensing; while that article is based on cores, the methodology for how you determine licensing requirements holds true in the new PVU
world that IBM SWG uses to price software.
- By purchasing the total number of authorized users that will access this DB2 Enterprise data server(refer to the DB2 Express section for more information on the definition of an authorized user.
DB2 Enterprise has a minimum set of authorized users that must be licensed, just like DB2 Express and DB2 Workgroup. However, instead of the minimum 5 authorized users per server that's associated with DB2 Express and DB2 Workgroup, you need to minimally license a DB2 Enterprise data server with 25 authorized users for every 100 PVUs for which your server is rated. It should be noted that for every server installation there is a break even point at which time it makes more sense to license the server via the PVU metric.
For example, if you're running DB2 Enterprise on an IBM Power 5 QCM-based System p server with a single quad core processor, you would at least have to purchase 50 authorized user licenses because the total PVU rating for this server is 200 PVUs (200 PVUs/ 100 PVUs = 2 x 25 authorized
users). If you are running DB2 Enterprise on a single Sun Niagara server that had a single hexacore processor, you would at least have to purchase 50 authorized user licenses because the PVU rating for this server is 180 PVUs and when you cross a 100 PVU threshold you round up to the next tier to establish the minimum numberof users. Of course if you were using LPARing technology, the effective VU rating for DB2 licensing purposes would be different.
As another exmaple, if you had 75 users that needed to access two separate DB2 Enterprise servers, you would need to purchase a total of 150 authorized user licenses for these 75 users: 2 servers x 75 authorized users per server = 150 (75 for each server). However, if both of those servers had 4 dual core Intel XEON-based processors, you would need a minimum of 200 authorized user licenses (100 for each server) because of the minimum number of authorized users that accompany DB2 Enterprise (25 users for every 100 PVUs on the server): ((( 4 sockets x 2 cores = 8 cores) x 50 PVUs per core = 400 PVUs)/100 PVUs = 4) x 25 authorized users = 100 x 2 servers = 200 authorized users.
Changes in DB2 9.5
The Database Partitioning Feature (DPF) is no longer available as an add-on Feature Pack for DB2 Enterprise. The feature hasn't gone away, but
since it's especially suited for data warehousing, it's been included in all of the InfoSphere Warehouse editions.
Consider it...
DB2 Enterprise should be strongly considered for any applications that require limitless flexibility (for example, the use of table partitioning) and scalability (for example, there are no PVU or RAM limits). It should also be leveraged when rich extensions such as advanced security control services (like label-based access control), storage optimization services (like deep row compression), and so on are needed. With DB2 Enterprise there are few capacity planning considerations outside of the optimal balance of resources and a full gambit of features available for use.
Tell me about something cool running on DB2 Enterprise
Daimler (formerly known as Daimler Chrysler) is a company based in Auburn Hills Michigan (USA) and Stuttgart (Germany) that generates over $192 billion in revenues on sales of 4.7 million vehicles (which makes it the world’s number three auto manufacturer) and has more than 350,000 employees world wide. Daimler Chrysler brands include: Mercedes-Benz, Chrysler, Jeep, Dodge, and Freightliner, amongst others. When
you're talking larger enterprise, Daimler Chrysler is it.
DaimlerChrysler wanted to implement a data platform that would enable them to sense everything from shifting customer preferences to changed shipment dates, and have the built-in means to respond dynamically -- they chose DB2 as part of this platform. Dr. Seshu Bhagavathula, Director for Technology Strategy, DaimlerChrysler, notes "The solution we built with IBM provides us with a flexible and efficient means to break down silos across DaimlerChrysler, and in so doing has established the foundation for us to become a nimbler, more responsive company..."
Breaking down silos of information with DB2, and those Dr. Z (Zetsche) commercials (though I'm biased with respect to the initial of their CEO's last name)...now that's cool!
Bang & Olufsen (B&O) is perhaps one of the most well known high end audio equipment manufacturers in the world today. The company, founded in Denmark by Peter Bang and Sven Olufsen in 1925, is not only well known for their engineering and sound quality, but the sheer beauty of their products. B&O moved their SAP implementation onto DB2. Peter Munk (head of B&O IT) notes: "With IBM, we no longer have performance issues, and we are free to focus on developing the next stage of our business..."
Without a doubt, the company with the coolest stereo equipment designs in the world using DB2... now that's cool!
For developers only...
For application development, a special offering called Database Enterprise Developer's Edition (DEDE) is available. This is a reduced price offering that gives application developers access to most of the DB2 features and editions, as well as a set of Informix products and DB2 Connect for the purposes of development, evaluation, demonstration, and testing of application programs. It is licensed on a per developer basis. Depending on the number of developers you have, it may or may not be a more cost effective solution for the processes that make up the application development lifecycle.
Wrapping it up...
As you can see, DB2 not only runs on many platforms, but also has many packaging options that allow you to choose the right edition for your business. DB2 9.5 introduces more flexible deployment options for your data serving needs. These options go hand-in-hand with a host of new services that not only cuts the time to value of a DB2 solution, but also makes DB2 the most effective database management system available today.
Scaling DB2 is seamless from edition to edition, and this gives you the ability to leverage your DB2 investment as your business grows. Whether you are an SMB tracking sales over the Internet, a mobile solutions provider, or a Fortune 500 company trying to analyze sales data to put the right products into the right hands at the right time, there is an edition of DB2 that's right for you!
Resources Learn
-
"Which DB2 9.5 client connectivity option is right for you?"(developerWorks, Apr 2008): Learn the details of all the various client connectivity options.
-
"Licensing distributred DB2 9.5 data servers in a high availability environment"(developerWorks, Nov 2007): Ensure you're licensing your DB2 for Linux, UNIX, and Windows data servers correctly in a high availability environment.
-
"Compare the distributed DB2 9.5 data servers"(developerWorks, Feb 2008): Compare the DB2 for Linux, UNIX, and Windows editions in a side-by-side comparison table.
-
Visit the developerWorks resource page for DB2 for Linux, UNIX, and Windows to read articles and tutorials and connect to other resources to expand your DB2 skills.
-
Learn about DB2 Express-C, the no-charge version of DB2 Express Edition for the community.
- Visit the
developerWorks Information Management zone: Find more resources
for DB2 developers and administrators.
-
Stay current with developerWorks
technical events and webcasts.
Get products and technologies
-
Download a free trial version of DB2 Enterprise 9.5.
-
Now you can use DB2 for free. Download DB2 Express-C, a no-charge version of DB2 Express Edition for the community that offers the same core data features as DB2 Express Edtion and provides a solid base to build and deploy applications.
-
Build your next development project with
IBM
trial software, available for download directly from developerWorks.
Discuss
About the author  | 
|  |
Paul C. Zikopoulos, BA, MBA, is an award-winning writer and speaker with the IBM Database Competitive Technology team. He has more than ten years of experience with DB2 and has written over sixty magazine articles and several books about it. Paul has co-authored the books:
Information on Demand: Introduction to DB2 9 New Features, IBM DB2 9: New Features, DB2 Version 8: The Official Guide, DB2: The Complete Reference, DB2 Fundamentals Certification for Dummies, DB2 for Dummies, and A DBA's Guide to Databases on
Linux. Paul is a DB2 Certified Advanced Technical Expert (DRDA and Cluster/EEE) and a DB2 Certified Solutions Expert (Business Intelligence and Database Administration). In his spare time, he enjoys all sorts of sporting activities, running with his dog Chachi, and trying to figure out the world according to Chloë - his new daughter. You can reach him at: paulz_ibm@msn.com.
|
Rate this page
|