| By Ranko Mosic | Article Rating: |
|
| January 2, 2013 05:00 AM EST | Reads: |
2,609 |
Contemporary large servers are routinely configured with 2TB of RAM. It is thus possible to fit an entire average size OLTP database in memory directly accessible by CPU. There is a long history of academic research on how to best utilize relatively abundant computer memory. This research is becoming increasingly relevant as databases serving business applications are heading towards memory centric design and implementation.
If you simply place Oracle RDBMS's files on Solid State Disk, or configure buffer cache (SGA) large enough to contain the whole database, Oracle will not magically become an IMDB database, nor it will perform much faster. In order to properly utilize memory, IMDB databases require purposely architected, configured, balanced and optimized hardware (CPU, RAM, Flash, busses, cluster interconnect), as well as RDBMS software written with RAM as center point in mind. IMDB's main premise is that data primarily resides in RAM and is only persisted to disk for protection and auxiliary functions. Data structures, methods and processes typically associated with an RDBMS (index types, join methods, data layout, internal data flows and processing) need to be (re)designed with RAM-centric axiom in mind.

There are a few fully functional IMDB products available on the market today. SAP Hana is one of the most recent additions to IMDB class of products.
SAP Hana is a hybrid row/columnar data store. It is designed under the assumption that the most of operations ( either OLTP or OLAP ) are reading ( as opposed to writing ) the data. Hana aspires to serve equally well both OLTP and OLAP workloads since it considers them similar in terms of workload characteristics.
Hana's row oriented tables are always in memory, while column tables are loaded to memory on demand. Column store data is dictionary encoded and compressed and thus more expensive (in terms of system resources) for inserts and updates than column store. In order to handle relatively demanding writes to column store, Hana's database memory is logically split into main store and delta store. Main store is optimized for reads and efficient memory consumption. Writes to columnar data are handled via delta storage which has basic compression level and is optimized for write. Cache Sensitive B+ tree (CSB+) used for faster search on delta. Delta and main store are merged automatically or manually. The need for delta store effectively halves size of database that Hana can handle since delta store must equal size of the main store.
While SAP Hana column store performance is in some cases is spectacular (aggregations over small number of columns), reconstruction of large rows is fairly slow because of the need to reconstruct rows.
It is possible to build clusters with dozens of nodes (SAP recently tested 100 node, 100 TB RAM cluster), where data is distributed across nodes.
In Hana's clustered, distributed database, all data is not directly accessible by a single CPU (only local RAM is directly addressable) which has negative performance implications.
There are other memory centric databases available on the market today - IBM Solid DB, Oracle Times Ten, Volt DB. We expect that major vendors like Oracle further modify their mainstream RDBMS to adjust to increased role of RAM and other types of memory in modern hardware.
Published January 2, 2013 Reads 2,609
Copyright © 2013 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Ranko Mosic
Ranko Mosic ( OCP ) is specializing in Oracle Database Administration work. He has more than 20 years of North American IT industry experience. His texts about Oracle database were published in various industry publications and his profile was published in Oracle Magazine. He can be reached at ranko.mosic@gmail.com
- Cloud People: A Who's Who of Cloud Computing
- How to Move Your Oracle Databases to Amazon EC2 Cloud
- Cloud Expo NY: Best Practices for Delivering Oracle Database as a Service
- Session Topics: 12th Cloud Expo / Cloud Expo New York
- Cloud Expo New York: Build Modern Business Applications
- Velocity Technology Solutions Introduces IBM Power Systems Universal Cloud Services at COMMON 2013
- Here Comes Oracle’s New Sparc Servers
- Cloud Expo NY: Fast-Track Your Transformation to Enterprise Private Cloud
- Cloud Business Solutions, Social Media, and Platform Systems of Engagement Market Shares, Strategies, and Forecasts, Worldwide, 2013 to 2019
- Oracle Buys Tekelec
- Cloud Expo New York: Ten Myths of Cloud Computing
- Research and Markets: Global Platform-As-A-Service Market Expected To Post Revenue of US$6.45 Billion in 2016 According To Latest Report
- Cloud People: A Who's Who of Cloud Computing
- How to Move Your Oracle Databases to Amazon EC2 Cloud
- Global Micro Servers Market (2013 - 2018), By Processor Type (Intel, Arm, Amd), Component (Hardware, Software, Operating System), Application (Media Storage, Data Centers, Analytics, Cloud Computing) & Geography (North America, Europe, Apac, Row)
- Cloud Expo NY: Best Practices for Delivering Oracle Database as a Service
- Session Topics: 12th Cloud Expo / Cloud Expo New York
- Cloud Expo New York: Build Modern Business Applications
- Red Hat Reinforces Java Commitment
- Five Steps Toward Achieving Better Compliance with Identity Analytics
- Velocity Technology Solutions Introduces IBM Power Systems Universal Cloud Services at COMMON 2013
- Here Comes Oracle’s New Sparc Servers
- Java Cryptography | Part 3
- Cavalry Rides into Oracle’s Java Suit
- AJAX World RIA Conference & Expo Kicks Off in New York City
- The Top 250 Players in the Cloud Computing Ecosystem
- Oracle SOA Suite
- A Review Of Oracle Application Server 10g
- An Introduction to Abbot
- Java Product Review — Oracle JDeveloper An IDE Worth a Second Look
- Cloud People: A Who's Who of Cloud Computing
- Red Hat Named "Platinum Sponsor" of Virtualization Conference & Expo
- Universal Middleware: What's Happening With OSGi and Why You Should Care
- Report From the Oracle/PeopleSoft Frontline: Alienating PeopleSoft
- Cloud Expo New York Call for Papers Now Open
- The Oracle-Sun Buddyfest: What's It All Mean?



























