WELCOME, GUEST
Minimize
Blogger List

Steven Feuerstein Indicates Oracle ACE director status
PL/SQL Obsession

Guy Harrison Indicates Oracle ACE status
Database topics

Bert Scalzo Indicates Oracle ACE status
Toad for Oracle, Data Modeling, Benchmarking
Dan Hotka Indicates Oracle ACE director status
SQL Tuning & PL/SQL Tips

Valentin Baev
It's all about Toad

Ben Boise
Toad SC Discussions

Dan Clamage
SQL and PL/SQL

Kevin Dalton
Benchmark Factory

Peter Evans 
Business Intelligence, Data Integration, Cloud and Big Data

Vaclav Frolik  
Toad Data Modeler, Toad Extension for Eclipse

Devin Gallagher
Toad SC discussions

Stuart Hodgins
JProbe Discussions

Julie Hyman
Toad for Data Analysts

  Henrik "Mauritz" Johnson
Toad Tips & Tricks on the "other" Toads
  Mark Kurtz
Toad SC discussions
Daniel Norwood
Tips & Tricks on Toad Solutions
Amit Parikh
Toad for Oracle, Benchmark Factory,Quest Backup Reporter
Debbie Peabody
Toad Data Point
Gary Piper
Toad Reports Manager
John Pocknell
Toad Solutions
Jeff Podlasek
Toad for DB2
Kuljit Sangha
Toad SC discussions
Michael Sass 
Toad for DB2
Brad Wulf
Toad SC discussions
Richard To
SQL Optimization
  Toad Data Modeler Opens in a new window
Data Modeling
 
  Toad Higher Education
How Hi-Ed Uses Toad
  Real Automated Code Testing for Oracle
Quest Code Tester blog
  中文技术资料库
技术文章
 

Blogs

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.


Author: Bert Created: Monday, October 30, 2006 2:02 PM RssIcon
Bert Scalzo is a product architect for Quest Software, a member of the Toad team and an Oracle ACE. He has worked with Oracle databases for over two decades; his key areas of interest are data modeling, database benchmarking, tuning and optimization, "Star Schema" data warehouses and Linux. Bert is the author of several books and has written articles for many online outlets and publications, and has presented at numerous Oracle conferences and user groups.

Bert's blog provides useful Toad “how to” and “tips and tricks” covering topics on database admin and benchmarking.

Recent postings:

By Bert (User) on Wednesday, March 30, 2011 11:32 AM
A few years ago I wrote a blog titled “Run Toad off a USB Flash Drive”. It’s been a fairly popular blog, but it’s also quite out dated now – so I thought I’d update it.

The original blog had several shortcomings – mainly that it was specific to (i.e. only tested against) the current version of Toad at...
By Bert (User) on Wednesday, March 23, 2011 4:15 AM
There are two very distinct and unique types of bitmap indexes within Oracle: bitmap indexes and bitmap join indexes. Let’s examine the fundamental difference between them.
By Bert (User) on Wednesday, February 23, 2011 8:04 AM
It’s not uncommon after a database has been in use for a short while for the UNDO tablespace to grow “artificially” large. In my case I have a little local database on my notebook where the UNDO started at 100 MB and over about a month’s time grew to over 3 GB. Since I backup my notebook’s local database by simply shutting the database and zipping up the %ORACLE_HOME%\oradata\SID directory – my zips take longer to compress...
By Bert (User) on Tuesday, February 22, 2011 4:12 PM
The February issue of SQL Server Magazine  (yes – much like Darth Vader I dabble on the dark side) had a very interesting article by Vic Newell titled “4 Ways to purge Non-Partitioned Data”. The basic premise is that in...
By Bert (User) on Thursday, December 30, 2010 6:44 AM
I replied to a TOAD user question a few days back on our TOAD Yahoo group in response to a question about why TOAD seemingly did not audit their DDL commands when they had in fact successfully turned on database auditing. If you’re connected as SYS or any other user with either the SYSDBA or SYSOPER connection option (highlighted in the screen snapshot below), then your commands are not audited in any tool unless that database’s initialization parameter for AUDIT_SYS_OPERATIONS = TRUE.

...
By Bert (User) on Tuesday, November 23, 2010 10:43 AM
I’ve written several blogs over the past couple years on how to speed up TOAD when its screens or utilities seem to take minutes instead of seconds. In many cases (i.e. Oracle versions 10.X and 11.X), the case is often that the DBA is not manually collecting statistics on the data dictionary – that many believe that Oracle does this all “Auto-Magically” for them. And as you can see in those various blogs – it does not.

...
By Bert (User) on Wednesday, October 20, 2010 7:11 AM
Sometimes information systems professionals can draw some very useful analogies from the hard sciences. For example physics offers us one very useful concept – the states of matter. Figure 1 shows an excellent diagram that I copied from Wikipedia explaining the four states of matter.

 

...
By Bert (User) on Friday, October 08, 2010 8:58 AM
In Part 1 of this topic I proposed that while SQL is not an overly complex language in theory the SELECT command syntax permits numerous equivalent ways to write queries. Therefore the SQL language really is not as simple as we generally believe.

 

Here’s the simple query I utilized as the starting point for discussion:

...
By Bert (User) on Tuesday, September 14, 2010 6:47 PM
Most technical people working with Oracle databases have performed some degree of PL/SQL coding. With Oracle delivering many new database features via a PL/SQL API’s (e.g. DBMS_DATAPUMP, DBMS_SCHEDULER, DBMS_FLASHBAK, DBMS_RESOURCE_MANAGER, DBMS_REDEFINTION, etc), even DBA’s have become more engaged with PL/SQL. As for database developers – well they always knew what a jewel PL/SQL was for handling certain tasks. In fact it...
By Bert (User) on Tuesday, September 07, 2010 9:58 AM
In the good old days most DBA’s could walk into their computing center and point to their database server and its disks. Furthermore, many DBA’s could also point to specific disks and state which database objects they housed. In fact database object placement and separation was a key tuning consideration back in the day. Oh my how times have changed.
By Bert (User) on Friday, August 06, 2010 7:19 AM

A lot of times people will post an issue to the Toad discussion forum or email me offline about Toad running too slow and what can they do. I’ve always told them to run the following two commands to correct the problem:

By Bert (User) on Monday, July 12, 2010 6:22 AM
SQL is not an overly complex language in theory. The data manipulation language or DML consist of four primary commands: INSERT, UPDATE, DELETE and SELECT. Newer versions of Oracle also offer the MERGE command, which is an “upsert” – meaning it tries an update followed by an insert as a single command. Since the SELECT command is the one we use most since queries are the majority of database operations, let’s examine statement...
By Bert (User) on Wednesday, July 07, 2010 12:16 PM
Many people firmly believe in Cary Millsap’s database optimization approach known as Method-R from his very popular book Optimizing Oracle Performance. That includes...
By Bert (User) on Tuesday, June 29, 2010 6:00 AM

A little known feature in TOAD is the ability to monitor and track both the database’s disk space usage and disk IO patterns. Moreover TOAD offers the ability to perform projections for each as well.

By Bert (User) on Monday, June 28, 2010 5:24 AM
Servers everywhere are being virtualized. Yet many DBA’s are hesitant to embrace virtualized database servers. I’ve been mystified by this anomaly, so I’ve asked those opposed for their rationale. While there are numerous arguments against, basically two pervasive themes surface from amongst all the replies.

First and foremost, DBA’s almost universally claim that their databases are “mission critical” and cannot suffer...
By Bert (User) on Monday, May 24, 2010 6:06 AM
I wrote a blog a few weeks back titled TOAD 10.5 Freeware Runs on Linux. So here comes the second and more important part for many – getting the official commercial product installed and working on Linux. And to me great and very happy surprise, the install simply worked. Look at the screen snapshot below. It shows that I now have both the TOAD freeware and commercial installed and working side by side on my Ubuntu 10.04 Linux machine. Hurray!

...
By Bert (User) on Monday, May 17, 2010 5:45 AM

Toad is a robust and mature tool – so there are many more features than most of us can ever hope to master. But one that’s very useful yet widely unknown is the ability in the Schema Browser to perform intelligent/contextual jumps to related items.

By Bert (User) on Monday, May 10, 2010 8:59 AM

I’m running Toad for Oracle 10.5 freeware “natively via WINE” on Linux – specifically Ubuntu 10.04. Therefore you can now run the world’s favorite Oracle database tool on Linux. Goodbye Windows!

By Bert (User) on Monday, May 10, 2010 4:51 AM
Quest recently released a new and updated version of the Toad for Oracle freeware. The old freeware was based on the old Toad 8.5 code base which came out before 10gR2, 11gR1, and 11gR2. So for example it had some problems supporting database versions and features that came out years later (e.g. 11g case sensitive passwords). The new freeware is based off the latest and...
By Bert (User) on Monday, May 03, 2010 6:26 AM
The first blog on this topic demonstrated the two primary methods by which to automate a DBA task in Toad such as the popular Database Health Check report. We saw that either using the “DB Health Check” screen (i.e. METHOD-#1) or the “App Designer” directly (i.e. METHOD-#2) how to create the automated task or action – plus how to schedule it and...
By Bert (User) on Monday, April 19, 2010 5:20 AM
Wouldn’t it be nice to have an email message every morning in your inbox regarding the relative health of your databases – specifically only exception type reporting for those that have issues? That way you could “hit the ground running” each morning and address any problems as soon as you read your email. With “Toad® DBA Suite for Oracle” you can easily setup receiving such automated database health check problem reports via email in just a few simple steps. Furthermore, you can also share all such automated Toad task definitions via email.

...
By Bert (User) on Monday, December 21, 2009 12:07 PM
One of the most common TOAD questions or problem areas is with connecting to remote and/or local databases. The process and requirements are actually quite simple – yet this remains a high frequency question that seems to cause remarkable confusion. And not just for new Oracle or new TOAD users, as sometimes even old pros can forget and ask. They just often do a Homer Simpson “Doh”...
By Bert (User) on Monday, December 14, 2009 6:42 AM

We all love TOAD – both the commercial and freeware versions. We love it because it’s simply the best Oracle productivity enhancing tool out there. A few weeks back, I mentioned the many other freeware offerings from Quest. So this week I thought I’d mention a few other freeware offerings that serve me nearly as much as TOAD – just in different functional areas. Here are my top five.

By Bert (User) on Sunday, December 06, 2009 6:33 PM
Many TOAD users ask “How can I run my SQL script against a collection or even all my databases all at once (i.e. in a single step)?” The problem is they generally ask this question while in the Editor – which by definition works with but a single active database connection at a time. But if you simply save the editor contents to a SQL script file – you can then use the TOAD Script Manager to execute that script against any...
By Bert (User) on Monday, November 30, 2009 5:26 AM
Often database professionals need good freeware tools to get their job done. Sometimes it’s because there’s no funding for software. And in some cases a tool is needed to replace the purchased tool that ends up not being able to do the job. Finally in today’s world of open source, some people just hate to pay for tools – even if there is budget and/or the job clearly could benefit from commercial quality tools.

For...
By Bert (User) on Monday, November 16, 2009 5:46 AM
It’s been a while since I wrote my data warehousing book, so I wanted to read something hip and new on the topic. Lucky for me someone suggested that I examine “Oracle Warehouse Builder 11g: Getting Started”...
By Bert (User) on Monday, November 09, 2009 6:05 AM
Many people these days have to work on both traditional “online transactional processing” (i.e. OLTP) systems as well as data warehouses. But just what is a data warehouse? Generally speaking a data warehouse is nothing more than a specialized business reporting system used by mid to senior level management to research and develop a tactical plan and/or true long term strategy. Thus in many cases while these systems may be considered mission critical, they are not really true 24 X 7 systems. Often data warehouses are utilized during normal to extended business hours, with some batch activities for data loading and aggregation/summary calculations.

...
By Bert (User) on Monday, November 02, 2009 12:32 PM
I want to start by thanking everyone who participated in the free TOAD book contest by submitting new feature ideas or enhancement requests. I received numerous good ideas. I also received about a third that were already in TOAD – and have been for a long time.  I actually can benefit from those emails too, since Quest can probably better expose and/or offer training on those issues. Remember too this was an entirely subjective...
By Bert (User) on Thursday, October 22, 2009 3:48 AM

When designing and constructing a successful (i.e. effective and efficient) relational database, there are two fundamental sets of rules or design principles that are universally accepted and generally practiced by database architects.

By Bert (User) on Wednesday, October 14, 2009 3:34 AM
TOAD offers three distinct ways to connect to your database, as shown by the three tabs circled below on the connection screen. In this week’s blog we’ll examine the differences between the first two: TNS and Direct. No matter which of the three methods you choose, TOAD requires the Oracle “SQL*Net” client to be on your PC. TOAD needs to talk over the network to your database, and that requires certain Oracle network DLL files...
By Bert (User) on Wednesday, September 30, 2009 3:53 AM
Last week’s blog was part 2 of a 3 part series about techniques for optimizing a notebook PC for running Oracle database within a virtual machine. In part 1 I detailed my “top ten” ideas for proper host (i.e. notebook) configuration. In part 2,...
By Bert (User) on Wednesday, September 23, 2009 6:52 AM
Last week’s blog was part 1 of a 3 part series about techniques for optimizing a notebook PC for running Oracle database within a virtual machine. In part 1 I detailed my “top ten” ideas for proper host (i.e. notebook) configuration. This week I’ll offer a comparable...
By Bert (User) on Wednesday, September 16, 2009 11:01 AM
People have often asked me “How do I optimize my Oracle virtual machines running on my meager notebook PC?” So I decided to put together this quick checklist to assist with just that question.

 

Let's assume that you have the typical recent or last generation of notebook PC, that is one with a dual core CPU and say a max 4 GB of RAM. Here's how to optimize your Oracle VM on that hardware. The advice below are...
By Bert (User) on Wednesday, September 09, 2009 4:50 AM
While TOAD offers numerous capabilities, many people often spend a majority of their time simply “browsing” existing table data. Even when writing SQL or PL/SQL code to perform some business function or action, developers need to see what the data looks like in order to write the code. And of course business analysts and managers often look at the data in order to spot patterns or drive report design. For these needs people...
By Bert (User) on Wednesday, September 02, 2009 3:11 AM
Face it, we’ve all been there – that moment when we’ve done something a wee bit too fast and then realize we probably shouldn’t have done it. Then we often generally say something like “stupid database” or “stupid TOAD’ or “stupid whatever. But there are ways to recover without having to go hat in hand to the DBA and beg forgiveness and obtain a recovery. More recent versions of Oracle offer several wonderful “Flashback” options...
By Bert (User) on Thursday, August 20, 2009 6:52 AM
I have written a book about Optimizing Oracle on VMware, plus have both a paper and presentation regarding the same. Furthermore I have also written blogs about Virtual Paranoia and a four-part series Oracle + VMware = Success. These basically all espouse essentially the same fundamental belief – that database virtualization is here to stay, and is rapidly moving towards mainstream.

 

But a couple legitimate questions or concerns are always brought up (and they are good questions). I’m going to address the three that I hear most often, because I believe having the answers to just these will knock down 80+% of all the roadblocks to virtualizing your databases.

...
By Bert (User) on Wednesday, August 12, 2009 5:01 AM
One critical task for DBA's is maintaining their database versioning history. For example the database objects were in some specified state (in terms of their construction) on such and such a date. The key reason this is critical is that application updates and bug fixes often require database modifications. So the DBA must maintain a database versioning history that matches such changes. There are two chief reasons for this:...
By Bert (User) on Wednesday, August 05, 2009 5:06 AM

This is the 3rd of 3 blogs on Toad for Oracle DBA features

By Bert (User) on Thursday, July 30, 2009 6:03 AM

This is the 2nd of 3 blogs on Toad for Oracle DBA features

By Bert (User) on Thursday, July 23, 2009 4:02 AM

This is the first of 3 blogs on DBA features in Toad for Oracle

By Bert (User) on Wednesday, July 15, 2009 5:02 AM
Sometimes information systems professionals can get “caught up” in our own worlds. For example, project managers and their developers might focus on latest and greatest application development methodologies such as Extreme Programming (XP) or Agile Development. Likewise enterprise architects might be adopting some new or updated modeling conventions. While database administrators (DBA’s) are often engaged and engrossed in the latest database versions and their new features. Now also include the new versions of the software we use to build systems, hardware’s exponential growth, new programming languages and everything else in a state of flux in our worlds – it’s easy to see why we’re often so overwhelmed that we forget some very basic facts.

...
By Bert (User) on Wednesday, July 08, 2009 6:57 AM
Dan Hotka and I wrote the TOAD Handbook back in 2003. Of course since then TOAD has changed quite a bit – both in terms of the graphical user interface and functionality. Thus we have updated the content and created the TOAD Handbook 2nd Edition,...
By Bert (User) on Wednesday, July 01, 2009 1:01 PM
There are always those DBA’s who refuse to use GUI tools because they prefer scripts. And that’s OK – it’s a personal preference. But recently I’ve seen some stuff posted on the web and sent in email blasts suggesting that people who do use DBA GUI tools like TOAD and OEM are somehow suspect as to their skill levels. And yes, I am sure there are some people who might not know Oracle very well but get along just well enough...
By Bert (User) on Wednesday, June 17, 2009 6:07 AM
Sometimes people will have a problem getting a TOAD feature to work – such as the PL/SQL debugger or profiler. For example a user might run TOAD and not be able to select or highlight the debugger icon on the main toolbar. So when they’re in the editor they cannot seemingly invoke or use the debugger. The initial conclusion is that TOAD must have a bug. But 90% of the time, it’s actually a database setup issue. Your DBA’s must grant TOAD users certain Oracle rights for some TOAD features to function. For example in both Oracle 10g and 11g, a TOAD user must have been granted the privilege DEBUG CONNECT SESSION for the debugger to function. We even have this specific information on the ask toad wiki. Since this privilege is not part of any of the pre-canned roles for Oracle 7 backwards compatibility (i.e. CONNECT, RESOURCE, DBA), we get this very question all the time.

...
By Bert (User) on Tuesday, May 19, 2009 5:33 PM
The last two posts have covered popular misconceptions or “urban myths” myths when measuring and performing benchmarks. That might seem like the “whole enchilada”, but there's yet one more critical aspect to successful benchmarking – preparation. I encounter numerous people who believe that they can simply assemble the necessary hardware, install the OS, install the database software, create the database, and then have at it. And usually they allocate just two to four weeks for all of this work. I'm reminded from my youth of the Boy Scout's motto – “Be prepared”. That's the single most important aspect to benchmarking – and yet often one of the most overlooked.

...
By Bert (User) on Thursday, May 14, 2009 5:56 AM
The title says it all – there is no such thing. This is the second benchmarking myth or “urban legend” that needs exposed. However this is the most prevalent frustration or exasperation that people attempting database benchmarks experience – and experience the hard way (i.e. their efforts majorly or totally fail to meet their initial expectations).

 

There are many reasons for this benchmarking failure – first...
By Bert (User) on Wednesday, May 06, 2009 5:27 AM
As with many facets of life, database benchmarking has several myths or “urban legends” that need summarily dispelled. So I’m going to write a few short blogs focusing one by one on some of these misunderstood database benchmarking issues. Note that I am not preaching that database benchmarking is a worthwhile task, because there are many who feel it’s not. In fact I recently read an excellent Forrester paper by Noel Yuhanna...
By Bert (User) on Wednesday, March 18, 2009 4:28 AM
A lot of times people will ask the Toad Yahoo discussion group or live at Toad Tips & Tricks events whether Toad can do something. Specifically, the question might be more like can Toad version X support this very cool new Oracle feature I’d like to leverage.

 

For example, a user might ask does Toad 8.0 offer a screen for Oracle AWR. If you look back at my earlier Toad World blog about Toad versus Oracle versions,...
By Bert (User) on Wednesday, February 25, 2009 6:11 AM
The joint IOUG and OAUG Collaborate 2009 conference is a just over two months away. Not only is Collaborate a premier event for Oracle database technology and applications technical sessions, it’s a good format for hobnobbing with fellow database professionals.

 

This year’s event is being held Sunday, May 3rd, through Thursday, May 7th, at the Orlando convention center. I’m taking my family along and fully intend...
By Bert (User) on Wednesday, February 18, 2009 8:04 AM
Like most things in life, there are prerequisites and preparations for Oracle databases.  Regardless of version, this is especially true for application access and usage. Oracle is a highly scalable and configurable database, therefore DBAs must configure their database for how it will be used to guarantee meeting their users’ expectations – including database developers. Failure to do so can lead to perceptions of “slow performance”...
By Bert (User) on Wednesday, February 04, 2009 8:09 AM
The Oracle 11g database is nothing short of a modern technical marvel. From the features it offers to the many platforms it runs upon – it’s amazing how far they’ve come. But as a “true enterprise” database, Oracle 11g requires some DBA oversight to be applied when creating databases. Although Oracle supplies a very simple and yet fully capable database creation assistant (DBCA) utility, one needs to use it intelligently. AS I tried to point out in a prior blog, Oracle 11g on a notebook: Tread Lightly, creating an Oracle 11g database on a notebook is not ideally done with DBCA defaults. So, I thought I’d walk you through my basic recommendations for creating a light weight Oracle 11g database.

...
By Bert (User) on Wednesday, January 21, 2009 6:39 AM
We don’t get this particular question per se as often as one would expect, but we do see enough user problems where this fundamental issue becomes the underlying question to answer for problem resolution. Below is a chart for the release dates for both Toad and Oracle. The “blue highlighted” dates are when Oracle first releases a major new version, such as Oracle 10g in January of 2004. But it’s the “red highlighted” dates...
By Bert (User) on Wednesday, January 14, 2009 7:31 AM
Oracle explain plans – they are considered by many as critical when optimizing or tuning SQL statements (I however prefer to look at trace data in conjunction with explain plans). For those who prefer primarily to rely on explain plan interpretation, comprehension and improvement – Toad offers numerous capabilities to make the entire process simpler and more productive. Because let’s face it, explain plans are like much proofs...
By Bert (User) on Wednesday, January 07, 2009 7:48 AM
I’ve got Toad Freeware installed and running on my Ubuntu 8.10 Linux machine – and so far, not a single problem has yet occurred (knock on wood).

 

Here are the basic steps that I had to perform in order to “Make it so” (as Star Trek Next Generation’s Captain Piccard would say):

Install Ubuntu with Wine – make sure that the Wine version is latest and greatest...
By Bert (User) on Wednesday, December 17, 2008 6:27 AM
Many business analysts rely heavily upon Microsoft Excel as one of their primary tools for manipulating and reporting upon their business data. Sometimes they will send data extraction requests to their information systems (IS) people to perform and then deliver, sometimes they’ll instead access it themselves in place via the external data interface within Excel, and sometimes they’ll extract the data themselves from the Oracle...
By Bert (User) on Wednesday, December 10, 2008 7:24 AM
Lately I’ve been seeing what I think might be an interesting yet disturbing new trend: whenever there’s a problem that initially seems unusual and/or unexplainable, it’s not uncommon to quickly question virtualization as a potential source of the issue. I fully understand that virtualization adds a new variable to the basic equation – and represents greater complexity due to more moving parts. But it seems to be somewhat rushed...
By Bert (User) on Wednesday, December 03, 2008 10:47 AM
A few weeks ago I wrote Part III of this series – and fortunately (or unfortunately for my poor ego) an astute reader wrote to ask for some clarification on my Excel chart. Ends up my Excel formula had a mistake – so many thanks to Johannes V. Djernæs from Miracle A/S in Denmark. So I’ll be...
By Bert (User) on Wednesday, November 26, 2008 6:50 AM
Just a very brief blog this Thanksgiving week (my favorite holiday of the year) – part 2 of last week’s relatively easy suggestions on how to make Oracle run as fast as possible on minimal computer setup. As before, my goal is simply to squeeze as much performance blood from the Oracle turnip as possible when deployed on limited capacity equipment....
By Bert (User) on Wednesday, November 19, 2008 1:32 PM
Lot’s of people have asked “How can I setup Toad to run off a flash drive?” The reason for this question varies in nature and intent by requestor – but the general concept is that some users need the ability to carry Toad with them. Some are contractors who must use whatever computer and/or desk is open that day. Some are database developers who must travel around their company to perform or assist with various tasks. And...
By Bert (User) on Wednesday, November 19, 2008 7:29 AM
Just a quick blog this week – some relatively easy suggestions on how to make Oracle run as fast as possible on minimal computer setups such as a notebook PC. My goal is simply to squeeze as much performance blood from the Oracle turnip as possible when deployed on limited capacity equipment. The suggestions below should work for most operating systems, including Windows, Mac-OS and Linux – simply interpret and apply the suggestions...
By Bert (User) on Wednesday, November 12, 2008 8:25 AM
Catchy title – huh? But don’t laugh, in today’s hectic world many database professionals (whether DBA’s or developers – and sometimes even end users) just wish that the Oracle database would go faster. That may seem self evident – but let’s just accept that premise for now. So what does this mean for Toad users?

 

Toad offers numerous database monitoring, diagnostic and tuning screens or utilities. But not all...
By Bert (User) on Wednesday, November 05, 2008 7:19 AM
I’ve always been a huge fan of Cary Millsap’s “Method-R” technique for Optimizing Oracle Performance via detailed analysis of all of the business process wait states. It is fundamentally sound since it’s based on genuine business concerns...
By Bert (User) on Thursday, October 30, 2008 6:25 AM
A few weeks ago I wrote about how simply adjusting various virtualized infrastructure default settings that a database could perform up to 440% better. Of course “your mileage” will vary, but the key point is that taking the time to properly layer your virtual infrastructure settings can have substantial impacts – which are only...
By Bert (User) on Wednesday, October 22, 2008 2:40 AM
Last week I wrote about how simply adjusting various virtualized infrastructure default settings that a database could perform up to 440% better. Of course “your mileage” will vary, but the key point is that taking the time to properly layer your virtual infrastructure settings can have substantial impacts – which are only magnified...
By Bert (User) on Tuesday, October 14, 2008 2:59 PM
Many people swore that database on a virtual machine would not fly – or at best, would be accepted very, very slowly. I was not one of those people – so I wrote a new book on just that subject: Oracle on VMware: Expert tips for Database Virtualization. However I don’t expect people in these tough economic times to just go out and buy every...
By Bert (User) on Wednesday, September 17, 2008 5:44 AM
On many occasions, people will email or call me to get help with perceived RAC connectivity issues for various client applications – Toad and other Quest products included. Now some times they may have setups that we’ve not pre-tested, so they have a potential bug – or at least another regression testing scenario for us. But many times, it’s simply a SQL*Net configuration issue. While it’s easy to draw a simple diagram of...
By Bert (User) on Wednesday, September 10, 2008 3:38 AM
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 Bert (User) on Monday, August 18, 2008 9:46 AM
Last week’s blog was the third in a series about how to make Toad run scripts and/or commands against multiple databases at once. Lots of people did not know that there are multiple ways in Toad to do this. This week I will highlight the fourth and final (???) method of running scripts against multiple databases using the new Toad...
By Bert (User) on Wednesday, August 13, 2008 7:18 AM
Last week’s blog was the second in a series about how to make Toad run scripts or commands against multiple databases at once. Lots of people did not know that there are multiple ways in Toad to do this. This week I’ll highlight the third method of running scripts against multiple databases using the “Toad Editor” and Dynamic SQL...
By Bert (User) on Wednesday, August 06, 2008 5:11 AM
Last week’s blog was the first in a series about how to make Toad run scripts or commands against multiple databases at once. Lots of people did not know that there are multiple ways in Toad to do this. This week I’ll highlight the second method of running scripts against databases using the “Toad Project Manager”.   ...
By Bert (User) on Tuesday, July 29, 2008 3:15 PM
One of the more frequent questions people ask me is why can’t Toad run scripts or commands against multiple databases at once? Of course as usual the answer is Toad already can – so I’m going to dedicate the next couple weeks’ blogs to this topic.    This week I’ll highlight the first method of running scripts for multiple databases using the “Toad Script Manager”. It has been in Toad for a long time now – and it’s available...
By Bert (User) on Wednesday, July 23, 2008 5:11 AM
When you go through the entire exhaustive process of doing an effective (i.e. accurate) logical model so that you have properly captured all the true business rules and requirements, you sure don’t want your data modeling tool to compromise those findings as you move into the physical model – which is database platform dependent. Yet most data modeling tools do a very poor job of translating certain data modeling constructs...
By Bert (User) on Wednesday, July 16, 2008 3:45 AM
I have been doing Oracle work for just over two decades – and I’ve probably written thousands of SQL scripts. Many of those were DBA oriented in their task nature, but even application development presents times where SQL scripts are used. For example, the need may arise for the operating systems’ or third party schedulers to invoke a shell script to execute a SQL script to execute some PL/SQL code.

 

Historically...
By Bert (User) on Wednesday, July 09, 2008 7:02 AM
Sometimes, even in today’s world of super GUI’s, a SQL script is still the best way to do something. Plus there are always those people who steadfastly prefer command line to GUI’s no matter what. Can Toad accommodate and even facilitate these needs? Of course you know that the answer is a resounding yes.

 

Let’s say that we want to turn on and off the referential integrity within an entire schema – whose list...
By Bert (User) on Wednesday, July 02, 2008 5:28 AM
I have always believed that Toad Data Modeler offers the best, easy to use data modeling tool on the market for the money. Now my faith has been confirmed – others are starting to see just what a gem Toad Data Modeler. Take a look at this review. I agree 100% of course – but everything there is true.

 

http://www.databasejournal.com/features/oracle/article.php/3754671

...
By Bert (User) on Wednesday, June 25, 2008 8:55 AM
A lot of times people will ask Quest tech support or via our Yahoo discussion groups how to make the editor run SQL commands and do stuff more like SQL*Plus or how to better control the output look and feel (i.e. behavior). Along those lines and another very popular question is where one can set an option in Toad for the editor to do something specific (e.g. turn off feedback, etc) – because they have already done an online...
By Bert (User) on Thursday, June 19, 2008 5:22 AM
There are quite a few blogs out there about what happened or what’s new from this week’s ODTUG conference in New Orleans. So rather than restate what many others are reporting, I thought I’d try a slightly different approach – to instead report more on what was noticeably absent or different this year. J  

The Oracle Developers’ Tools User Conference (i.e. ODTUG) is, in my opinion, the premier annual event for Oracle...
By Bert (User) on Wednesday, June 11, 2008 5:43 AM
Next week the annual ODTUG conference will be held in New Orleans. I’ll be attending sessions and visiting vendor booths in order to stay current with the database DBA and development markets (more developer oriented at this particular show). I’ll report my findings and things of interest next week. I especially hope to corner some Oracle folks on the 11g R2 beta – which I’ve already heard rumblings for.

 

Of...
By Bert (User) on Friday, June 06, 2008 5:20 AM
I’m working with our product team to develop a novel idea – and need feedback from you, our customer base. So here comes what may seem like a silly question: How would you like to win a free copy of the Toad DBA Suite for Oracle?  

Let me explain. I’m proposing that we sponsor an Oracle database tuning challenge. The rules would be rather simple: Using the Toad DBA Suite for Oracle’s  many screens, wizards, utilities...
By Bert (User) on Wednesday, May 28, 2008 4:20 AM
There have been several papers and blogs from Quest on the issues of benchmarking successfully, however the condition persists where people experience trying issues with Benchmark Factory and obtaining satisfactory benchmark results. I still maintain that it’s primarily attributable to a lack of proper and complete precursory work. But people generally seem to need more than a notice to prepare more, so I’ve constructed the...
By Bert (User) on Wednesday, May 21, 2008 3:50 AM
It’s that time of year once again. The Oracle Developer Tool Users Group (ODTUG) is quickly approaching (June 16th-19th in New Orleans – see below). For Quest, this is a really great show. It’s very well attended by and representative of our Toad customer base. It’s not uncommon for a vast majority of this show’s attendees to be Toad users.

 

This presents a great opportunity for both our customers and Quest....
By Bert (User) on Wednesday, May 14, 2008 4:15 AM
Sometimes people will compare Toad against low cost competitors or freeware (remember, Toad offers a freeware version as well). The idea being that one can save money by going with a lesser product. That seems fiscally responsible – until you do the math that is. So, let’s work a simple example to demonstrate just how valuable Toad can be to...
By Bert (User) on Wednesday, May 07, 2008 5:23 AM
There are so many useful little make or break features inside Toad, it’s very often difficult to pick one to highlight. A few weeks ago I started to divulge some things coming in Toad 9.7 (and already in the beta). One item I mentioned was the enhancements to the Database Browser, where most DBA screens and/or utilities...
By Bert (User) on Wednesday, April 30, 2008 4:46 AM
It’s not uncommon to discover databases that have simply evolved over time rather than having been built according to some overall design or “master plan”. And there seem to be no shortage of answers as to why this occurs. Sometimes DBA’s are just far too busy with a myriad of other tasks. Sometimes developers are under the gun for deliverables so quickly that there’s just not time. Or my favorite, this project started as just a couple new tables and then ballooned into a monster. Whatever the reason, the situation exists far too often in the real world of information systems.

...
By Bert (User) on Wednesday, April 23, 2008 3:46 AM
When using either Toad’s Stats Pack Browser or AWR Browser screens (both part of the optional DBA module and/or bundle), the plethora of graphs can sometimes be a wee bit overwhelming – as shown in the screen snapshot below. So how is any DBA in an urgent situation or hurry to both successfully and expediently interpret such database activity?

 

That’s where Toad’s basic mantra once again comes into play – making...
By Bert (User) on Wednesday, April 16, 2008 5:42 AM
I’ve seen some people on competing product discussion boards say things like Toad’s schema browser Is far too bloated – with too many tabs and images sucking up all the precious real-estate. But like anything else in Toad, if you don’t experiment with and utilize all the cool options it offers – you could very easily arrive at this quite mistaken conclusion. So now let’s examine just how one configures the schema browser for...
By Bert (User) on Tuesday, April 08, 2008 11:00 PM
I know – Toad 9.6 was just released this week – on Aprils Fool’s day no less. But we’ve already been hard at work on the next release (and the beta should start in a few weeks).

 

In last week’s blog, I asked you guys - our customers - to submit ideas for what should be added in Toad 9.7, because as we’ve always said, “Toad is your product, thus you should drive it.” So far though (and to my great disappointment), no one has commented. So I’m going to “prime the pump” by leaking some things prior to the first 9.7 beta, to hopefully stimulate you guys to chime in – and help us to drive Toad to where you want it to go.

...
By Bert (User) on Wednesday, April 02, 2008 8:34 AM
Recently, my Toad World blog asking whether we needed to update the Toad Handbook generated as many or more replies than all my other past blogs combined. So it obviously seems best to ask you guys – our customers and users – for more opinions and ideas.

 

I’m hoping this week’s post will open up quite a lively exchange. Every time we ask people what they’d like to see in the next version of Toad – we get the stock answer of just fix bugs. And we’ve heard you loud and clear – that remains a key focus for each and every release. But if you had to pick your one new, must have feature – what would it be?

...
By Bert (User) 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 Bert (User) 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 Bert (User) 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 Bert (User) 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 (User) 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 (User) 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 Bert (User) 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 Bert (User) 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 Bert (User) 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 Bert (User) 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 Bert (User) 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 Bert (User) 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 Bert (User) 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 Bert (User) 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 (User) 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 Bert (User) 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 Bert (User) 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 Bert (User) on Tuesday, October 02, 2007 9:44 AM
Often people will write or call to relate that Toad® seems sluggish when working against Oracle 10g databases – and that creating new connections in particular seems to take an unreasonably long time. They are often especially frustrated since this problem did not occur with Oracle versions prior to 10g. So what is Toad doing that’s wrong (i.e. a bug)?

The short answer is that this is an Oracle 10g DBA best practices...
By Bert (User) on Monday, September 24, 2007 7:43 AM
A common task for DBAs is to create a test or development environment that has a subset of production data for testing and development purposes. As usual, Toad® offers a feature for doing just that – the Data Subset Wizard, found under main menu Database-> Export->Data Subset Wizard.



There are two common scenarios where...
By Bert (User) on Monday, September 10, 2007 4:39 AM
Last week, Jeff Smith’s blog on the FTP utility in Toad® was very good. He even says at the end that “If you like Toad’s FTP, then I recommend you check out the REXEC and TELNET features as well.” That made me think – it probably would be nice just to see a list of all the UNIX and Linux capabilities within Toad in one article....
By Bert (User) on Tuesday, September 04, 2007 4:06 AM
Starting with Oracle 9i, Oracle recommends that SQL developers use the ANSI join syntax instead of the Oracle proprietary (+) syntax. There are several reasons for this recommendation, including:

Easier to segregate and read (without mixing up join versus restriction code) Easier to construct join code correctly (especially in the case of “outer” joins) Portable syntax will work on all other ANSI compliant...
By Bert (User) on Monday, August 27, 2007 6:09 AM
As I wrote last week, Oracle 11g has a plethora of really great new features. One that should really hit a home run with data warehousing DBAs is “Invisible Indexes.” The name is not a joke – they are exactly what they say. An invisible index is ignored by the query optimizer when forming an explain plan for a SELECT statement, but they are fully maintained during DML such as INSERT, UPDATE, DELETE and MERGE.

Let’s...
By Bert (User) on Tuesday, August 21, 2007 4:21 AM
Oracle 11g has a plethora of great new features. One area that has improved with each of the last four releases has been partitioning, i.e. the method to break larger tables into smaller, more manageable and efficient sub-tables. While it was originally touted as a boon for just the data warehousing world, partitioning nonetheless works well in many situations. With Oracle continuing to improve upon them – partitioning is now a powerful asset in any DBA’s tool belt. So let’s examine some of the new table partitioning techniques introduced with Oracle 11g....
By Bert (User) on Wednesday, August 15, 2007 6:18 AM
Oracle 11g is out for Linux – and like every new release, there’s tons of cool new stuff. So over the next few weeks, I will write about some of Oracle 11g’s new features. This week, I’ll look at Virtual Columns and Virtual Indexes. 

When designing a relational database, analysts often look at prior systems’ screens and reports for insight. So the database analyst designing the business entity of a “product” might see...
By Bert (User) on Wednesday, August 08, 2007 5:35 AM
We all know that “a picture is worth a thousand words,” so I provided a few pictures (shown below) to try and briefly yet succinctly explain what ASM is and how it’s different than the previous ways of managing disk space within Oracle.

Traditional Methods To begin, let’s review how DBAs have historically allocated disk space to Oracle – so that we have a baseline to compare against, and thus see how much simpler ASM makes the overall picture, which generally translates to easier setup and management. Figure 1 shows the traditional options.

...
By Bert (User) on Thursday, August 02, 2007 6:55 PM
Ever hear people say they miss the good ole days – when times and things were much simpler than now? Well the same is true for Oracle DBAs, the early 90’s (circa 1993) were much simpler in terms of hardware selection for an Oracle server as summarized below.

CPU

Architecture

CPU

Family

...
By Bert (User) on Monday, July 23, 2007 6:53 AM
I use Toad® for Oracle almost everyday to tune and optimize problematic databases for customers, partners and friends. And I noticed that I followed a pattern – which seemed consistent across all such attempts. And although I wrote the whitepaper “Maximize Database Performance via Toad”, in hindsight it...
By Bert (User) on Monday, July 16, 2007 10:48 AM
One of the most widely recognized and often quoted database benchmarks is the TPC-C. For over 14 years, the TPC-C has been the industry standard OLTP test; however, it’s very clearly showing its advanced age. The TPC-C does not adequately mimic today’s real-world database workloads, nor does it properly stress the capabilities of today’s hardware and database engines. As such, the TPC-C is quickly loosing favor!

...
By Bert (User) on Monday, June 25, 2007 7:52 AM
Probably the single most painful task in data modeling (or any modeling for that matter) is switching tools. Forget the high direct costs like purchasing licenses and the obvious indirect costs of retraining your staff, because it’s the migration of all your meta-data from one tool to the other that looms large on the horizon of pain. I’ve even witnessed people who will remain on an unsupported tool by a defunct vendor rather...
By Bert (User) on Friday, April 13, 2007 3:49 PM
You’ll have to forgive me for spoofing the famous movie line “We don’t need no stinking badges” (Treasure of the Sierra Madre, 1948 and Blazing Saddles, 1974), it just seemed quite apropos J



I was discussing data modeling needs recently with a potential customer – and like many shops I visit, they saw no need for data modeling. They believed that their DBAs, data administrators and application architects knew...
By Bert (User) on Monday, March 19, 2007 1:09 PM
In this installment I thought I'd write about the exciting, and soon to debut, Toad Data Modeler 3.0 release rather than yet another boring academic or technical topic on data modeling. TDM 3.0 is quite exciting. While it has not yet been made available for public beta – it will be very soon (so please email the product manager John.Pocknell@Quest.com to get signed up). And once...
By Bert (User) on Friday, February 16, 2007 8:25 AM
Over the decades I’ve worked with many data modelers – and I’ve learned something key to building a great model that is not always intuitively obvious: spend at least 50% of your data modeling time on the relationships. Often modelers are so overly concerned with the entities, attributes and unique identifiers or keys they don’t allocate enough time for the proper questioning, construction and review of relationships. Therefore,...
By Bert (User) on Friday, January 12, 2007 8:45 AM
Probably one of the most often discussed and hotly debated topics in both data modeling and database design is that of normalization. Many database designers, architects, DBAs and senior developers have differing positions and/or beliefs on the topic. However quite unfortunately, they often are not communicating with optimal effectiveness due to some fundamental differences in terminology and understanding. The simple solution...
By Bert (User) on Wednesday, November 29, 2006 8:10 AM
Last month I wrote about “Why Reverse Engineering is Always Worthwhile.” So the logical next issue to examine is forward engineering – its different approaches and its many comparative benefits. The best way to do this is via an analogical example J

I live in Dallas-Fort Worth. Let’s assume that I drove down to Austin at the start of the this year’s college football season to watch my #1 Ohio State Buckeyes play against...
By Bert (User) on Monday, October 30, 2006 1:04 PM
In many shops that I visit, neither the DBA’s nor the database developers place much value on performing data modeling. Often there are seemingly sound reasons for this exclusion: the historically high price of data modeling tools, data models are not required as a project milestone or deliverable, and quite often the database was simply either inherited or supports a third party application – and thus is not open for modification....
Search Blog Entries