Home > SAP software/management News > SAP pitches in-memory DBMS to handle transactions as well as analytics
SAP software/management News:
EMAIL THIS

SAP pitches in-memory DBMS to handle transactions as well as analytics

By Rich Friedman, Contributor
11 Sep 2009 | searchSAP.com

SAP news, tips and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google

The massive amounts of corporate data that companies can collect today, plus business mandates to get faster and less expensive answers to database mining queries, have SAP looking into the possibility of offering its customers a column-based, in-memory database.

Neither columnar databases nor in-memory applications are new. Column-based databases have been around since 1972. In-memory applications date back to the 1960s. But SAP is blending these two old technologies and coming up with something new and intriguing.

Columnar databases have several advantages over relational databases. For one, users can extract information much faster from a columnar database than a traditional DBMS. Because columnar databases can store a given amount of raw data in much less space, the area that has to be accessed is much smaller than in a database with row-based storage.

Column-based DBMSs are also self-indexed, eliminating the overhead for indexing, which can double the size of a RDBMS. In addition, column-based DBMSs are simple to update, because column-based database updates are done as insert-only operations, i.e., by simply adding fields to strings.

More about the role of hardware in an SAP infrastructure
Find out how to improve SAP performance through smart hardware decisions

How to determine if your hardware infrastructure can support a virtual SAP environment

Learn about other BI and data warehouse vendors that are turning to in-memory technology.

Despite these advantages, column-based databases have essentially been niche products, according to Jacob Gsoedl. Gsoedl is director of business systems at Cavium Networks, a Mountain View, Calif., provider of semiconductor products that enable intelligent processing, but he also writes about databases and storage. He says that companies such as Sybase Corp. and Vertica Systems have sold a few thousand units of their column-oriented DBMSs, Sybase IQ and Vertica Analytic, respectively.

One reason that market share has eluded column-based databases is because "they're not a general-purpose database," said Nigel Pendse, a business intelligence and OLAP analyst and the editor of The OLAP Report. On the other hand, he said, "a relational database does a large number of things, although it doesn't do any of them very well. It's mediocre at all of them."

In-memory databases eliminate disk access

In-memory technology is increasingly being applied to BI, data warehouses and DBMSs. In-memory databases, also known as main memory databases, have one big advantage over traditional "on-disk" DBMSs: speed. In-memory databases eliminate disk access by storing data in main memory, so it can be queried in the database itself. Traditional DBMSs cache frequently requested data in memory for faster access, but automatically write data updates, insertions and deletes through to the hard disk.

Three recent developments are giving in-memory databases a boost: 64-bit computing, multi-core servers and the plunging cost of memory chips. Although 64-bit computing allows access to far more RAM than the 2GB or 4GB available on 32-bit systems, the real breakthrough is the dropping price of RAM.

"Cheap memory and cheap hardware has made it orders of magnitude less expensive – and much quicker -- to mine these new in-memory, column-based databases," said Josh Greenbaum, principal with Enterprise Applications Consulting, which focuses on how enterprise software intersects with business requirements. "Before cheap RAM, it cost $1 million to run 1TB of data in a relational database. Today, that same 1TB running in a columnar database costs $10,000."

One of the early products in the current wave of in-memory software offerings was QlikView from BI vendor QlikTech. Microsoft Excel has an in-memory structure. MicroStrategy9 includes standard in-memory ROLAP, which operates directly on the main server, minimizing disk-access delays and improving query-response times.

SAP's NetWeaver Business Warehouse Accelerator is an in-memory BI product. Oracle offers an in-memory database called TimesTen for Oracle DBMS customers who want accelerated data analysis. And in-memory capability is expected to be part of Microsoft's upcoming Project Gemini release.

Despite all their potential advantages, column-based, in-memory databases have heretofore been considered appropriate only for analytic applications, as a replacement for a data warehouse.

But during his keynote speech at SAP's 2009 Sapphire conference, Hasso Plattner, chairman of the supervisory board and co-founder of SAP, demonstrated a $6,000 rack-based blade server system with 144 GB of RAM running SAP's Explorer analytical interface powered by an in-memory, column-based database. In a recent column, Greenbaum wrote, "That's enough RAM to load up a column-based database that would require two terabytes as a relational database."

During the Sapphire demo, Explorer was able to process 280 million records in less than a second. Plattner suggested that this same combination of technology could be used to power the core transactional system at the heart of SAP's Business Suite, and vowed that SAP "can do the same thing to run the transactions of the back office." But can it?

"It's a much bigger challenge to use [a columnar database] as a transactional datastore for OLTP applications, although companies like Vertica have added mechanisms such as a separate read write store to their products in an attempt to close the write performance gap to that of contemporary relational databases," Gsoedl said.

Pendse pointed out that Oracle's TimesTen is "about ten times quicker than a normal DBMS, and no one's using that for transactions."

The volatility issue of in-memory DBMSs

Part of the problem with using in-memory databases for transactional applications is that unlike a disk-based DBMS, in-memory databases are volatile. It's one thing to lose an analytic query, but another to lose a transaction. "To run a transactional system in a serious commercial business, every transaction must be committed to disk, or at least non-volatile memory," Pendse said. "If you pull the plug on a computer with an in-memory database, you've lost everything."

"And you will have a crash," he added. "Even the most secure data center computer goes down. And it's not just the hardware you have to worry about. If you have a device driver that's faulty, your computer will crash."

If SAP were to develop Plattner's concept as a product, "that would fundamentally change the economics and the politics of the SAP market," Greenbaum said. But user acceptance might be the stumbling block. "This would require users to throw out their Oracle databases," he said. "There are a lot of people who have set their careers on Oracle. It's going to be hard to get companies to back off Oracle."

Perhaps nearly impossible. "There's a reason why most sites run software that's years behind the latest release, particularly things like transaction systems," Pendse said. "If it's working well, they don't update the system. People are running on DBMSs that are years out of date, that are buggy, that are not patched. The bottom line is that if have a version of the software that works, they have almost no motivation to update."

Hard for SAP users to digest all their data

Plattner noted that the average SAP customer has seven to 10 years' worth of data on disk. But, he noted, "how we digest that data is slow, and it's getting slower because of the increased sizes of databases." What he wants is the ability to extract information from databases instantaneously. "For a company the size of SAP, with $15 billion in revenue, I want to answer every question you have with Excel or [SAP] Business Explorer in less than one second."

Since Sapphire, SAP has been mum about when an in-memory columnar database for transactional processes might actually be released to customers. "SAP isn't ready to release details about its future plans," Jacob Klein, SAP vice president, solution management, data and analytic engines, wrote in an email to SearchSAPcom.

However, Klein did say that SAP's current in-memory column-based database is designed to serve as an "acceleration layer for [BI] scenarios running on top of an existing data warehouse." He said that in time SAP will extend these capabilities so that the in-memory data layer can serve as a primary persistence layer, and that this would involve "building new capabilities into the current TREX C++-based kernel."

According to Klein, at that point, transferring data from older SAP ERP or database applications, as well as migration of the actual database tables, to the new column-based DBMS would be seamless. "The next-generation data layer," he said, "will leverage existing data access APIs, so ERP applications, and their extensions, can be deployed on top of the new layer without disruption to the application."

About the author: Rich Friedman has covered various aspects of IT for more than 25 years. He can be reached at rfriedman99@gmail.com.

Additional reporting for this story was done by Peter Bochner, site editor, SearchSAP.com.



Tags: SAP trends, strategy and ERP market shareBusiness Objects and SAP business intelligenceVIEW ALL TAGS

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
SAP trends, strategy and ERP market share
SAP Standard support decision hinges on inflation, fees
SAP's New Year's resolution: Work more closely with customers than ever
Ray Wang discusses SAP customer priorities in 2010
As SAP shows 'clear path forward,' some users look to stay behind
Down ERP market could mean licensing deals for SAP buyers
SAP weighs in on Oracle-Sun, Wall Street Journal
SAP CTO Sikka: SAP's innovation gets overlooked
SAP CTO expects today's SAP applications to be running in 2020
SAP TechEd 09 keynoters: Managing change today like trying to board a speeding train
SAP ERP upgrade case study: Upgrade to ECC 6.0 with minimal downtime

Business Objects and SAP business intelligence
The top SAP advice from the experts in 2009
On-premise vs. on-demand BI: SAP tries for the best of both worlds
SAP teams with Microsoft in enterprise performance management space
SAP talent management FAQ: Fresh answers to frequently asked questions
SAP CTO Sikka: SAP's innovation gets overlooked
Four things SAP must consider before a Teradata acquisition
SAP TechEd Demo Jam 2009: Winners use beer keg in demo
Which five SAP projects should businesses launch now?
SAP BW or third-party data warehouses a dilemma for SAP customers
Tips for setting up a default SAP BI client after implementation

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
SAP  (SearchSAP.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



SAP Training & Employment
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2010, TechTarget | Read our Privacy Policy
SearchSAP.com is a search service provided by TechTarget and is completely
independent of and not affiliated with SAP AG.
  TechTarget - The IT Media ROI Experts