Database performance problems can be solved by fast storage

Summary: Database performance issues can turn into big problems. Improved storage performance can be an easy way to address them.

I recently published a paper "Solving database performance problems with better storage performance" and thought that you'd like to see a few snippets of it here.

Database management systems are some of the most complex pieces of software deployed in an organization’s datacenters. Database performance problems can cause application slow-downs or failures. These, in turn, can cause the organization to lose revenues, lose customers or fail to meet its goals in other ways. This, by the way, is considered "bad" by most IT folks I've spoken with.

Modern database engines are made up of multiple processes, each serving a different purpose. These processes may be deployed on multiple systems and manage huge amounts of structured and unstructured data.

Furthermore, each database engine manages storage differently. Some treat data as a series of tables, some as a number of records and still others deal with data as “memory images.” Each database engine also manages access to the data differently. Some maintain extensive indices allowing very rapid access to specific items, but this requires the database engine to do more work maintaining those indices if a data item is modified or deleted.

There are a number of ways to address database performance issues:

  • Rooting about to find what the real issue is - this could require the focused attention of the organization's system, storage, network, application and database gurus.
  • Changing the application design so that it utilizes data more efficiently
  • Spelunking in the database parameters and logs to learn what the database is doing and changing how it is configured to work better in that application environment.
  • Short circuiting the research and analysis process by just using faster storage.

Since database based applications are heavily dependent on storage performance, another successful, but lower cost, approach has been to replace poorly performing storage devices or storage servers with newer technology. This approach directly attacks the performance issues without requiring application rewrites, complex database tuning exercises or upgrading systems with costly replacements Ideally, the storage subsystem would be built using available technology, such as dynamic random access memory (DRAM), one of the fastest storage technologies on the market today. DRAM storage provides consistent performance over other SSD technologies when reducing I/O bottlenecks for random reads and write, without requiring performance tuning. This would result in significantly higher storage performance — far faster than traditional media — and much improved database performance, between 2 – 25 times faster.

If you'd like to learn more, please feel free to download the paper. It was sponsored by Kaminario.

Topics: Enterprise Software, Data Centers, Data Management, Hardware, Software, Storage

Kick off your day with ZDNet's daily email newsletter. It's the freshest tech news and opinion, served hot. Get it.

Talkback

5 comments
Log in or register to join the discussion
  • RE: Database performance problems can be solved by fast storage

    While the description of the database ecosystem is quite correct, simply throwing hardware at the issue is an oversimplification, better disks surely impact the performance positively when the issue is disk IO. Typically, entreprise level database system already have high performance SAN storage. Upgrading to even better large high availability SAN storage does not come cheap at all. In the end, even with the best intentions and the best san devices, database can still perform poorly. Why? Bad written code performs badly no matter what. Fixing bad written queries is the only proper way to make a db go fast. Sorry.
    Toto_le_hero
    • RE: Database performance problems can be solved by fast storage

      @Toto_le_hero Thank you. It is so true. Bad code is slow. Throwing more hardware may delay when it is an issue again, but really, fixing the core problem is more important. If the application is doing something reasonable, and it is an IO bottleneck, yes, throw fast storage at it, but I doubt you really have enough data coming and going to need this. Cartesian products are slow, even in memory.
      grant@...
    • RE: Database performance problems can be solved by fast storage

      @Toto_le_hero I do agree with you. There are times, however, in which the organization doesn't have the time or the expertise to find and fix the problem. In that case, throwing hardware at the problem might help enough that the organization can continue.

      Thanks for taking the time to comment!

      Dan K
      dkusnetzky
  • RE: Database performance problems can be solved by fast storage

    Dan, I agree that DBMSs are some of the most complex pieces of software in a company?s datacenter, but throwing more hardware at them is not the answer. In my opinion, more storage just adds complexity--something no one needs more of--in addition to more points of failure. Moreover, effective troubleshooting typically requires deep understanding of the bottlenecks themselves. And adding more hardware without knowing where the contention is happening will not resolve the problem. I included some additional thoughts and a customer use case in a recent blog post: The Argument for Solving Database Performance Problems with Application Performance Management (http://www.extrahop.com/post/blog/extrahop-analysis/solve-database-performance-problems-application-performance-management/)
    Justin Baker
  • RE: Database performance problems can be solved by fast storage

    Where does Idaho rank? We have been living in Montana for the past 5 years and I am not supri<a href=http://www.meusexshop.com>sexy shop</a>to find it #3 on the "worst" list. Considering a<a href=http://www.produtodesexshop.com.br>sexshop</a>move to Idaho to escapthe high cost of living a low income in MT. There may not be a sales tax here but they get you if you own property!
    filhomarques