Home > Articles > Data > Oracle

An Interview with Bert Scalzo and Dan Hotka on Toad for Oracle

Data expert Phyllis Helton talks to Bert Scalzo and Dan Hotka, co-authors of Toad for Oracle Unleashed, about some of their favorite features in Toad, their thoughts on GUI tools, and advice for people new to developing using Oracle and Toad.
Like this article? We recommend

Like this article? We recommend

Phyllis Helton: What are some of your favorite features in Toad, and why?

Bert Scalzo: The trace file browser, since there is no other tool on the market making these rather large and obtuse text files meaningful and useful.

Dan Hotka: Well, I gotta say, the SQL tuning features. Toad really does have some nice options when it comes to explain plans and SQL trace processing. I like how well Toad works with PL/SQL as well. I like being able to easily add my own coding short cuts and templates.

Phyllis: Many DBAs seem to consider it a badge of honor that they don’t use GUI tools to administer their databases. What are your thoughts on this mind set?

Bert: Managers consider efficiency and effectiveness (i.e. productivity) to be the most important factor--and the one they assign merit and raises upon. Toad makes anyone work faster and better, hence it really is an enabler.

Dan: Sure, the tools that comes from the vendors are good, but if you are already a Toad user, many of these same tasks are available, in wizard format, in Toad. I like the Trace File Browser that the DBAs or anyone reviewing Oracle trace files should find of HUGE interest. It organizes the SQL within the trace file in wait event order...a nice feature to quickly find the offending SQL for a particular problem.

Phyllis: What advice do you have for someone who is new to developing using Oracle and Toad as the best way to get started?

Bert: Create a Windows virtual machine (VM) running Oracle Express edition and Toad freeware or commercial and use this “sandbox” to experiment and learn. Also keep it handy long after mastering those features you use most, as at some time you may need to learn other aspects of Toad.

Dan: Really, just start using the tool. This book will be of great assistance with both key strokes and customizing the interface to their individual needs and likes.

Phyllis: What is one feature of TOAD that you consider sets it apart from other tools for developers? For DBAs?

Bert: The Schema Browser and Editor are developers’ mainstay - much like the file explorer and notepad in Windows. Developers spend most of their time in just these two screens. DBAs should really learn the database browser, a somewhat underutilized screen since it came along later. It’s basically the multi-database level browser and a frontend to the Schema Browser.

Dan: For developers, the ability to easily customize and the sheer volume of coding assistance that comes with Toad. Toad is full of PL/SQL templates and code snippets, more than I've seen in any other tool. For DBAs, I'll bring up the Trace File Browser again. This is huge how this feature organizes the content of SQL trace files into a format that easily identifies problems. DBAs should like the session browser as well because of the ability to easily see who is doing what. This browser also helps diagnose current performance issues. Toad is full of database monitors, health checks, and other similar reporting features not found in other tools.

Phyllis: Toad is extremely customizable. Are there any best practices regarding customizing it or any configurations you would recommend for various users (developers, DBAs, data analysts)?

Bert: Master the Toad Options screen. Most user questions looking for a new feature or way to modify the behavior of an existing one are answered as “It’s already in there and set via the Options screen.” Spend the time to learn the Options screen to be far more successful and productive.

Dan: Absolutely. I'll turn to the book here. Bert and I loaded the book with our best practices for Toad and Oracle work in general.

Phyllis: Toad does not allow users to do anything that they do not have permissions to do in the Oracle database itself. However, there are a number of businesses that use application-level security with the application connecting to the database using a single account. What would be a best practice for those companies for allowing developers and power users to use TOAD in addition to their applications?

Bert: Toad offers multiple ways to control what features either specific users or groups of users can perform. The most common way is to leverage the Toad Security feature.

Dan: I'd say for someone to set up Toad for these users, customizing the interface, removing buttons they do not need. Also, companies need to be vigilant with who has access to the data, and what they can do to the data. This protects the data from wandering eyes and accidental deletion/corruption of data (changes) from Toad or ANY tool that is being used. 

Phyllis: You have both written other books on Toad in the past. How is Toad for Oracle Unleashed different from the others?

Bert: This book is current for the most recent Toad version and flies under the highly popular and successful “Unleashed” moniker. We also removed much of the introductory materials to focus far more on intermediate and expert users, who are already familiar with Toad.

Dan: This book is both updated and different as it contains more walk throughs and content than the other versions. For example, I've included a nice chapter on using Toad for SQL tuning tasks...chapter 10 is Toad as a SQL Tuning Tool...the other books do not have this kind of detail organized in a single chapter as this book does.

Phyllis: Who would you consider to be the ideal audience Toad for Oracle Unleashed?

Bert: Any SQL or PL/SQL application developer, application DBA or operations DBA needing to leverage Toad to enhance their effectiveness and productivity. Toad is now so mature a product that it has more features than any one person can master. So having a good reference like Toad for Oracle Unleashed is a must.

Dan: Really anyone with a need to know more about Toad. I'd say anyone who uses Toad for either data query/analysis to the heads-down developers should buy this book. Even the DBA staff should find this book of interest.

Phyllis: Toad is an extremely feature-rich program and is designed to be used by a wide variety of users. What challenges did this present to you as you set out to write this book?

Bert: This book uniquely focuses on the task at hand rather than just specific features. Thus it should better match the real world way people leverage Toad to attack their work.

Dan: Really...it was more of a matter of the best coverage of the Toad tool and to keep the page count down so it is an affordable book.

Phyllis: Chapter 6 discusses PL/SQL tools in Toad. One of the tools mentioned is the PL/SQL Profiler. What is the advantage to profiling code? Should every bit of PL/SQL code be profiled?

Bert: I learned profiling of C and Fortran code back in the early 1980s. That practice allowed me to both more quickly find bugs or bottlenecks, plus optimize my code for the highest overall performance. I cannot code without profiling. So it’s just automatic that I expect a good profiler like that in Toad when developing application code.

Dan: That is my chapter. I find the PL/SQL profiler of use for those routines that need to be more performant. The profiler instantly tells you, by line of code, how long each line of code took to execute and also how long each routine/sub-routine took to execute. Not all code needs to be profiled, but this would be a good practice to do during the development process.

Phyllis: How is a Code Road Map different from the results of PL/SQL Profiling? When would you use one as opposed to the other?

Bert: The Toad Profiler exposes the PL/SQL code while in motion, whereas the Code Road Map is a static diagram of the code interdependencies with both data and other PL/SQL coding units. Plus it’s the only tool which exposes dependencies hidden within triggers that even the Oracle dependencies tables do not cover.

Dan: Code Road Map/Code Analysis really supplements the profiling process. These features help document program difficulty, identify dead code, and more. The profiling process is line by line and module execution times. I'd say they complement each other. If a problem shows up in Code Road Map for example, I'd profile that routine to get to the exact line of code causing the issue.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020