May, 2004  

  In This Issue

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

Free Oracle Utilities

BUGBUSTER - V$SQL_PLAN causes ORA-07445
By Garry Robinson, OracleAdvice

Affects Versions

 9.2.0.1.0, 9.2.0.2.0, 9.2.0.3.0 

Fixed in

 9.2.0.4.0 

BUG# (if recognised)

 <3 bugs relate to this issue> 

This info. correct on

 18-SEP-2003

Symptoms

Using a WHERE clause on queries against the V$SQL_PLAN table causes sessions to disconnect.

SQL> select * from v$sql_plan where address='000000038DAEB370';
select * from v$sql_plan where address='000000038DAEB370'
*
ERROR at line 1:
ORA-03113: end-of-file on communication channel

A glance in the alert.log shows an ORA-07445 error and a trace file left in user_dump_dest. Here is an extract from the trace file:

*** 2003-09-16 11:35:57.019
*** SESSION ID:(25.3760) 2003-09-16 11:35:57.010
Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0x1f8, PC: [0x101648efc, 0000000101648EFC]
*** 2003-09-16 11:35:57.024
ksedmp: internal or fatal error
ORA-07445: exception encountered: core dump [0000000101648EFC] [SIGSEGV] [Address not mapped to object] [0x0000001F8] [] []
Current SQL statement for this session:
select * from v$sql_plan where address='000000038DAEB370'

Workaround

You can workaround this problem by creating a temporary version of the V$SQL_PLAN table and excluding the FILTER_PREDICATES column which is a VARCHAR2(4000). Cut and paste the code provided and use the temporary table SQL_PLAN_FIX in place of V$SQL_PLAN.

Click Here for the script.
 

Oracle Administration

9i RAC: Cloning to a Single Instance
By Shankar Govindan

Cloning is a process that most DBA’s are aware of that needs to be done often to keep the production database from being vandalized by then developers and UAT’s. A production database needs to be cloned to test or development or training databases, so that the Application development and any customization can be tested and validated, before porting to production. User acceptance tests are not done and signed off after you go production, but by testing on a copy or clone of production at a point in time. Some sites need to clone often where data integrity and validation is important, whereas others need to be cloned once in few weeks. Either way, cloning is done to test upgrades or when patches are tested on a production copy before applying it to production. So, knowledge of cloning process is a must in any DBA’s job profile.

In this paper we are going to look at one of the important administration jobs, the cloning of a 9i RAC. We will look at how we could clone a 9iRAC database which can have any number of nodes (4 is the limit I think on Solaris and depends on the OS and cluster volume managers) to a single instance. When I say a single instance, it is still going to be a single 9iRAC instance for a RAC database and not a non-RAC database. To down grade after a clone, look up the downgrade document in Metalink.

Click Here for the article.
 
 


Fine-Grained Auditing for Real-World Problems
By Arup Nanda

Traditional Oracle Database auditing options let you track the actions users perform on objects at the macro level—for example, if you audit for SELECT statements on a table, you can track who selected data from the table. However, you don't know what they selected. With data-manipulating statements— such as INSERT, UPDATE, or DELETE—you can capture any changes by using triggers or by using the Oracle LogMiner utility to analyze the archived logs. Because simple SELECT statements are non-data-manipulating, they neither fire a trigger nor go into archived logs that you can mine later, so these two techniques fall short where SELECT statements are concerned.

Oracle9i Database introduced a new feature called fine-grained auditing (FGA), which changed all that. This feature lets you audit individual SELECT statements along with exact statements issued by users. In addition to simply tracking statements, FGA provides a way to simulate a trigger for SELECT statements by executing a code whenever a user selects a particular set of data. In this three-part series of articles, I'll explain how you can use FGA for solving real-life problems. This first installment focuses on building a basic FGA system.

Click Here for the article.

Note: This article was previously published on OTN .
Copyright 2004 Oracle Corporation. All rights reserved.
 

DB2

Basic Performance Tuning Part 2
By Roger Sanders, NetApp

If you read the first installment of this Distribued DBA column, you know that database performance problems typically arise from one of the following factors:

  • System (environment) configuration
  • Instance configuration
  • Database configuration
  • Database design
  • Application design.

In the previous column, I covered some general tuning guidelines and described how registry variables can be used to tune DB2 Universal Database (UDB) version 8.1 for Linux, Unix, and Windows at the system level. (Please note the correction regarding two of the registry variables on this page.)

In this column, I'll explain the instance and database configuration parameters available with DB2 UDB, plus the Configuration Advisor tool new to v.8.1.

Click Here for the article.  

Oracle Development

Transaction, Heal Thyself!  Part 4
By Darryl Hurley

Oracle 9i introduces a long awaited feature that suspends certain transactions instead of failing them straight away. In this series of articles Darryl presents a methodology to take advantage of resumable transactions to support sophisticated transaction processing requirements. Part IV imparts more details of his custom built solution for handling objects exceeding their maximum extent allotment.

This article was originally published in the October, 2003 issue of Oracle Professional.

Click Here for the paper.  

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

How to Make Sure You Have Good Passwords
By Robin Bäck , robin@robbac.com

As many articles have covered SQL passwords are very easy to figure out. SQL passwords are stored in the sysxlogins table in master database. To access this table you have to be a member of the fixed role sysadmin or sysadministrator. Still there are programs out there that use the lack of SQL accounts lockout to hack a password. What can we do to prevent this or at least make it harder for them?

Click here for the article.  
 

Project Management Tips & Techniques
Project Assumptions and Risks
Tom Mochal, www.tenstep.com 
Each month, Tom Mochal presents a set of project management tips and techniques for handling various aspects of planning and managing a project. Tom has over 23 years of IT experience. He has developed a comprehensive, scalable project management process called TenStep (www.TenStep.com). He has also developed PMOStep (www.PMOStep.com), which is focused on building, implementing and supporting project management methodology through a Project Management Office. Tom also has a comprehensive application support methodology called

Assumptions are very much related to risk, and, in fact are simply low-level risks. Let's take an example of a common statement that is included in many Project Definitions – that “the resources needed for this project will be available when needed.” What kind of a statement is this? Most people would say it is an assumption. After all, when a project starts, you always assume you will get the resources you need.

Click here for more on Project Assumptions & Risks.
 

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:  Generate Execution Plans Directly from the Library Cache
PL/SQL Tip of the Month:  Use a Parameter List to Reference Variables Declared Outside Your Cursors
DB2 Tip of the Month:  Common Mistakes When Using Joins
SQL Server Tip of the Month: Testing for Performance
MySQL Tip of the Month: Using Aliases
Puzzle

Interactive Crossword Puzzle: "Name That Dog"
 

 
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