Documentation 8.0
Aqua Data Studio 8.0
Supported RDBMS Servers
1. Installation
    1.1 Minimum Requirements
    1.2 Installing Aqua Data Studio in Windows OS
    1.3 Installing Aqua Data Studio in Linux OS
    1.4 Installing Aqua Data Studio in Mac OS
    1.5 Launcher & Memory Configuration
    1.6 Interface Language, Fonts & Character sets
    1.7 Charts and OpenGL/JOGL Configuration
    1.8 Application Logs & Support Information
    1.9 Configuration & Connection files
2. Registering a Database Server
    2.1 Oracle
    2.2 Oracle OCI
    2.3 DB2 iSeries
    2.4 DB2 LUW
    2.5 DB2 zOS
    2.6 MS SQL Server
    2.7 Sybase ASE
    2.8 Sybase Anywhere
    2.9 Sybase IQ
    2.10 Informix
    2.11 Teradata
    2.12 Aster nCluster
    2.13 MySQL
    2.14 PostgreSQL
    2.15 Apache Derby
    2.16 Generic JDBC
    2.17 Generic ODBC
3. JDBC Driver Configuration
    3.1 Oracle 8i JDBC Drivers
    3.2 Oracle 9i JDBC Drivers
    3.3 Oracle 10g JDBC Drivers
    3.4 Oracle 11g JDBC Drivers
    3.5 DB2 iSeries JDBC Drivers
    3.6 DB2 z/OS JDBC Drivers
    3.7 DB2 LUW 7.2 JDBC Drivers
    3.8 DB2 LUW 8.1 and DB2 UDB 8.2
    3.9 DB2 LUW 9.0 and DB2 UDB 9.5
    3.10 SQL Server JDBC Drivers
    3.11 Sybase ASE JDBC Drivers
    3.12 Sybase Anywhere JDBC Drivers
    3.13 Sybase IQ JDBC Drivers
    3.14 Informix JDBC Drivers
    3.15 Teradata JDBC Drivers
    3.16 Aster nCluster Drivers
    3.17 PostgreSQL JDBC Drivers
    3.18 MySQL JDBC Drivers
    3.19 Apache Derby JDBC Drivers
    3.20 SQLite JDBC Drivers
    3.21 Firebird JDBC Drivers
4. Workspace and Docking Framework
    4.1 Menus and Toolbar
    4.2 Shortcuts Toolbar
    4.3 Schema Browser
    4.4 Scripts Browser
    4.5 Details View
5. Query Analyzer - SQL Tool in ADS
    5.1 Invoking the Query Analyzer (CTRL+Q)
    5.2 Using the Query Analyzer
    5.3 Query Analyzer and its Environment
    5.4 Server Side Comments
    5.5 Parameterized Scripts
    5.6 Displaying Results of Queries
    5.7 Saving Query Results
    5.8 Tips and Tricks
    5.9. SQL Automation
        5.9.1 Insert, Update, Select
        5.9.2 Introduce Columns and Value Stubs
        5.9.3 Morph to Delimited List
        5.9.4 Formatting Statements
        5.9.5 Auto Completion
        5.9.6 Aqua Commands
    5.10. Charting Grids and Pivot Grids
        5.10.1 Working with Grids and Pivot Grids
        5.10.2 Working with Enhanced Charts
        5.10.3 Scripting Charts
        5.10.4 Chart Options
        5.10.5 Function Series
    5.11. Visual Explain Plan
        5.11.1 Using Explain Diagrams
        5.11.2 Sample Query Tuning Demo
6. SQL History (CTRL+ ALT+H)
7. Query Builder Tool in ADS
    7.1 Building Queries
    7.2 Workspace Reference
8. GUI Tools for Database Objects
    8.1 Creating Databases
    8.2 Creating Tables
    8.3 Creating Constraints
    8.4 Creating Indexes
    8.5 Creating Views & Triggers
    8.6 Creating Aliases & Synonyms
    8.7 Creating Storage Objects
    8.8 Multi Scripting Objects
9. Tools and Features
    9.1 How to Import Data using ADS
    9.2 How to Export Data using ADS
    9.3 Generate SQL Scripts using ADS
    9.4 Table Data Editor
    9.5 Server Script Generator
    9.6 Using Object Search in ADS
    9.7 Comparing two Database Schemas
    9.8 Using the Visual Explain White Board
    9.9 Using the Execution Monitor
    9.10 Generating ER Diagrams
10. Procedure, Function & Package Editor
11. SQL Debugger
    11.1.1 Oracle Debugger
    11.1.2 DB2 Debugger
    11.1.3 MS SQL Debugger
    11.1.4 Sybase Debugger
12. ER Modeler in ADS
    12.1 Notation and Normalization
    12.2 Creating Tables
    12.3 Creating Indexes
    12.4 Creating Constraints
    12.5 Creating Relationships & Subcategories
    12.6 Adding Notes and Regions
    12.7 Saving and Exporting an ER Model
    12.8 Forward Engineering
    12.9 Reverse Engineering
    12.10 ER Modeler Demo
    12.11 Converting ER Models DB to DB
13. Version Control in ADS
    13.1 Using a Subversion Repository
    13.2 Using a CVS Repository
    13.3 File Search in Version Control
14. Database Administrator Tools
    14.1 ORACLE DBA Tools
        14.1.1 Server Statistics
         14.1.2 Rollback Manager
         14.1.3 Log Manager
         14.1.4 Session Manager
         14.1.5 Instance Manager
         14.1.6 Storage Manager
         14.1.7 Security Manager
         14.1.8 SGA Manager
    14.2 SQL SERVER DBA Tools
        14.2.1 Instance Manager
        14.2.2 Session Manager
        14.2.3 Security Manager
        14.2.4 Storage Manager
        14.2.5 SQL Agent Manager
    14.3 SYBASE DBA Tools
        14.3.1 Instance Manager
        14.3.2 Session Manager
        14.3.3 Security Manager
        14.3.4 Storage Manager
    14.4 MySQL DBA Tools
        14.4.1 Instance Manager
        14.4.2 Session Manager
        14.4.3 Storage Manager
        14.4.4 Security Manager
    14.5 DB2 for LUW DBA Tools
        14.5.1 Instance Manager
        14.5.2 Session Manager
        14.5.3 Storage Manager
        14.5.4 Security Manager
15. Compare Tools in ADS
    15.1 File Compare
    15.2 Results Compare
    15.3 Directory Compare
    15.4 Tab Compare
    15.5 Schema Compare
    15.6 Copy History Compare
16. Editors & Viewers
17. Aqua Data Studio OPTIONS
    17.1 General Options
    17.2 Editor Options
    17.3 Compare and Results Options
    17.4 Query Analyzer Options
    17.5 Scripts and Results Options
    17.6 Visual Explain Options
    17.7 Formatter Options
    17.8 Permissions and Registration Options
    17.9 Key Mapping Options and Key Assist Tool
    17.10 Command line

5.6 Displaying Results of Queries

The Query Analyzer provides several different query results tools: Text Results, Oracle DBMS_OUTPUT, Text History Results, Grid Results, Pivot Grid Results, Execution Plan, Client Statistics, and Script Details. Once a query has been executed within the Query Analyzer, the results display in a pane at the bottom of the Query Window with tabs for each result type (when enabled). The various results tabs are hidden or dsiplayed by clicking the results icons in the Main Application Toolbar or selecting them underneath the Main Application Query Menu.

Text Results -Text Results displays formated text, which is cleared for every query executed. Text Results most resemble the output viewed within a commandline interface to a database. On the top right of the  text results is a box to indicate errors. If the box is red there are warnings or errors in the results. If the box is green, the query completed successfully without warnings or errors. An annotation bar runs on the right side of the results. Colored marks highlight where the errors or warnings occur. Clicking on them sends the cursor to that point in the results. A black marker with centered dot indicates the current cursor position within the Text Results.

To vastly reduce the amount of memory used by Aqua Data Studio on large results sets (more than 100,000 rows), disable Text Results, and enable ONLY Grid Results in the Query Analyzer Toolbar BEFORE executing. Text Results is very memory intensive on large results sets.

Oracle DBMS_OUTPUT -Oracle allows a user to print out messages from a query, PL/SQL block or stored procedure. ADS will display this output if it is used by the user. An annotation bar runs on the right side of the results. Colored marks highlight where the errors or warnings occur. Clicking on them sends the cursor to that point in the results. A black marker with centered dot indicates the current cursor position witin the DBMS_OUTPUT in the Text Results Pane.

Text History Results -The Text History is formated text and is appended to the previous text. On the top right of the  text results is a box to indicate errors. If the box is red there are warnings or errors in the results. If the box is green, the query completed successfully without warnings or errors. An annotation bar runs on the right side of the results. Colored marks highlight where the errors or warnings occur. Clicking on them sends the cursor to that point in the results. A black marker with centered dot indicates the current cursor position.

Grid Results -Results are displayed in a grid which can be sorted by clicking on column headings. One grid per statement is displayed. The Grid Results offers an expansive set of features for sorting, searching, saving, printing and other functionality. The column headers in the grid can be rearranged by dragging them, and sorted by CTRL + Click for multiple columns. Aggregate Functions display statistics on selected data from the grid. The Quickfilter at the top right of the grid rapidly filters what results are currently displayed.

Read more about Grid Results here

Enabling ONLY Grid Results BEFORE querying a large results sets (100,000 rows or more) vastly increases Aqua Data Studio's speed, and dramatically lowers its memory footprint. Grid Results are the preffered method of viewing query results in the Query Analyzer.

Pivot Grid Results - The Pivot Grid presents the results as a set of user-configurable tables with data sorting, the equivalent of a Pivot Table in Microsoft Excel. One pivot grid is displayed per result set. The Pivot Grid Results offer an expansive set of features, including scriptable charts and the ability to save to Excel spreadsheets with charting.

Read more about Pivot Grid Results here

Read more on Aqua Data Studio's Pivot Grid Charts here.

They are particulary useful with large amounts of data, helping a user to classify data by categories and obtaining summaries without the time consuming search that it would normally take to look through all of the data. Pivot grids, once configured, can be refreshed to show changes in the data without having to organize the pivot structure and columns each time.



Execution Plan - Execution Plans display detailed statistics on the execution cost of the statement or script. A color coded visual execution plan will be generated for each query executed in the Query Analyzer. Subtree Cost, Node Cost, CPU cost, Estimated Input/Output, Estimated Rows, Executes, Argument, Type, Average Row Size, Defined Values, Output List, Warnings, Parallel, Estimated Executions, Physical Operations, Logical Operations and Statement Text are presented in a table. The contents of an Execution Plan can be added to a Visual Explain Whiteboard so that comparisons can be made to query variations. Execution Plans are extremely useful in query tuning for speed optimization.

Read more about Execution Plans and the Visual Explain Whiteboard here.



Client Statistics - Displays detailed statistics on the execution of the statement or script.

Total Processing: This is the amount of time it takes from the second you click Execute until ADS finishes displaying all of the results on the screen. This is the Script Execution time plus the UI time to process the results and display them.

Client Processing: This is the Total Processing time minus the server wait time.

Server wait time: Server wait time: This is the amount of time ADS spends waiting on the server during server-side methods calls to execute and retrieve results. For example, the executing of a SELECT query, ADS might wait 3 seconds for the query to execute on the server (CPU Server Cycles), then another 5 seconds retrieving results (Network Transfer Cycles). So, this is the best estimate ADS can make on how much time the server spends executing and sending the data to the client.

Script Parse Time: This is the amount of time it takes to parse the script. This is usually zero, unless you have a very large file.

Script Execution Time: This is the total time it takes from the beginning to the end of the execution of the script. This is the raw execution time which doesn’t include any time ADS spends formatting the results to be displayed on the screen.

Script Details - The Script Detail Results lists each statement executed in a script with detail indicating success, failure and/or warnings. Double-clicking on an item highlights the associated lines in the script.

Printing Grid and Text results - Grid, Text, and Execution Plan results can be printed using a physical or software printer. The printing can be configured using options presented in the Print dialog such as: document header and footer, paper size, margins and document orientation. The Print Preview displays the layout of the item selected for printing. Once printing begins, Aqua Data Studio provides a popup status dialog that both shows what page is currently printing and provides the ability to cancel the print job.