﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Michael Lumbard's blog</title>
    <description>&lt;table&gt;
        &lt;tr&gt;
            &lt;td valign="top"&gt;&lt;img height="183" width="139" alt="" src="/Portals/0/Blog/blog-michael-lumbard.png" /&gt;&lt;/td&gt;
            &lt;td valign="top"&gt;
            &lt;p&gt;Michael is a Systems Architect with the Quest PreSales Organization with over 12 years of Toad product knowledge. He specializes in the database management solutions field.&amp;#160;&amp;#160;Michael has 20 plus years of IT experience in the areas of Product Management, Database Administration, Development and other Management positions.&lt;br /&gt;
            &lt;br /&gt;
            Michael's&amp;#160;blog will&amp;#160;share his insights on Toad family products.&lt;br /&gt;
            &lt;br /&gt;
            &lt;font color="#003366" size="3"&gt;&lt;strong&gt;Recent postings:&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
&lt;/table&gt;</description>
    <link>http://toadworld.com/BLOGS/tabid/67/BlogId/34/Default.aspx</link>
    <language>en-US</language>
    <managingEditor>Michael Lumbard</managingEditor>
    <webMaster>webmaster@toadworld.com</webMaster>
    <pubDate>Mon, 15 Mar 2010 05:21:55 GMT</pubDate>
    <lastBuildDate>Mon, 15 Mar 2010 05:21:55 GMT</lastBuildDate>
    <docs>http://backend.userland.com/rss</docs>
    <generator>Blog RSS Generator Version 3.2.0.15477</generator>
    <item>
      <title>Toad's DB Health Check - Is There a Doctor in the House?</title>
      <description>&lt;p&gt;&lt;font size="2"&gt;As DBAs it seems that we are always faced with issues of Database Performance. As gate keepers to our multiple database environments many of our Service Level Agreements (SLA's) can be directly tied into the health of our databases. Working with Quest's Toad solution we can now take a comprehensive look at the health of our databases with the DB Health Check.  &lt;/font&gt;&lt;font size="2"&gt;Note: This Toad feature is only available in the commercial version of Toad with the optional DB Admin Module.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;font size="2"&gt;The Database Health Check performs a series of checks on a selected database and displays the results.  The Health Check includes a "Vulnerability Assessment" to help find places where your database could be vulnerable to hackers and a differences report to see what has changed since Health Check was last run. You can save the results to a color-coded RTF or HTML file, or to a plain text file. You can also send the results through email in any of these formats.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;To run a health check&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
&lt;/font&gt;&lt;/p&gt;
&lt;blockquote dir="ltr" style="margin-right: 0px"&gt;
&lt;p&gt;&lt;font size="2"&gt;From the Database menu, select Diagnose - DB Health Check.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;In the left pane, select the databases you want to check. You can multi-select using the CTRL or Shift keys.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;In the Checks and Options tab on the right side of the window, select the pre-defined health checks you want to run. (See Health Check - Check and Options for more details about each of these.)&lt;/font&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p dir="ltr"&gt;&lt;font size="2"&gt;&lt;strong&gt;Select from over 91 check points to verify the health of your database:&lt;br /&gt;
&lt;/strong&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;img height="469" alt="" width="750" src="http://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.com/Portals/0/blogimages/Michael Lumbard/ml_blog_100409-1.gif" /&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;Toad’s DB Health Check also includes the Vulnerability Assessment Check List:&lt;br /&gt;
&lt;/strong&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;img alt="" src="http://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.com/Portals/0/blogimages/Michael Lumbard/ml_blog_100409-2.gif" /&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;The "Vulnerability Assessment" helps to locate places where your database could be vulnerable to hackers.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;Below are examples of the rules that are being applied within the DB Health Check.&lt;/font&gt;&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;&lt;font size="2"&gt;List Hidden Users&lt;/font&gt;&lt;/li&gt;
    &lt;li&gt;&lt;font size="2"&gt;List Nested Roles&lt;/font&gt;&lt;/li&gt;
    &lt;li&gt;&lt;font size="2"&gt;List Roles not granted to a Role or User&lt;/font&gt;&lt;/li&gt;
    &lt;li&gt;&lt;font size="2"&gt;List Grants on V$Views granted directly to users with admin option&lt;/font&gt;&lt;/li&gt;
    &lt;li&gt;&lt;font size="2"&gt;List of Grants on Sys Tables granted directly to the users&lt;/font&gt;&lt;/li&gt;
    &lt;li&gt;&lt;font size="2"&gt;Check for DBA, Resource, Connect Roles&lt;/font&gt;&lt;/li&gt;
    &lt;li&gt;&lt;font size="2"&gt;List of DB Links which are Inaccessible&lt;/font&gt;&lt;/li&gt;
    &lt;li&gt;&lt;font size="2"&gt;List of Users with non-existent Default Tablespaces&lt;/font&gt;&lt;/li&gt;
    &lt;li&gt;&lt;font size="2"&gt;Verify Sys.Aud$ is not in the System Tablespace&lt;/font&gt;&lt;/li&gt;
    &lt;li&gt;&lt;font size="2"&gt;List Powerful Roles granted directly to the Users&lt;/font&gt;&lt;/li&gt;
    &lt;li&gt;&lt;font size="2"&gt;List Powerful System Privileges granted directly to the Users&lt;/font&gt;&lt;/li&gt;
    &lt;li&gt;&lt;font size="2"&gt;List Tables with Long or Long Raw Data Types&lt;/font&gt;&lt;/li&gt;
    &lt;li&gt;&lt;font size="2"&gt;List Tables with no Primary Key&lt;/font&gt;&lt;/li&gt;
    &lt;li&gt;&lt;font size="2"&gt;List Table with no Unique key or Index&lt;/font&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;The Schemas tab on the Database Health Check window provides you with a location to select the schemas you want to examine:&lt;br /&gt;
&lt;img alt="" src="http://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.com/Portals/0/blogimages/Michael Lumbard/ml_blog_100409-3.gif" /&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;Report Output presents the results in an interactive tree as shown here:&lt;br /&gt;
&lt;img alt="" src="http://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.com/Portals/0/blogimages/Michael Lumbard/ml_blog_100409-4.gif" /&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;The health check results can drilled into for further detailed information:&lt;br /&gt;
&lt;img alt="" src="http://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.com/Portals/0/blogimages/Michael Lumbard/ml_blog_100409-5.gif" /&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;The 'Diffs Since Last Run' tab can display the differences between successive DB Health Checks:&lt;br /&gt;
&lt;/strong&gt;&lt;img alt="" src="http://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.com/Portals/0/blogimages/Michael Lumbard/ml_blog_100409-6.gif" /&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;Results can be sent via email. The email sent will include the entire Health Check Report. You can send the email as either HTML or plain text. To have email sent when you run a health check you must first set up the email pages. From the Database Health Check window, click the Checks and Options tab. You must also have the global Email Options set up with your SMTP server, and recipient addresses. You can also schedule the execution of your DB Health Check to run from the command line or via the Oracle scheduler.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;Note:  &lt;/strong&gt;Health checks require access to the DBA views and to some of the V$ views. A list of V$ views required is located in the V$ Tables Required topic in Toad's help system. &lt;/font&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description>
      <link>http://toadworld.com/BLOGS/tabid/67/EntryID/453/Default.aspx</link>
      <author>Michael Lumbard</author>
      <comments>http://toadworld.com/BLOGS/tabid/67/EntryID/453/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://toadworld.com/Default.aspx?tabid=67&amp;EntryID=453</guid>
      <pubDate>Mon, 05 Oct 2009 14:42:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://toadworld.com/DesktopModules/Blog/Trackback.aspx?id=453</trackback:ping>
    </item>
    <item>
      <title>Toad's Export File Browser - Developers and DBAs Secret Weapon</title>
      <description>&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Have you ever had a need to recover data? Have you ever looked at data or maybe scripts and thought something is not correct? When working with databases there are times when we may have a loss of data or files. Has this ever happened and there is no backup information to rely on?&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;During my time as both a Developer and DBA I have worked with numerous Oracle export file (dmp files). Often I could be looking at 15 to 20 or even more of these files. I would go through a very manual process to confirm which file is the exact one needed for my particular problem. Often I talk with users who have this specific type of problem or need. If you are like me, there have been many occurrences when I wished I had a quick and easy way to recover information. I will get asked “wouldn’t it be great if Toad had this functionality?”.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Well – guess what? For many of us working with Toad we have had the solution all along. Let me introduce you to Toad’s Export File Browser.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;QUEST SOLUTION - INTRODUCING TOAD’S EXPORT FILE BROWSER&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Toad’s Export File Browser is a great solution in being able to easily browse through export files and view file information contained within these files. Toad’s Export File Browser will assist users in quickly being able to confirm the exact information they need to recover a number of database critical needs. &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;When working with databases there are times when we may have a loss of data, files, and so on.  Recovery of this data can be very time consuming. If we take this a step further - let’s say we are working on a project and coming up to quarter or year end processes. I think you can all understand that in this situation time is critical.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;When working with Toad’s Export File Browsers users can look at some critical database items that could include:  Schemas, DDL, Data, Code, Functions, Object Type Bodies, Packages, Package bodies, Procedures, and Triggers&lt;/div&gt;
&lt;p&gt;To access Toad’s Export File Browser screen, select  DATABASE | EXPORT | EXPORT FILE BROWSER. This screen will allow you to work with your export files and assist in recovering mission critical information.&lt;/p&gt;
&lt;p&gt;&lt;font size="1"&gt;&lt;img height="470" alt="" width="750" src="http://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.com/Portals/0/blogimages/Michael Lumbard/ml_blog_071309-1.gif" /&gt;&lt;br /&gt;
Figure 1: TOAD’S EXPORT FILE BROWSER MAIN SCREEN&lt;/font&gt;&lt;/p&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;SELECTING AN EXISTING EXPORT FILE&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;Once we have accessed the main screen we need to be able to view our export files. To do this, click on the SAVE FOLDER icon at the top left hand side of the screen. Now we will be able to view all of the export files that have been created. This screen allows the user to confirm information such as File Name, Version, Export Mode, File Size, File Date, and Export User.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size="1"&gt;&lt;img alt="" src="http://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.com/Portals/0/blogimages/Michael Lumbard/ml_blog_071309-2.gif" /&gt;&lt;br /&gt;
Figure 2: TOAD’S EXPORT FILE BROWSER – SELECTING A FILE SCREEN&lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;DATA GRID OPTIONS&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;After selecting the SAVE FOLDER icon we will be able to view existing export files. As we select one of our saved export files we will be able to view the details of this file. In reviewing this information we will see a global view of the export file and the familiar Toad option of being able to drill down on the needed information on the right side of the screen. What is great is the user can view both the DDL on the right and also the DATA for the selected export file (see below). At this point if we right click on the data grid there are a number of options such as:  View Cell Data, Filter Data, Go to Row #, Get Row Count, Size Columns, Save As, and Print Grid&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size="1"&gt;&lt;img alt="" src="http://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.com/Portals/0/blogimages/Michael Lumbard/ml_blog_071309-3.gif" /&gt;&lt;br /&gt;
Figure 3: TOAD’S EXPORT FILE BROWSER – DATA GRID OPTIONS SCREEN&lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;DATA GRID SAVE OPTION&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Right click and choose the Save option. This shows a number of ways that data can be saved. Some of these ways including:  Delimited Text, Excel, HTML, Insert Statement, and SQL Loader.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;For our discussion I have chosen the OW_CUSTOMERS table (left side of screen) and selected the SAVE AS Option of INSERT STATEMENT (right side of screen). Also there are a couple of other save options to address – Output and Table Options.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;Output Options:&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Do we want our data information to be saved to a FILE or to a CLIPBOARD? For our example we have chosen a clipboard. Remember when working with Toad the clipboard selection can refer to the TOAD EDITOR screen (cut and paste).&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;Table Options:&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Here, you also have some additional options to Include Null Text, SQL Statements, Schema Name, and Lower Case Column Names. For our example I have selected Include Schema Name. We are asked to either give our insert script a schema name or leave blank. As you can see I have left this information blank. I want to create a generic script so that I could use this script across different schemas if needed. This can be very valuable when working with Test or Development environments.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Finally we need to give our insert script the name of the table where we wish to insert the data. If you noticed I gave a table name of OW_QUEST. If you remember we are using the data from a table called OW_CUSTOMERS. The reason for this is I want to copy my OW_CUSTOMERS data into a new temporary table called OW_QUEST,- click ok (see Figure 4).&lt;strong&gt; &lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;DATA GRID SAVE OPTION&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size="1"&gt;&lt;img alt="" src="http://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.com/Portals/0/blogimages/Michael Lumbard/ml_blog_071309-4.gif" /&gt;&lt;br /&gt;
Figure 4: TOAD’S EXPORT FILE BROWSER - DATA GRID SAVE OPTION | INSERT STATEMENT&lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;We can view the generated insert statement from our Export File Using the Export File Browser (Figure 5).&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;EXPORT FILE BROWSER DATA INSERT STATEMENT&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size="1"&gt;&lt;img alt="" src="http://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.com/Portals/0/blogimages/Michael Lumbard/ml_blog_071309-5.gif" /&gt;&lt;br /&gt;
Figure 5: TOAD’S EDITOR SCREEN – EXPORT FILE BROWSER DATA INSERT STATEMENT&lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Now we have the option to execute the newly created script or save the script and execute as needed.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;DATABASE COMPARE MODE&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;A great option in TOAD’S Export File Browser is the option to use the DB Compare feature. Here we can  compare an export file with objects in the database. This is a cursory compare and will not indicate deep, data level difference.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;For any selected nodes and databases, check boxes will indicate if the object is in the file, the database, or both.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;To compare a export file to a database:&lt;/div&gt;
&lt;ol type="1"&gt;
    &lt;li&gt;Click the DB Compare Icon (left side of screen).&lt;/li&gt;
    &lt;li&gt;On the right hand side of the screen, select a connection from the connection drop down to compare to the file.&lt;/li&gt;
    &lt;li&gt;Now on the left side, select one or more nodes to compare to the selected database.&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;As a DBA you can use this compare feature to give you a quick and accurate solution to view your Export files compared to your database as opposed to reviewing your numerous export logs.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size="1"&gt;&lt;img alt="" src="http://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.comhttp://toadworld.com/Portals/0/blogimages/Michael Lumbard/ml_blog_071309-6.gif" /&gt;&lt;br /&gt;
Figure 6: TOAD’S EXPORT FILE BROWSER – DB COMPARE MODE SCREEN&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;SUMMARY&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;When there is a need to quickly recover database information, Toad’s Export File Browser is an efficient way to meet this challenge. It allows the users to select from any number of existing Export Files and provides a number of key features to assist with the recovering of the exact data information needed.&lt;/div&gt;</description>
      <link>http://toadworld.com/BLOGS/tabid/67/EntryID/407/Default.aspx</link>
      <author>Michael Lumbard</author>
      <comments>http://toadworld.com/BLOGS/tabid/67/EntryID/407/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://toadworld.com/Default.aspx?tabid=67&amp;EntryID=407</guid>
      <pubDate>Mon, 13 Jul 2009 13:54:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://toadworld.com/DesktopModules/Blog/Trackback.aspx?id=407</trackback:ping>
    </item>
  </channel>
</rss>