February, 2005  

  In This Issue

All articles have been reprinted with the written consent of their respective authors.


Visit the New and Improved Pipetalk Boards

Have you got a database question that you need answered? Do you have a useful solution or bit of code that you would like to share and get feedback on? Then visit our Pipetalk boards where you can interact with thousands of other database professionals. Hosted by a team of industry experts, the Pipetalk boards are the place for insightful and practical discussions on all aspects of database development and administration. We have recently upgraded our hosting software so the boards are faster and easier to use than ever.

We currently host Pipetalk boards for Oracle DBAs, Oracle PL/SQL, DB2 and MySQL. Log on and join the Pipeline community of database professionals today!


Free Utilities

Report on Redo Log Contention
by Jeffrey Hunter, www.idevelopment.info

This script is used to report on overall redo log contention for the instance since the instance was last started.

Click here for the script.
 

DB2

Doing More With More
By Chris Fierros, Ten Digit Consulting

The latest release of DB2 Universal Database is brimming with features that make life easier for developers and DBAs alike.

DB2 Universal Database (UDB) for Linux, Unix, and Windows v.8.2 (initially known by its codename, "Stinger") continues to deliver on IBM's promise of self-configuring, self-optimizing, and self-managing database management capabilities. In fact, with more than 100 new and improved features, DB2 UDB v.8.2 should prove to be the most significant point release of this product.

DB2 UDB v.8.2 offers features that significantly increase productivity of database administrators and developers and meet complex data management requirements. For example, improvements to stored procedures provide developers with more flexibility to solve complex business processing challenges, while reducing database administration tasks at the same time.

I'll present an overview of the many new and improved features packed into this release.

Click here for the article.  

Oracle Development

Explain Plan's AUTOTRACE Facility
Topic Extracted from Knowledge Xpert for PL/SQL

The EXPLAIN PLAN command is not the only way to see an execution plan for a given SQL statement. SQL*Plus includes the AUTOTRACE facility. The problem with the EXPLAIN PLAN command is that the EXPLAIN PLAN statement has to be explicitly run for the query you want to examine, then the plan table has to be queried. Once done, the information may be removed from the plan table before the process is repeated.

The AUTOTRACE facility is an easier way to accomplish the same goal. The AUTOTRACE facility is only available in SQL*Plus. Unlike the EXPLAIN PLAN command, the AUTOTRACE facility must use a table called PLAN_TABLE. The EXPLAIN PLAN command can use a plan table of any name. The PLAN_TABLE table can be created with the ORACLE_HOME/rdbms/admin/utlxplan.sql supplied script. Additionally, before starting the AUTOTRACE facility, you must have been granted the PLUSTRACE role. This role is created with the ORACLE_HOME/sqlplus/admin/plustrce.sql supplied script.

Click Here to read more on the AUTOTRACE facility.
 

Have you written a Users Group paper or presentation that you would like to share with your colleagues around the world?  Send your paper to newsletter@quest-pipelines.com for possible publication in the Pipeline Newsletter.  If your article is accepted, it will be mailed to over 28,000 readers!
Microsoft SQL Server

Use SET STATISTICS IO and SET STATISTICS TIME to Help Tune Your SQL Server Queries
By Brad M. McGehee, Sql-Server-Performance.Com

This is not an article on how to tune queries (that subject would take a book), but an article on how to use the often overlooked Transact-SQL SET STATISTICS IO and the SET STATISTICS TIME commands to help us tune our queries.

On the surface, the goal of performance tuning a query seems simple enough. Essentially, we want our queries to run faster. Whether it is trimming a query that takes 10 minutes down to 1 minute, or trimming a 2 second query down to 1 second, our ultimate goal is to reduce how long it takes our queries to run.

Click here for the article.  


As the winner of the 2004 Microsoft Global ISV of the Year award, we'd like to make you aware of some exciting free training opportunities! Starting in January 2005, Microsoft will deliver a fast-paced week of training with at least 15 free WebCasts and, following, at least 1 WebCast per week focusing on specific developer topics for SQL Server 2005. Go to http://msdn.microsoft.com/SQL/2005Webcasts for all the details.

Everyone who attends a WebCast will receive a copy of the SQL Server 2005 Beta 2 Resource Kit and the Beta 3 Resource Kit when it ships. Also, the first 1500 people that watch 5 or more WebCasts will also receive a special, limited edition SQL Server 2005 WebCast T-shirt. Additionally, all WebCast viewers will be entered into a competition to win an XBOX, one for each day of the week. (see http://msdn.microsoft.com/SQL/WebcastRules.aspx)
 

MySQL

Procedural Programming in MySQL - Part 2
By Andrew Gilfrin, www.mysqldevelopment.com

In the first part of Procedural Programming in MySQL published in last January’s Pipelines newsletter we looked at the basics of creating functions and procedures within MySQL. We looked at functions, procedures, parameters, variables and finally at the Select Into syntax.

The first release of Stored Procedures within MySQL set a base level of functionality that should suit most basic programming requirements, but that’s not to say all of the standard features of a programming language are not present. In this second part we will be looking at the features of the language we didn’t cover in the first part. We won’t be looking explicitly at how to code these features as that would require much more space and time than we have here, but at the end you will have an understanding of what’s available to you.

Click Here for the paper.
 

Project Management Tips & Techniques
Do You Know When Your Project is Officially Over?
Tom Mochal, www.tenstep.com 
Each month, Tom Mochal, President of TenStep, Inc. presents project management tips and techniques for planning and managing a project. TenStep, Inc. has a comprehensive, scalable project management process called TenStep (www.TenStep.com), as well as a project lifecycle process called LifecycleStep (www.LifecycleStep.com). Pipeline readers receive 20% off any TenStep or LifecycleStep purchase by entering the coupon code of "Pipeline" in their purchase.

One of the characteristics of a project is that there is a definite start and end date. This seems simple enough until you start to try to define exactly what these dates mean. There are no universally recommended standards for either date. In many respects, it depends on each organization and whether there are any implications for choosing one alternative over another. There are a number of potential events that could signify the project end date. Two definitions come up often, but don’t really help settle the fundamental question.  

Click here for more information on knowing when your project is over.
 

News & Events

Free Webcasts
For detailed information on these free webcasts, please visit our News and Events page.

Tips of the Month
Oracle DBA Tip of the Month:  Undocumented ALTER SESSION Command
PL/SQL Tip of the Month:  PL/SQL Distance Calculator
DB2 Tip of the Month:  Retrieving Yesterday's Date
SQL Server Tip of the Month: Tips to Speed Up INSERTs
MySQL Tip of the Month: Enforcing NOT NULL in MySQL
Puzzle

Interactive Crossword Puzzle: 90's Trivia
 

 
1 Down - Oracle, for Example
Test your knowledge with the Pipeline Newsletter's Monthly Crossword Puzzle. 

Click here to Play!

Regular Features

We love getting white papers, tips, articles, and code examples/archives from our readers around the world.  Send your submission to newsletter@quest-pipelines.com.  If your article is published, it will be mailed to over 28,000 subscribers.

Our mission at Quest Software - RevealNet Labs is to anticipate the daily responsibilities and challenges faced by database professionals.  Our products help thousands of people solve problems and implement solutions every day.  This newsletter is designed to help facilitate the sharing of information among database professionals.  

About the Newsletter

This newsletter is distributed to Quest Software - RevealNet Labs customers, prospects and friends who have subscribed to it from our website. If you would like to unsubscribe, please visit http://qlist01.quest.com/UnsubMailingList/

Subscribe a Friend!

Do you know someone who would like to receive the Pipeline Newsletter? If so, please enter their email address in the box below and click SUBMIT.

  
Subscribe to re:Quest,
Quest's Quarterly newsletter with articles, new product announcements, success stories and much more.
 

Past Issues of the Pipeline Newsletter