YOUR FEEDBACK
Evripidis wrote: I downloaded and tried to run the SampleSolution through Visual Studio. Every ti...
Cloud Computing Conference
November 19-21 San Jose, CA
Register Today and SAVE !..


2008 East
DIAMOND SPONSOR:
Data Direct
Frontiers in Data Access: The Coming Wave in Data Services
PLATINUM SPONSORS:
Red Hat
The Opening of Virtualization
Intel
Virtualization – Path to Predictive Enterprise
Green Hills
IT Security in a Hostile World
JBoss / freedom oss
Practical SOA Approach
GOLD SPONSORS:
Software AG
The Art & Science of SOA: How Governance Enables Adoption
PlateSpin
Effective Planning for Virtual Infrastructure Growth
Fujitsu
Automated Business Process Discovery & Virtualization Service
Ceedo
Workspace Virtualization
Click For 2007 West
Event Webcasts

2008 East
PLATINUM SPONSORS:
Appcelerator
Think Fast: Accelerate AJAX Development with Appcelerator
GOLD SPONSORS:
DreamFace Interactive
The Ultimate Framework for Creating Personalized Web 2.0 Mashups
ICEsoft
AJAX and Social Computing for the Enterprise
Kaazing
Enterprise Comet: Real–Time, Real–Time, or Real–Time Web 2.0?
Nexaweb
Now Playing: Desktop Apps in the Browser!
Sun
jMaki as an AJAX Mashup Framework
POWER PANELS:
The Business Value
of RIAs
What Lies Beyond AJAX?
KEYNOTES:
Douglas Crockford
Can We Fix the Web?
Anthony Franco
2008: The Year of the RIA
Click For 2007 Event Webcasts
SYS-CON.TV
POWERBUILDER LINKS YOU MUST CLICK ON


Sybase ASE 12.5 Performance and Tuning
Troubleshoot performance problems

Over the past few years, there have been a number of titles released on the Sybase enterprise database management system. Administrator's Guide to Sybase ASE 12.5, released late last year, was widely adopted by consultants, DBAs, and administrators of Sybase ASE.

Sybase ASE 12.5 High Availability, released in early 2002, is especially appropriate for those whose businesses demand 24x7 availability of data and applications. The third title in this series, Sybase ASE 12.5 Performance and Tuning, is the one we'll take a closer look at this month. It promises to be just as valuable as the other books, especially to DBAs whose primary task is database maintenance and troubleshooting. The lead author, Jeffrey Garbus, is considered throughout the Sybase community to be one of the most experienced database administrators, consultants, and authors for the ASE enterprise data management software. So let's take a look at the book.

The Chapters
Chapter 1: Introduction

In this chapter we learn that tuning is a balancing act and, as such, we need to prioritize our needs, then we can begin the tuning process. The authors point out the things we need to consider such as:

  • Evaluate baseline time for your CPU/drive to determine the expected performance.
  • Decide whether the response time is appropriate for the best path the optimizer could take. Are the results expected?
  • Examine the problem query. Is it too complex? Does the query resolve the user's actual needs?
  • Are appropriate indexes selected for the query?
  • Is the optimizer selecting the correct path?
  • Break down the query; do individual components also take too long?
  • Acquire as much information as possible regarding the circumstances of the query.
  • Remember that you can't tune for everything; a physical design will, by nature, be optimized for specific types of queries.
  • Spotlight obvious problems.
  • Consider tuning options that are transparent to users: indexes, segments, etc.
  • Estimate the requirements to resolve problems prior to final rollout. Find (or tool) what will simulate user activity, and act on acquired information.
Overall, quite an interesting chapter that prepares us for the more compelling ones.

Chapter 2: Physical Database Design Issues
It's true that from a purely practical standpoint, you'll find that 95% of query tuning for a database application is index selection. To do this correctly, the ones who tune the queries or procedures have to understand how the physical storage structures work (including how space is managed) and how the server chooses indexes. This chapter describes the different index types and how the data is stored physically in the server, and also describes what happens to indexes when the data changes (by inserting or deleting rows), which is necessary to understand as data modification statements can have a variety of adverse impacts on performance with regard to indexes.

Chapter 3: I/O - The Complete Works
As time passes, your database will grow and, with more data available to query, the database administrator will have to understand and tune the I/O system in order to provide adequate response times for retrieving and writing data. This chapter will help you solve upcoming issues. It's not only aimed at database administrators that have systems storing terabytes of information, but at those who have systems with a few hundred megabytes as well, as these can also be problematic. Its goal is to provide you with enough information so you can investigate and understand the systems and understand where the I/O bottlenecks are and how to solve them. The reader will understand that for professional tuning purposes it's important to be aware of the operating system and hardware limits. This will enable you to make educated guesses when it comes to configuring and tuning the ASE servers and the associated hardware. For me, as a more software-oriented consultant, it was very interesting to read about the available hardware and how to measure if changing something at the hardware level really helped to make the system faster.

Chapter 4: Indexes
The default mechanism for searching through data in the Adaptive Server is a table scan. This means that the table is treated as a list and searched from top to bottom. This is a perfectly reasonable method for finding information when the table is very small, but as the table grows, it becomes increasingly inefficient because scans are, by nature, an indirect way of accessing data rows. We learn that while indexes and their different index types are instrumental in improving the performance of queries, they can also slow the performance of inserts, deletes, and updates; we also learn why it's essential to use the different statistical methods that are available.

Chapter 5: The Optimizer Statistics
The previous chapter was a preperation for this chapter, where the authors dig into the details of the optimizer statistics. A tip provided: when upgrading to 11.9.2 or above from an earlier version, you'll need to take the statistics into consideration. It's a good idea to run update statistics after any upgrade. If a column is the leading column of an index when upgrading from a pre-11.9.2 version, the old distribution page is read and its values are used to establish the new statistics. This essentially copies the old statistics values into the new values. This copy is not as accurate as statistics obtained by reading the data in ASE 11.9.2 or above. I was impressed at how many administrators I met who didn't know that and haven't done it so far.

About Berndt Hamboeck
Berndt Hamboeck is a senior consultant for BHITCON (www.bhitcon.net). He's a CSI, SCAPC8, EASAC, SCJP2, and started his Sybase development using PB5. You can reach him under admin@bhitcon.net.

YOUR FEEDBACK
SYS-CON Canada News Desk wrote: Sybase ASE 12.5 Performance and Tuning. Over the past few years, there have been a number of titles released on the Sybase enterprise database management system. Administrator's Guide to Sybase ASE 12.5, released late last year, was widely adopted by consultants, DBAs, and administrators of Sybase ASE.
PBDJ LATEST STORIES . . .
Sybase, Inc. (NYSE:SY), a leading provider of enterprise infrastructure, mobile software, and mobile services, today announced that Terry Stepien, President of Sybase iAnywhere, will present on behalf of the company at the UBS Global Technology and Services Conference. The presentation...
Sybase 365 manages inter-carrier messaging services for more than 3 billion of the estimated 3.7 billion mobile subscribers worldwide, and for more than 700 mobile operators worldwide. Sybase 365's systems process more than 100 billion messages annually. With responsibility for over 80...
Particularly in a means of moving PowerBuilder applications to the web. What I’m looking for doesn’t require a server license or the installation of unmanaged code to the web server, and works well across different browsers (not just Internet Explorer). The WPF DataWindow will help...
As in prior years, the first thing I'll cover is what has changed (assuming that you attended in the past few years). We're back at the Mandalay Bay in Las Vegas. Near as I can tell, if you have to be in Las Vegas, this is the place to be. About the only complaint I had last year was t...
Recognizing that information technology is pervasive in today’s business organizations and is changing the way businesses function across virtually every industry sector, Boston University's School of Management created a unique dual degree program – the MS·MBA. This program fuses...
Up until recently, Web applications were "connected-only" applications. Users could only use the application by connecting to the central server and all data access was done in a single place. For many years, people accepted that was the limitation of Web applications. But it isn't a l...
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS
SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021


SYS-CON FEATURED WHITEPAPERS

ADS BY GOOGLE
BREAKING POWERBUILDER / SYBASE NEWS

Sybase 365, a subsidiary of Sybase, Inc. (NYSE: SY), the global leader in mobile me...