Minimize
Blogger List

Johannes Ahrends
Toad and Oracle

Ben Boise
Toad SC Discussions

Kevin Dalton
Benchmark Factory

Steven Feuerstein
PL/SQL Obsession

Devin Gallagher
Toad SC discussions

Stuart Hodgins
JProbe Discussions

  Henrik "Mauritz" Johnson
Toad Tips & Tricks on the "other" Toads
  Mark Kurtz
Toad SC discussions
  Michael Lumbard
Toad SC discussions
Daniel Norwood
Toad for Data Analysts,
Toad Extension for Visual Studio
Debbie Peabody
Toad for Data Analysts
Gary Piper
Toad Reports Manager
John Pocknell
Toad for Oracle, JProbe
Kuljit Sangha
Toad SC discussions
Bert Scalzo Indicates Oracle ACE status
Toad for Oracle, Data Modeling, Benchmarking
Jeff Smith
Toad product family
Richard To
SQL Optimization
Jim Wankowski
DB2 - LUW and z/OS
John Weathington
  Toad Data Modeler Opens in a new window
Data Modeling
 
  Real Automated Code Testing for Oracle
Quest Code Tester blog
 
Minimize
Blog Tags
toad for oracle (122)
oracle (62)
plsql (46)
sql optimization (37)
toad for data analysts (28)
code tester (19)
toad for ibm db2 (13)
automation (11)
batch optimizer (10)
virtualization (10)
schema browser (9)
toad for sql server (9)
data grid (8)
sql (8)
sql editor (8)
toad data modeler (8)
benchmark factory (7)
excel (7)
query builder (7)
report manager (7)
toad extension (7)
visual studio (7)
11g (6)
configuration (6)
freeware (6)
health check (6)
vmware (6)
connect (5)
dba module (5)
er diagrammer (5)
F4 (5)
linux (5)
refactoring (5)
spotlight (5)
unicode (5)
compare (4)
debugger (4)
export (4)
formatter (4)
make code (4)
rman (4)
strip code (4)
benchmark (3)
bfscript (3)
bulk collect (3)
code templates (3)
code xpert (3)
database browser (3)
db2 (3)
notebook (3)
oem (3)
RAC (3)
session browser (3)
speed (3)
sql optimizer (3)
toad for mysql (3)
tpc-c (3)
9.7 (2)
alert log (2)
app designer (2)
awr (2)
code insight (2)
code snippets (2)
collection (2)
compare and sync (2)
compliance (2)
data generator (2)
data warehouse (2)
database explorer (2)
database monitor (2)
explain (2)
forall (2)
ftp (2)
group execute (2)
handbook (2)
installation (2)
job scheduler (2)
multi-task (2)
nested table (2)
os command (2)
profiler (2)
recovery (2)
release history (2)
save as (2)
schema compare (2)
sql recall (2)
stats pack (2)
subversion (2)
team coding (2)
trace file browser (2)
while loop (2)
10g (1)
64 bit (1)
7zip (1)
action (1)
addm (1)
alter (1)
ansi join (1)
array (1)
ccleaner (1)
code coverage (1)
code road map (1)
CRON (1)
cursor for loop (1)
data browser (1)
data subset (1)
database probe (1)
dbms_flashback (1)
dbms_profiler (1)
ddl (1)
feuerstein (1)
filezilla (1)
flash drive (1)
flow control (1)
for loop (1)
group policy manager (1)
hints (1)
import (1)
index (1)
inheritance (1)
invoker rights (1)
ipad (1)
java (1)
latency (1)
log switch (1)
logical model (1)
ltrim (1)
master-detail browser (1)
monitor (1)
multi-select (1)
naming standards (1)
network (1)
object explorer (1)
OEBS (1)
package (1)
parser (1)
partitioning (1)
performance (1)
pragma (1)
project manager (1)
RAT (1)
revo (1)
REXEC (1)
schema report (1)
script manager (1)
search (1)
set operator (1)
sga (1)
slow (1)
sonarsource (1)
source control (1)
space projection (1)
sql monitor (1)
sql navigator (1)
sql script (1)
sql tracker (1)
sql*plus (1)
standards (1)
statistics (1)
stored procedure (1)
string parser (1)
sub-model (1)
sub-type (1)
synch (1)
synchback (1)
TELNET (1)
toad (1)
trace (1)
unit test (1)
unix (1)
usb (1)
utility (1)
v10 (1)
v9.5 (1)
version control (1)
waits (1)
workload replay (1)
workspace (1)
xml (1)
 
WELCOME, GUEST
 
 

Blogs
Toad and Database Commentaries

Toad World blogs are a mix of insightful how-tos from Quest experts as well as their commentary on experiences with new database technologies.  Have some views of your own to share?  Post your comments!  Note:  Comments are restricted to registered Toad World users.

Do you have a topic that you'd like discussed?  We'd love to hear from you.  Send us your idea for a blog topic.


By Richard To on Friday, March 28, 2008 4:01 AM
Written by Rene Woody

 

We all know that it is important to create SQL statements that perform well in our database environment, but all too often, after creating a SQL statement that retrieves the correct results, the optimizing of the SQL statement is left for another time. Frequently, that time never arrives. Quest SQL Optimizer for Oracle automates the SQL optimization process so that it can be done for...
By John Weathington on Thursday, March 27, 2008
Inaugural entry for John Weathington’s Quest for Compliance. Here we get introduced to John, get clear on some compliance related definitions, and get acquainted with the impact compliance has on DBAs, database developers, and IT managers.
By Bert Scalzo on Wednesday, March 26, 2008 5:10 AM
I often get asked by both new and exiting customers to aid them in the cost justification process for purchasing Toad or upgrading their licenses. I thought since I get asked this so often, maybe a short blurb on the topic would be generally beneficial.

 

To write this blog, I’m using Microsoft Word. When I’m done, I’ll be emailing it to our Toad World site manager using Microsoft Outlook. Very few people would...
By Jeff Smith on 3/25/2008
As of April 1, 2008, if you are a current on maintenance and are using at least version 9.6 of Toad for Oracle, you will have complete access to our PL/SQL, Stored Java Source, and SQL*Plus script debugger regardless of your edition of Toad. Since the debugger made its debut in version 6.3 released all the way back in February of 2000, the functionality has been offered as a premium in Toad for Oracle.

Well, a few things...
By Mike Ault on Friday, March 21, 2008 9:58 AM
In my ten plus years as a database consultant before joining Quest Software I had the opportunity to visit hundreds of client sites. At client sites I performed analysis of their environments to help them improve the performance of their database systems. In this blog I want to talk about the top ten performance-related issues that I saw over and over again. The following table lists them in order of occurrence:

...
By Bert Scalzo on Wednesday, March 19, 2008 5:08 AM
An increasingly common question these days is does Toad support Oracle RAC (i.e. Real Application Clusters)? And if so – how, when and where?

 

HOW: There is nothing special required to support a RAC connection, other than a properly constructed tnsnames.ora file. Probably the best source for a correct RAC aware tnsnames.ora file should be your DBA. But I've included an example below. Some people ask why three...
By Richard To on Tuesday, March 18, 2008 5:31 AM
Written by Rene Woody  

Quest SQL Optimizer can do an extensive transformation of the syntax of a SQL statement while still maintaining the exact same result set. This exhaustive transformation can produce hundreds of SQL alternatives. So it is necessary to have some insight as how to find a SQL alternative that is better than your original SQL statement without spending too much time. This is especially true when...
By Steven Feuerstein on Monday, March 17, 2008 12:57 PM
  Collaborate08, annual conference of the International Oracle User Group, and several other national and international user groups, will be held in Denver this year, from April 13th to the 16th. I am going to present three papers, including (for the first time) Weird PL/SQL. I thought you might enjoy reading about some of the weirdnesses of PL/SQL in my ToadWorld blog, so here's an excerpt from the beginning of my whitepaper:

...
By John Pocknell on Monday, March 17, 2008
It’s almost that time again as another exciting new release of Toad draws closer !  

We’ve decided that, rather than let you wait until this release of Toad before you see what’s new, we’ll give you a little fore-taste now !  

The emphasis on this release is to simultaneously continue to add value through enhanced individual and team-oriented productivity and automation, increased support for improving code...
By John Pocknell on Friday, March 07, 2008
It’s almost that time again as another exciting new release of Toad draws closer !

 

We’ve decided that, rather than let you wait until this release of Toad before you see what’s new, we’ll give you a little fore-taste now!

 

The emphasis on this release is to simultaneously continue to add value through enhanced individual and team-oriented productivity and automation, increased support for improving...
By Jeff Smith on 3/6/2008
If you’re a loyal reader, you may remember a blog I published WAAAAAAAY back in July of last year. A few things have changed since then. Users now have 2 different Toad tools to help them get data from Excel merged into the data they already have access to in the Oracle database.  

A Brief Problem Description

...
By Bert Scalzo on Monday, March 03, 2008 6:16 AM
The Toad Handbook is over four years old now. Even the more recent second edition of the Toad Pocket Reference is over two years old. And there’ve...
By John Pocknell on Thursday, February 28, 2008
It’s almost that time again as another exciting new release of Toad draws closer !  

We’ve decided that, rather than let you wait until this release of Toad before you see what’s new, we’ll give you a little fore-taste now !  

The emphasis on this release is to simultaneously continue to add value through enhanced individual and team-oriented productivity and automation, increased support for improving code...
By Bert Scalzo on Wednesday, February 27, 2008 9:01 AM
One key task for many DBAs is maintaining a database version control or change revision history. Database version control affords the DBA the ability to restore the database to any prior state, or to detect unplanned database revisions that cause the database to be out of compliance with its specification. One could argue that the latter scenario would unlikely happen in a well controlled production environment – however sometimes...
By Bert Scalzo on Wednesday, February 20, 2008 8:54 AM
Did you know that Toad’s Database Probe screen is customizable? That’s why it’s vastly superior to the simple Database Monitoring screen. Here’s a basic screen snapshot:       Maybe I don’t think it’s a big deal that the SGA’s REDO LOG buffer can be pretty big these days – especially since it kind of sets itself...
By Bert Scalzo on Wednesday, February 13, 2008 10:11 AM
Ever wonder which indexes are being used in your database? Well Oracle 9i introduced the capability to track index usage. But you had to learn new ALTER INDEX command syntax to support this and then how to query V$OBJECT_USAGE view to see the index usage information. Well I’m too darn lazy, and why not be – as with most things in Oracle, Toad cleanly exposes this feature and increases its usability.

 

Let’s say...
By Mike Ault on Tuesday, February 12, 2008 9:28 AM
I was working the other day to rebuild my Linux 32 bit cluster in preparation for doing some tests between OEM and PAO for some internal training. I planned to use raw for my cluster configuration and voting files for CRS and ASM for the rest of the shared files. The 32 bit cluster had been up and operating fine and I had completed the testing I was doing so I retasked the drives to build a 64 bit cluster. I dropped the database...
By Bert Scalzo on Wednesday, February 06, 2008 7:36 AM
Sometimes people will request that Toad have a certain special new feature, often special to the task at hand which they’re trying to accomplish. Keeping in mind my recent Toad blog about SQL*Plus compatibility, there are very often easy ways to use existing Toad features to do what they want.  In fact, many times it’s simply...
By Steven Feuerstein on Monday, February 04, 2008 11:56 AM
Just how popular is PL/SQL?  

And how many PL/SQL developers are there "out there"?  

These are surprisingly hard questions to answer. Officially and even unofficially, Oracle Corporation's point people on PL/SQL do not have any idea (or refuse to say) how many PL/SQL developers there are.  

I take the approach of doing some rough extrapolations from numbers of books I and other PL/SQL developers have...
By Bert Scalzo on Friday, February 01, 2008 12:17 PM
Sometimes people will ask why can’t Toad work more like SQL*Plus – and the funny thing is the answer is quite often it does. You really just need to know how SQL*Plus works – and then look for the same feature within Toad. Let’s take a very, very common scenario that gets asked almost every quarter. Look at my SQL*Plus SELECT command in the screen snapshot below. Suppose that I always like to define the six SET commands for...
By Mike Ault on Thursday, January 24, 2008 2:20 PM
I recently gave a webcast about using indexes to boost your application performance, of course at the end of the webcast we took questions, unfortunately I wasn’t able to anser all of the questions so I pulled the ones I felt were most important and decided to answer them here in my blog. For the full webcast see : index webcast

...
By Jeff Smith on 1/21/2008
How often are you offered less work or fewer responsibilities? Rarely does that ever happen, and if it does, it could be a bad sign! Well, as a database administrator, your job gets more and more complex every day even as RDBMS vendors keep adding ‘automated management’ features. On top of all your day-to-day tasks and preventive maintenance you perform, your most pressing tasks are playing firefighter with the proverbial fires in the database.

...
By Bert Scalzo on Wednesday, January 16, 2008 1:16 PM
Last month, Jeff Smith wrote an excellent blog about Toad’s new Stats Pack capabilities.  And as Jeff pointed out, Stats Pack is an older – but free technology. While Oracle’s AWR and ADDM reports are clearly the next generation of performance diagnostics tools – and arguably preferable, you must purchase the OEM Tuning and Diagnostics packs to utilize these facilities. So even though DBA’s can access AWR and ADDM reports either through PL/SQL calls or the Toad DBA GUI – which simplifies access further, many people who use AWR and ADDM may not be properly licensed. Thus Stats Pack may well remain relevant for some time into the future due to its cost.

...
By Mike Ault on Wednesday, January 16, 2008 10:56 AM
Well, here I sit at 30,000 feet over the Atlantic heading for London and then on to Abu Dhabi. It seems like just yesterday I was doing a webcast for the Performance Allstars series on Instant Replay and the use of history to find problems, oh wait, that was yesterday!

 

During the webcast many excellent questions where asked concerning historical data capture and usage so I thought I would answer some of the...
By Jeff Smith on 1/11/2008
One might be tempted to think that with such a young tool like Toad for Data Analysis (TDA), that it would be a bit early to start trumpeting its advanced features and ‘hidden’ productivity boosters. In this case, one would be very wrong! Although Toad for Data Analysis is only up to release 1.1, it is built on top of Toad for SQL Server and Toad for DB2’s award winning platform. The development team has also included a couple...
By Steven Feuerstein on Monday, January 07, 2008 2:46 PM
You will find below an excerpt from my latest publication: the 2nd edition of Oracle PL/SQL Best Practices.  This edition is a complete rewrite of the 1st edition. I decided that since software is still, for the most part, written by humans, I would create a cast of characters who write the software I reference and critique in this book.

 

They...
By Bert Scalzo on Thursday, January 03, 2008 11:08 AM
There are many different types of Toad® users, and since job titles and descriptions vary so widely, it’s tough to say a typical Toad user looks like this and thus needs this. Thus Toad has evolved over time to meet the ever growing needs of our customers. Quest has two key Toad Yahoo discussion groups to facilitate the evolution and revolution of Toad The first group, groups.yahoo.com/group/toad, provides a useful and...
By Steven Feuerstein on Wednesday, December 19, 2007 5:41 PM
I usually write about best practice principles and general issues.

Today I thought I would share a bit of my pain with you on a very specific topic: single quotes and CLOBs, and specifically on Oracle 10.2.0.3.

I figure that I lost an hour or two of my life to this one, and would like to pass on the warning to you all.

In Quest Code Tester, we store in put and expected values that you provide in your test...
By Jim Wankowski on Tuesday, December 18, 2007 10:57 AM
One of the nicer features within Toad® for DB2 is the wide array of reporting capabilities. There is a constant requirement for managerial level reports that need to be run on a regular basis. Many of these reports are generating using reporting tools like QMF, Crystal Reporting, etc. Toad’s data reporting facility provides an easy method for generating professional report templates which can be saved and reused. I will take...
By Bert Scalzo on Monday, December 17, 2007 1:20 PM
It’s not uncommon for software to increase in install size and memory footprint over the years – and Toad® is no exception. But, that does not mean that these newer versions have to run more slowly. We take great pride in keeping Toad expedient as it matures. Thus do not simply assume that if your Toad is running slower these days – that it’s just the “cost of progress”. Most often there are simple steps to keeping Toad humming...
By Jeff Smith on 12/12/2007
I’ve been promising to deliver a write-up on Toad’s new support for Statspack, and I’ve finally gotten around to doing it!  Statspack has been around since the 8i release of Oracle.  If you are unfamiliar with the technology, please read this.  If you’re already a Statspack user and would like to see how Toad can help you take advantage of...
By Steven Feuerstein on Tuesday, December 04, 2007 8:41 PM
Winter is descending on Chicago; we had our first snow (flurries, really) on Thanksgiving Day, and the sun is weak. For many, this is a depressing time – and I mean that the lack of that and cold actually does make people feel depressed. Perhaps that is why I found myself thinking negatively – that is, about exceptions in PL/SQL. So I thought I would share with you some of the features and functions available in PL/SQL, especially...
By Bert Scalzo on Friday, November 30, 2007 3:50 PM
When we create a super-and-sub type (a.k.a. Inheritance) entity relationship in a logical data model, it’s very clear what the business requirements being communicated are – that different subsets of attributes comprise the “cumulative entity” being modeled depending upon the business context.

So the Toad Data Modeler 3.0 logical diagram shown below relates that Entity1 always has the parent attributes of E1_Attribute1-4,...
By Jeff Smith on 11/29/2007
I was initially planning on writing up a review of the new Statspack support in Toad version 9.5 for my next blog, but I wanted to make sure all of our Toad users were aware of the new installation process first!



There are a few things you need to know before you go to upgrade your copy of Toad.  Let’s go over them very quickly so you can start using the latest and greatest copy of your favorite software...
By Steven Feuerstein on Wednesday, November 28, 2007 1:24 PM
Would you like to increase productivity, improve code quality, and ensure that standards are being followed? Of course you would! And one of the best ways to do that is to rely heavily on Toad's Code Templates (similar functionality exists in SQL Navigator as well).

Code Templates are chunks of code that you can assign a name and description. You then use the name to quickly copy the associated code into your editor....
By Jim Wankowski on Wednesday, November 21, 2007 8:24 PM
In many cases there is a need to create an object or to execute an SQL statement in multiple locations. The group execute option in TOAD for DB2 allows you to execute a script against multiple environments with one easy step.  Let’s step through a few use cases.

Example 1:  A new table needs to be added to multiple databases.  The first step is to generate the necessary DDL and send it to the editor.



...
By Jeff Smith on 11/20/2007
I have worn many different hats here at Quest, and recently put on another in the Sales organization. Regardless of what my official title has been, talking to our Toad customers has always been one of the most rewarding aspects of my career. I decided a long time ago that I would do all I could to master Toad and share my findings with others. I hope to never stop learning or sharing!   One of the more intense experiences...
By Bert Scalzo on Friday, November 16, 2007 10:41 AM
This blog posting is not meant to demean or slander the Oracle database in anyway. I’ve staked almost my entire career on Oracle technologies – and I intend to finish these last 7-10 years doing more Oracle stuff. To quote a funny Saturday Night Live skit: “Oracle has been very, very good to me.” So my comments are more about how “uninformed” installation of the latest Oracle release on a notebook could lead to negative surprises. 

...
By Steven Feuerstein on Sunday, November 11, 2007 11:13 AM
Sorry about the late posting, but if you are interested in attending my presentations, here's the info: Session ID: S290723 Session Title: Break Your Addiction to SQL! Track: Database Room: Grand Ballroom A Date: 2007-11-12 Start Time: 12:30

Session ID: S290725 Session Title: Collect Yourself: Optimize PL/SQL Code with Collections Track: Database Room: Yosemite Room B Date: 2007-11-12 Start Time:...
By Bert Scalzo on Tuesday, November 06, 2007 8:14 AM
Probably one of the most useful and frequented tasks performed with Toad® for Oracle is saving data to a file, such as comma delimited text (or any of the other numerous formats supported). It’s a relatively easy feature to find – you simply depress the “right hand mouse” (RHM) while anywhere within the displayed data grid and choose the “save as” option as shown below, but what if you could make that save operation run 10X...
By Bert Scalzo on Wednesday, October 31, 2007 6:46 AM
Oracle’s Parallel Query Option (PQO) is a fantastic tool, but much like any good tool, it can very easily be used in the wrong situation or simply abused. In those cases, PQO can actually make database performance much worse. Let’s examine some common misuses or misperceptions regarding optimal and efficient PQO usage.

1.      PQO make sense universally on any SMP or multi-processer database server 

Not really....
By Jim Wankowski on Monday, October 29, 2007 2:27 PM
I just got back from the IBM IOD conference in Las Vegas; it was a great show. Every year there is usually some buzz about what is “hot” with DB2. This year’s buzz was heard loud and clear – XML was being discussed just about everywhere. This is definitely the driving focus for the latest release of DB2 running on both LUW and z/OS. Toad® for DB2 3.0 has many XML features already enabled. You can create tables with XML data...
By Jeff Smith on 10/26/2007
If you frequent Toad® World, then you are probably aware of the fact that Quest has a technology that offers to automatically tune your poorly performing SQL statements.  When I speak to customer or prospective clients, it is generally received extremely well.  Why is that?  Of ALL the problems that database professionals have in common, the biggest pain...
By Bert Scalzo on Monday, October 22, 2007 4:09 AM
OK – now that I grabbed your full attention with that snappy title, let’s see just how to run the Toad® on your Linux desktop or notebook. Let’s say that you’re running Redhat, CentOS, SuSE or Ubuntu Linux on your PC, let’s further assume that you would like to run Toad either commercial or freeware on that PC against your local or remote Oracle database. But shoot, Toad is a Windows only program – so what’s a body to do?

...
By Steven Feuerstein on Thursday, October 18, 2007 8:50 AM
All files referenced in document available from: www.oracleplsqlprogramming.com/downloads/demo.zip.

Introduction

Very, very few of us write perfect programs the first time, or the second time, or…. You get the idea. Our code is never perfect and can always be improved. Martin Fowler developed a technique he calls "refactoring," and it has become quite popular in the world of Java. Here is Mr. Fowler's description of refactoring:

...
By Jeff Smith on 10/15/2007
They say time flies when you’re having fun, and it seems like 2007 has gone by at a record pace. 2007 has seen quite a few exciting developments in the ‘Toad World’ arena. In addition to Toad World itself, we have seen a new unit testing tool for PL/SQL and a version of Toad made just for analysts released. In addition we’ve seen the industry leading Toad for Oracle, Toad for SQL Server, and Toad for DB2 products enhanced with new versions and new capabilities in the last few months. ...
By Jim Wankowski on Friday, October 12, 2007 11:13 AM
Hey DB2’ers,

I had a busy week last week speaking at the Central Canadian DB2 Users Group in Toronto and visiting with customers. The best part of this job is that I have the opportunity to speak to many people in the DB2 community and get to hear what they are doing with DB2 and what their needs are from a tool perspective.

It’s interesting to hear that although companies are using DB2 for a variety of applications...
By Bert Scalzo on Wednesday, October 10, 2007 10:26 PM
1. I’m using a tool like Quest’s Benchmark Factory®, so that’s all I need.



Wrong. I highly recommend that anyone doing benchmarking read the specs for whatever industry standard tests they are going to perform. Because software to automate these tests will ask questions or present options that you cannot really define unless you understand their context – which is defined in the spec.



For example,...
By John Pocknell on Wednesday, October 10, 2007
Problem Resolution

For those of you who read my previous blog from last week, or read the recent White Paper entitled “Simplifying Oracle Database Administration” written by Mike Ault, Bert Scalzo and myself, you’ll have seen from the survey carried out by James F Koopmann that about 20% of a typical DBAs...
By Richard To on Tuesday, October 09, 2007 4:45 AM
There are at least two database vendors are trying to build self-learning SQL optimizers. The idea is to use actual statistics from executed SQL statements to rectify the future cost estimation of the same or similar SQL statements. It seems like a good idea, but, you will find that their existing self-learning SQL optimizer is either turned off by default or built as an individual tuning advisor. Of course, we cannot say that they will not provide a better and fully automatic solution in future. But the fact is that this technology is not mature enough to be turned on automatically today. Furthermore, database SQL optimizers have a lot of problems pending that still need to be solved. They should not just focus on the error of cost estimation without taking care of the small plan space problem.  

...
Search Blog Entries