Get to Know Toad 10

Last Revised: Monday, September 21, 2009

Introduction In All Toad Editions: 


Unicode Support Actions Alter Type Application Data Folders Editor ER Diagram Grids LicensingStructure Load DatabaseObject Network ConnectionInfo ProfilerAnalysis Project Manager RebuildTable Script Manager SearchFunctionality Server SideObjectWizard SettingParameters Set Sequence TNS Names Editor User Data MigrationonUpgrade Variables In Professional, Development Suite and DBA Suite Editions: 

CodeXpert Data Generation In the DB Admin Module and DBA Suite Editions: 


Database Browser DatabaseHealthCheck Database Monitor Instance Manager Options Introduction The release of Toad® for Oracle 10 brings an array of new features, not least of which is Unicode support. For full details and other ways to learn Toad, see the Release Notes and the built-in Help (press F1). This page provides a quick walk-through of some of the features introduced in Toad® for Oracle 10. Links to video walk-throughs are provided where available. In addition, new videos are often

you will need to make the following change to your LexLib for the Editor parser to work correctly with Unicode:  y y y From the View menu. Default Encoding option added to Options | General to set default encoding for new Editor tabs and for saving files.Behavior node. Thereisanonline video tutorialforthisfeature. Set the language dropdown to PL/SQL and then click the Edit Language button. y y Click the Parser tab and select Any Name. this should be a seamless transition. Note: Some Oracle features are not Unicode-enabled. Click the Editor .30. Furthermore.being added to the Video Page at Toad World where you can also find videos from previous versions. Note: This overview was created using Toad BETA release version 10. Return to Contents In All Toad Editions: Unicode Support  Toad now supports Unicode.   Toad Advisor now checks that NLS_LANG value matches client character. select Options. If you are an upgrading user. For people already using Unicode-enabled databases.0. Add (?r) to the beginning of the "Any name" parser rule: . you can find details of the various Toad Editions and additional products included in them at Quest Software's Toad for Oracle product page. some descriptions may vary slightly from the final release.0. Please see your Oracle documentation for information about these features. or have specific Unicode requirements to function. As such.

world Connection_2=scott@ora2gr2. In some actions.exe -c ).exe -a "App->Export Dataset1 | c:\data files\exportDataset1. 3=Clipboard. will include explanatory notes embedded within the line itself. 2=SeparateFile. these connections will now be used in the Actions specified afterward ( -a ). you can also specify connections to execute against in the Automation Designer. "Name" and "Type" are only for your use. They are in INI format. and in the case of things like enumerated types. 4=Discard} Output Location=C:\some folder\output. ReturntoContents Actions   AppDesigner has been renamed to Automation Designer. instead of the connection currently bound to the Action. This parameter file can then be used in the Automation Designer ('Run with parameter file') or on the command line by using a pipe to separate the Action/App name from the filename. to find your Action within a longer App INI file. For example: toad. Here is a sample section from an INI file which shows an Execute Script Action: y y y y y y y y y y [47] Name=Execute Script1 Type=Execute Script ItemCount=2 Item0=c:\ [47] is an internal identifier.y Click OK or Apply to save changes. When specifying connections on the command line (toad. This will override the bound .ini"   y y You will know which Actions can generate/read an INI file by whether or not the 'Create parameter file' popup menu item in Automation Designer is enabled.' two connections are specified.sql Item1=c:\try2. In this example of 'Execute Script. Each Actions INI section will be unique to that Action. It will create property=value pairs for the things which can be overridden. Right click on an Action/App in Automation Designer and choose "Create Parameter file" to build an INI file based on the current Action properties. ActionParameter files: Actions can now accept parameter files.txt ConnectionCount=2 Connection_1=mlerch@ora10gr2.sql Output=1 {1=SingleFile.

This functionality is based on. but it can help you. which does not support roaming profiles. Theorder of precedenceforwhichconnectionsgetused: o o o Those specified on command-line always override everything else If 1 is not present. Return to Contents Application Data Folders  The default installation directory for new installs enables roaming profile support by default. You can now see the objects included referentially when you add objects using Referential Integrity:  . You must restart Toad for a change in this option to become active. "Split Size Horizontally" This item will auto size the Editor so that there is equal space allocated for the edit control and the bottom docking panels. You will need to manually add the item to the toolbar or reset your toolbar to see this if upgrading. The Use Local Default button points to the user's local application data folder. In the View | Toad Options | General | Application Data Directory. and works with. Toad's ER Diagrammer is not meant to be a modeling tool.connection of the Action. the Use Default button now points to the user's main application data folder. ReturntoContents Editor   New menu item added to the main Toad Editor menu. those specified in an INI file are considered next Finally. there is an online video tutorial for this feature. Return to Contents ER Diagram In addition to the following information. If that line wasn't there. the bound connection would be used.  The ER Diagram has been expanded in Toad 10. The default shortcut is CTRL+F2. the connection bound to the Action is used if none are in 1 or 2 ReturntoContents Alter Type  Altering a Type in the Schema Browser now loads the object in the Editor. the Toad Data Modeler.

you can now subdivide your diagram into multiple workspaces. and color code them.  Separate objects into categories. In addition. . and add Model information to the diagram.

Some new featuresinclude: Grids now share a single popup menu.  y Grids are now consistent throughout Toad.     Use the Zoom and Snap to Grid features to organize your diagram. you can also create random test data for selected objects. Create detailed reports in several formats. Export diagrams to several different graphics files. Create a diagram and send it to Toad Data Modeler for detailed modeling. . there is also an online video for this feature. With the appropriate Toad Edition. Return to Contents Grids In addition to this information. and email them. zip.

y Reset Grid View restores the grid to the original configuration so you can undo any groupings. Grids can handle block selection if row select is unchecked and multi-select is checked. as in the Rebuild Multiple Indexes grid. . Grids can be grouped by a column header by dragging the header into the Group By area at the top of the grid. bookmarks and so on with one selection. This feature can be toggled on the right-click menu. y y y Grids that had special functionality now have an upper toolbar containing that functionality.

click the Goto Bookmark button on the same toolbar. . Single Record View is now part of the Navigator toolbar. If you do not see a navigator. y y You can bookmark one location in the grid and return to it later. Put your cursor in the row you want to bookmark and click the bookmark button on Navigator toolbar. right-click in the grid and select Toggle Navigator. y Navigator toolbars have been moved to the bottom of the grid area. y To return to the bookmark. y Show/Hide columns with the Quick Column Customization drop down in the upper left.y You can check or uncheck all boxes in a grid column by right-clicking in the column header and selecting the appropriate option.

This defaults to the setting made in the Profiler tab in the Editor.y All customizations are remembered (column order and size. ReturntoContents ProfilerAnalysis  Show anonymous blocks toggle in right-click menu added.ini. Return to Contents Network Connection Info  Now stored in NetworkConnections. Return to Contents Load Database Object  Load Database Object now allows incremental searching in both the schema box and the object grid. and tied to the logged in user. old license keys are still supported. ReturntoContents LicensingStructure  The licensing structure has been changed to support one key for all products in a Toad Edition. It is also encrypted using hte same method as the connection information. If you are upgrading your version of Toad. . and so on).dat rather than Toad. group header visibility.

ReturntoContents SearchFunctionality  y y y y y A quick search bar has been added to the main toolbar. You may need to restore the toolbar defaults to have it display initially. ReturntoContents Script Manager  Has been redesigned for improved support for multiple connections. ReturntoContents RebuildTable  Can rebuild tables containing LONG columns. Return to Contents Server Side Object Wizard  . From this toolbar you can: SearchToadWorld online Search Toad World and other Toad-related sites Search AskToad (the Toad wiki) SearchKnowledgeXpert Perform keyword searches against the Toad help file.  You can enable/disable the search bar by right-clicking on the toolbar and selecting "Online Search". To do this. right-click on the main toolbar and select Restore defaults. rather than as an independent auto connection.ReturntoContents Project Manager  AutoConnect mirrors auto-connect property of the login record for Toad as a 2-way mirror.

y From the Schema Browser | Tables page. and then click OK. ReturntoContents SettingParameters  Setting Parameters now provides lists for parameter selection. . ReturntoContents Set Sequence  Set Sequence feature replaced with an auto-increment via sequence and trigger. Data Generation scripts added.  Now a part of Toad instead of a separate application (required for Unicode support). make any required changes. right-click and select Add | Trigger/Sequence Pair and then enter the required information: y Double-check the SQL created. and larger editing areas for large parameters.

Development Suite.    Delete host nodes in Host View mode Delete multiple nodes (host or service) Retain relative position in the tree view when nodes deleted Return to Contents User Data Migration on Upgrade  A new migration tab is added to the initial startup wizard to migrate your existing application data from a previous installation of Toad. select Highlight columns populated by sequence/trigger pair. Toad will attempt to detect the application data paths of previously installed versions. It will also provide the option of specifying a custom location. it will select the most recent installed version and give you the option of migrating data files from that installation to the current installation. Upon startup.Visual. ReturntoContents Variables  Variables can now be added within definition filenames in several of the Compare and Generate windows. For example %DATEFILE% and %TIMEFILE% can be used to stamp the date and time of creation (These are included in the default filename). you can highlight columns populated by it by doing the following: From View | Toad Options | Schema Browser . or the option to skip the migration and perform a clean install.y Once the sequence/trigger pair is set. Otheruser-defined variables mayalso be added. If one is found. Return to Contents TNS Names Editor An online video tutorial is also available for this feature. . Xpert. and DBA Suite Editions: CodeXpert  Command line XML output now has an additional tag called comment_count to list the number of comments in the code being analyzed. ReturntoContents In the Professional.

Straight random and Unicode data are present. and will perform faster. y  Using Toad 10 you can create more meaningful random data for your tables. select the tables for which you want to generate data. personal. TOAD_DATAGEN: This will use a TOAD-specific package to generate data on the server. geographical. and business data formats. y y .ReturntoContents Data Generation  Enhanced data generation ability can now create more realistic data. Note: You will need to install the TOAD_DATAGEN package through Server Side Object Wizard in order to use this feature. y DBMS_RANDOM: This will use the DBMS_RANDOM package to generate data. or in the global TOAD schema. Also included is the ability to reference a foreign field. An option is also available to commit every "x" rows. but does not require any packages installed on the database server. a hard-coded value. which will take longer to execute. The advantage is that this will generate a much smaller SQL script. Right-click and select Generate Data. Generators were added to create various address.  y Three generator engines are supported: Internal: This will create a script with "n" INSERT statements per table (depending on the individual table's settings). DBMS_RANDOM will need to be installed on the database server for this option to be available. Caution: This will create a very large SQL script. This package can be installed locally. Oneway of doingthis: In the Schema Browser. and is similar to the behavior in Toad 9.7. An online video tutorial is also available for this feature. and the ability to enter a custom SQL statement.

All options must be set individually. although the actual generation can be done all at one time. Click on a table or column node and set options specific for that node. . including Data Generation Engine.y y Set General options.


y Click Show SQL to check the code before running it. >=4K for non-RAC Verify multiblock_read_count between 4 and 16 Verify disk_asynch_io is TRUE (pre-11g) Verify compatibility of db_writer_processes and dbwr_slaves with disk_asynch_io setting Verify dml_locks=0 or >=transactions * 4 Verifyfilesystemio_options='SETALL' Verify fast_start_mttr_target is set when log_checkpoint_timeout=0 (9i+)   y y y y y y y y y y y y y y y y y y y y y y y y y .. and Performance). or click OK to generate data immediately. (10g+) Verify compatible matches version major.minor Verify optimizer_features_enable matches version major. Return to Contents In the DB Admin Module and DBA Suite: Database Browser  Right-click to execute a Quick Script. The Database category has been integrated into new categories: (Config. Return to Contents Database Health Check  Many new health check items have been added. Settings has been moved to its own tab.(let Oracle determine the value) Verify cursor_sharing='SIMILAR' (9i+) Verify cursor_space_for_time='TRUE' (pre 11g) Verify db_cache_size set instead of db_block_buffers (9i+) Verify buffer cache >=200MB VerifyLarge Pool >=50MB Verify objects using KEEP buffer pool exist if db_keep_cache_size is set Verify db_keep_cache_size>=50MB if objects exist which use RECYCLE buffer pool List db_nk_cache_sizes without corresponding tablespaces (9i+) List tablespaces without corresponding db_nk_cache_sizes (9i+) Verify db_block_size<=4K for RAC. Storage. New health check items include: List default initializationparameters List non-default deprecated initialization parameters.minor Verify optmizer_index_caching>= 50 (9i+) List incompatible parameters if pga_aggregate_target (10g) or memory_target (11g) is set Verify pga_aggregate_target>+10MB (10g only) Verify control file count>=2 Verify CPU count . Alert Log.

Then. The DB Monitor tray icon now flashes red if there is an issue that can better be addressed from Spotlight for Oracle. the grid now includes checkbox columns in each server row to select servers to monitor or alert when down. version info. and a few basic ratios Listdatafile IO distribution List objects where number of hash partitions is not a power of two List segments with <1% of extents remaining and >10 maxextents Listsegmentswith>1000 extents ReturntoContents Database Monitor    Alert options have been moved from the main Options window to the Database Monitor screen. . retention <=90 days (10g and newer) List connect time. or choose to open the DB Monitor.has now been integrated into the Instance Manager window. when the window is opened. You can configure the monitor to begin collecting data whenever a connection is made. For example. You can now run any action (including scripts) when a specified threshold is hit. all data is displayed.y y y y y y y y y y y y y y y y y y y Verify max_dump_file+size<=20MB Verifyopen_cursors>=50 Verify query_rewrite_enabled = TRUE (9i+) Verifyrecyclebin='OFF' (10g+) Verify remote_login_password_file='SHARED' Verifysession_cached_cursors>=20 Verify sga_target>=200MB and sga_max_size same value (10g+) Verifystar_transformation_enabled=TRUE Verify sql_trace = FALSE (pre-11g) Verifytimed_os_statistics = FALSE Verifytimed_statistics = FALSE Verify trace_enabled = FALSE (9i+) Verify SYS. Wait events chart has been expanded and updated for Oracle 10g and 11g. Right-click on the tray icon to launch Spotlight. Return to Contents Instance Manager Options    Options | Instance Manager .AUD$ isn't in SYSTEM tablespace Verify AWR collection interval >=30 minutes.

ReturntoContents .