|
10 Common Misconceptions in SQL Tuning #2 |
|
RichardTo
|
Tuesday, April 28, 2009 8:50 AM
|
|
|
|
This blog is the second in a series about common misconceptions surrounding SQL tuning. It covers the misconception that the goal of SQL tuning is to write a better SQL statement. The real goal of SQL tuning is not to create a better SQL statement, but it is to help the database optimizer to make the right decision when it is choosing the execution plan.
If you browse the internet with the key ...
|
 |
|
|
Read More...
|
|
|
A Classic Error in My Monthly Puzzle! |
|
StevenFeuersteinTW
|
Monday, April 27, 2009 8:47 AM
|
|
|
Every month, a Toad World newsletter goes out to thousands of Toad users and it includes a monthly puzzle that I write. Last month's puzzle went like this:
Which of the following blocks does not contain an infinite loop?
 |
|
|
Read More...
|
|
|
An interview with Steven Feuerstein |
|
StevenFeuersteinTW
|
Wednesday, April 22, 2009 6:06 PM
|
|
|
In case you simply can't get enough of Steven Feuerstein (no, I don't generally talk about my self in the third person or in the royal "we"), I invite you to check out this interview. I had an awful lot of fun answering the questions, and you might be entertained reading them.
|
 |
|
|
|
|
|
Executing SQL in Tuning Lab – Part 1 – Criteria for Terminating SQL |
|
RichardTo
|
Friday, April 17, 2009 2:37 AM
|
|
|
|
Written by Rene Woody
This blog is the first of a series about test running the SQL statements in the Tuning Lab in Quest SQL Optimizer for Oracle to find the best performing SQL statement in your database environment. It covers the options for terminating the SQL alternatives when they are executed in a batch.
|
 |
|
|
Read More...
|
|
|
A handy string parsing utility - extended |
|
StevenFeuersteinTW
|
Monday, April 13, 2009 9:57 AM
|
|
|
|
It's truly one of the oddities of the PL/SQL language that it does not offer a delimited string parsing program. The closest we can get is DBMS_UTILITY.COMMA_TO_TABLE, and that is sadly deficient (it only parses comma-delimited strings and each item between the commas must be a valid PL/SQL identifier).
So I built one myself (the parse package) and put ...
|
 |
|
|
Read More...
|
|
|
|
Powerful Code Formatting in Toad |
|
JohnPocknell
|
Wednesday, April 01, 2009
|
|
|
|
In this week’s blog, I’d like to introduce you to Toad’s Formatter. For those older “Toadies”, you’ll be familiar with its predecessor Formatter Plus.
|
 |
|
|
Read More...
|
|
|
Common Uses and Features in Toad Data Modeler |
|
MarkQuest
|
3/31/2009 6:33 AM
|
|
|
|
Recently there have been a lot of questions on some of the features of Toad Data Modeler which are part of the basic components of the tool but for whatever reason people seem to have a bit of trouble figuring them out.
In the past I have published some papers on a couple of these features on Toad World and I will provide links to them at the bottom of this blog.
&l ...
|
 |
|
Comments (1)
|
Read More...
|
|
|
How do I move more than 1 table at a time in Toad? |
|
JeffSmith
|
3/31/2009
|
|
|
This was a question I got this morning from a customer. I showed them how to do this with the ‘Alter’ dialog in Toad’s Schema Browser. However, they wanted to do it for more than one table at a time, and apparently some OTHER tool could do so. Why couldn’t Toad?
Great question. It turns out that IT CAN INDEED do so. Here’s how:
|
 |
|
|
Read More...
|
|
|
Creating multiple XLS files through Automation |
|
dnorwood
|
3/27/2009 4:30 PM
|
|
|
|
If you’re like many of the analysts I speak with on a regular basis, then you use Microsoft Excel. It’s a staple of the Information Age, right!? It seems like you can do everything but wash your car with Excel. But what if you want to get that data out of your database and into a series of worksheets… on a regular basis…? Unless you have lots of free time, this is probably something that you don’t look forward to. Let’s take a look at how Toad for Data Analysts can make your Excel-life even easier!
|
 |
|
|
Read More...
|
|
|
Run an OS command from within PL/SQL |
|
StevenFeuersteinTW
|
Friday, March 27, 2009 6:14 AM
|
|
|
Developers are hard people to satisfy. Oracle gives us this incredibly robust, powerful and easy to use database programming language – and all we can do is complain about what it doesn't do for us.
Well, that's reality for you: PL/SQL is powerful and robust and easy to use, but also very narrowly focused. So if you want it to do something outside of its area ...
|
 |
|
|
Read More...
|
|
|
Data Grid Quiz |
|
JeffSmith
|
3/25/2009
|
|
|
I think we can all agree that of ALL the features in Toad that impact the most number of users is the data grid. Whether investigating the contents of a table, running queries, or monitoring connected sessions in the Session Browser, the data grids deliver information to the user. How well you know the data grid and all of its embedded features will impact how useful and productive ...
|
 |
|
|
Read More...
|
|
|
Toad and Team Collaboration |
|
DevinG
|
3/25/2009 8:33 AM
|
|
|
I had a very productive visit with an information management company, demonstrating the complete range of Toad solutions, including the Toad Development and DBA Suite for Oracle, Toad for SQL Server, as well as Toad for Data Analysts. The presentation took place in Boston, and dialed in through a webcast were attendees in Massachusetts, Pennsylvania, Belfast, and Bangalore. This vis ...
|
 |
|
Comments (0)
|
Read More...
|
|
|
Toad Data Grid Trick? |
|
JeffSmith
|
3/24/2009
|
|
|
While co-presenting with Bert at the Rocky Mountain Oracle User group, Bert yells out “Hey, show that cool FK lookup thingie in the data grids.” I was like, ‘huh?’ Surely Bert just didn’t call me out in front of 100 or so people on a Toad feature that I did not fully understand?
Well, I got around to figuring out just what Bert was talking about, and NOW I rememb ...
|
 |
|
|
Read More...
|
|
|
New Toad blog |
|
DevinG
|
3/24/2009 7:03 AM
|
|
|
I am an SC for Quest Software, and very fortunate to be able to demonstrate the solutions that make up the Toad product family. My initial goals for this blog will be to share some of the interesting conversations and discussions that arise from Toad demonstrations. Rather than screen shots of a certain feature, I will try and relate Toad functionality to real life scenarios and exa ...
|
 |
|
Comments (0)
|
Read More...
|
|
|
Can Toad Do That? |
|
Bert
|
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 ...
|
 |
|
|
Read More...
|
|
|
|
10 Common Misconceptions in SQL Tuning #1 |
|
RichardTo
|
Friday, March 13, 2009 4:11 AM
|
|
|
|
This blog is the first in a series about misconceptions surrounding SQL tuning that are quite common. The first one covers the misconception that you can use the estimated cost from the database SQL optimizer to accurately judge the performance of a SQL statement in comparison to its rewrites.
SQL tuning is a very interesting topic and most DBA or devel ...
|
 |
|
|
Read More...
|
|
|
Benchmarking and Latency |
|
Kevin
|
3/12/2009 9:41 AM
|
|
|
Welcome to my first blog! I am very excited about this opportunity to relay information about benchmarking/performance testing and, in particular, Benchmark Factory for Databases (BMF), but where to begin? For my first blog, I’ll start on the topic of latency.
One key thing to understand when doing testing is the characteristics of the workload, and a big piece o ...
|
 |
|
Comments (3)
|
Read More...
|
|
|
|
|
Collaborate Coming – with Special Toad Tips & Tricks |
|
Bert
|
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 ...
|
 |
|
|
Read More...
|
|
|
Customizing Toad Code Templates |
|
JeffSmith
|
2/24/2009
|
|
|
|
I recently got an email from a user, and after I replied figured that it might be helpful for others to see as well.
The Question:
“I was at the ROUMG conference and have a question. You guys showe ...
|
 |
|
|
Read More...
|
|
|
Oracle Configuration for Toad Usage |
|
Bert
|
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 p ...
|
 |
|
|
Read More...
|
|
|
|
|
Creating a minimalist Oracle 11g database |
|
Bert
|
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 ...
|
 |
|
|
Read More...
|
|
|
|
|
What Version of Toad Should We Use? |
|
Bert
|
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 highli ...
|
 |
|
|
Read More...
|
|
|
|
Black Box Data Store: Lessons Learned from the NTSB |
|
JohnWeathington
|
Friday, January 16, 2009
|
|
|
|
US Airways flight 1549 teaches us that improbable events actually do occur sometimes. When the NTSB goes to investigate, the airplane’s black boxes will prove vital in the determination of cause. We can leverage this concept to fortify our chances of surviving a serious investigation. In this article I introduce design considerations for what I call the Black Box Data Store, the important data you need to prove your innocence in an investigation.
|
 |
|
|
Read More...
|
|
|
Toad “Explains” It Best |
|
Bert
|
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 li ...
|
 |
|
|
Read More...
|
|
|
|
How to Survive a Break Without Breaking the Company |
|
JohnWeathington
|
Thursday, January 08, 2009
|
|
|
|
Coming off of a break myself, it seems appropriate to discuss the architectures what support continuity, when your company takes a break from following compliance policy. In this article, we discuss why this might happen, and what you can do to minimize the disruption this type of break can cause.
|
 |
|
|
Read More...
|
|
|
|
Run Toad Freeware on Linux! |
|
Bert
|
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 “
|
 |
|
|
Read More...
|
|
|
|
DB2 2009 |
|
JimWankowski
|
Tuesday, January 06, 2009 8:19 AM
|
|
|
|
Happy new year everybody. I hope everyone had a great holiday season. It’s tough getting your head back in the game after a long holiday, that’s for sure! But there is a lot to look forward to in 2009 with our DB2 products. Toad for DB2 came a long way in 2008. As y ...
|
 |
|
|
Read More...
|
|
|
|
How to use Quest SQL Optimizer to Tune Complex SQL - A Real Life Example #1 |
|
RichardTo
|
Friday, December 19, 2008 12:16 PM
|
|
|
|
Recently, I received an email from the presales support team. They asked me to help them tune three SQL statements for a benchmark database provided by a customer. Our presales support said that our SQL Optimizer was not providing any alternatives for two of these three complex SQL statements. I found two of these SQL statements were very complicated and I knew that there should be a lot of alternative SQL genera ...
|
 |
|
|
Read More...
|
|
|
Toad + Excel = Easy Data Access |
|
Bert
|
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 ...
|
 |
|
|
Read More...
|
|
|
Virtual Paranoia? |
|
Bert
|
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 b ...
|
 |
|
|
Read More...
|
|
|
Automatic refactoring in PL/SQL tools – Part 1 |
|
StevenFeuersteinTW
|
Tuesday, December 09, 2008 12:23 PM
|
|
|
|
I have long been attracted to the idea and process of refactoring (explained below). It is now very exciting to see that automated refactoring features are working their way into tools for PL/SQL development. I will analyze these features over the next few entries in my ToadWorld blog, starting with SQL Develop ...
|
 |
|
|
Read More...
|
|
|
Happy Holidays: A Toad AppsDesigner App Just for You! |
|
JeffSmith
|
12/5/2008
|
|
|
For most users, the significant new feature for v9.7 will be the AppsDesigner. This technology allows a Toad user to take a collection of Toad commands or Actions and create a miniature Toad App or macro that you can then replay on demand or schedule to run when needed.
Like most new features, you gen ...
|
 |
|
|
Read More...
|
|
|
|
Oracle + VMware = Success Part IV |
|
Bert
|
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 than ...
|
 |
|
|
Read More...
|
|
|
|
|
F-what? |
|
JeffSmith
|
11/20/2008
|
|
|
After working with Toad for almost a decade (I think I first saw it as a new grad in ’99…), I tend to start taking things for granted when I do demonstrations for customers or present at conferences on the beauty of Toad. It’s very easy to get excited about CRUD Matrices and the beauty of PL/SQL debuggers, but overlook the critical core features that users often miss out on.
|
 |
|
|
Read More...
|
|