Getting Started and General Overview |
|
|
DbVisualizer 6.5 October 2008 |
http://www.dbvis.com support@dbvis.com |
All documents in the Users Guide are primarily focusing on the DbVisualizer Personal edition. Some of the described features are not available in the Free edition.
.install4j/The dbvis.exe file is used to start DbVisualizer. The remaining files and directories are only of interest if you need to do nonstandard customization. For information on how to increase the memory for the Java process that runs DbVisualizer, and also on how to modify the Java version being used, please read the on-line FAQ for the latest information.
doc/
jdbc/
lib/
resources/
wrapper/
dbvis.vmoptions
dbvis.exe
README.txt
uninstall.exe
You rarely need to modify these properties, as the default values are sufficient for most usage.
| Property | Description |
|---|---|
| dbvis.driver.ignore.dir=lib:resources:.install4j | Specify directories from
DBVIS-HOME that should not be listed in the Driver Manager "System
Classpath" list. Directories are separated with ":". Accepted values: one or several directory names starting from DBVIS-HOME. |
| dbvis.grid.encode=false | Specifies if
encoding of data in
result set grids will be performed or not. If set to true then make
sure the dbvis.grid.fromEncode
and/or dbvis.grid.toEncode
are also set. |
| dbvis.grid.fromEncode=ISO8859_1 | Encoding used when
translating
text data that is fetched from the database |
| dbvis.grid.toEncode=GBK | Encoding used when
translating
data that will appear in the result set grid |
| dbvis.usegetobject=false | Specifies if the
generic
ResultSet.getObject() method in JDBC will be used in favor of the data
type specific get methods or not. Default is false. |
| dbvis.savedatacolumns=false |
Column layout
changes such as
reordering and/or visibility are saved for all grids in the Objects
Views *except* for the "Data" grid. This property can be used to also
include the layout in the "Data" grid. Note: This will result in
DbVisualizer
saving the layout for each table that is displayed in the Data grid =
huge XML file... |
| dbvis.disabledataedit=false |
Specifies if table
data
editing should be completely disabled, i.e. the form and inline
editors. Note: This only has an effect when used with a licensed
edition. |
| dbvis.showactionresult=false | This defines whether the result for all actions should be displayed or only failures (default). |
| dbvis.usestandardgridfit=false |
Enable this property and
DbVisualizer will use an accurate but slow method to automatically
resize grid columns. "Accurate" since it does a real calculation of the
columns width. If leaving this property disabled then column widths are
determined much faster but depending on what grid font is used some
columns may be truncated with "...". This property only have effect if
Tool Properties->Grid->Auto Resize Column Widths is enabled |
| dbvis.sqlwarning.maxrows=5000 |
Defines the number of SQL Warning rows that should be processed until truncated. |
These properties may change in future versions of DbVisualizer. Some are also experimental and may be removed or instead introduced in the DbVisualizer GUI.
| Operating System | File Name |
|---|---|
| Windows | C:\Documents and Settings\<user>\.dbvis\dbvis.license |
| UNIX/Linux | /home/<user>/.dbvis/dbvis.license |
| Mac OS X | /Users/<user>/.dbvis/dbvis.license |
Usage: dbvis [-help] [-up <path>] [-sqlfile <path>]
[-windowtitle <title>]
[connect options] [remote options]
General Options:
-help Display this help
-up <path> Use an alternate user preferences file
-sqlfile <path> Load file into the SQL Commander editor
-encoding <encoding> Optional encoding for loaded file
-windowtitle <title> Additional window title
-execute Will execute SQL file automatically
-invisible No windows will be displayed
Driver Connect Options:
-driver Setup and connect using the following Driver options:
-alias <name> Database alias
-drivername <name> Driver name
-path <path> Path to driver class
-class <class> JDBC Driver class
-url <url> Connection URL
-userid <user> Userid to connect as
-password <pw> Connect password
JNDI Connect Options:
-jndi Setup and connect using the following JNDI options:
-alias <name> Database alias
-drivername <name> Driver name
-path <path> Path to initial context class
-class <class> Initial context class
-url <url> Provider URL
-lookup <name> Lookup name
-userid <user> Userid to connect as
-password <pw> Connect password
Remote Options:
-attachremote Attach to remote DbVisualizer instance
-enableremote Enable remote attachment
-host <host> Remote host name (default: localhost)
-port <port> Remote port (default: 8787)

Figure: The DbVisualizer main window
| Grid |
![]() |
| Graph | ![]() |
| Chart | ![]() |
Figure: The grid, graph and chart terms
The documentation uses the term grid for the user interface component that represents tabular data, rather than table, to avoid confusion with a database table.

Figure: Tooltip example

Figure: Grid overview
The screenshot shows the grid and controls that are available for the grid in the Data tab, but the differences are minor compared to grids used in other places.
Figure: Grid right click menu
| Menu Choice | Description |
|---|---|
| Select All | Select all cells (i.e., all rows and
columns) in the grid |
| Select Row(s) | Select all cells in the selected row(s) |
| Copy Selection | Copy all selected cells onto the system clipboard |
| Copy Selection (With Column Header) | Copy all selected cells including column header onto the system clipboard |
| Export | Copy the export dialog |
| Export Selection | Export the selection using the standard export feature |
| Open the print dialog for printing the compete grid | |
| Print Selection | Open the print dialog for printing just the selected rows/columns |
| Print Preview | Open the print preview dialog |
| Save Selected Cell | Save the value of the selected cell to a file, selected with a file chooser dialog |
| Reload | Reload the grid with data from the database |
| Find | Open the find dialog |
| Browse Row in Window | Display all data for the selected row in a separate window. Note: for a read/write grid, this entry is named Edit Row in Window. |
| Browse Cell in Window | Display the cell value in a separate window. This is
especially useful for BLOB/CLOB data. Note: for a read/write grid, this entry is named Edit Cell in Window. |
| Describe Data | Show detailed information about the columns in the grid |
| Calculate Selection | Displays some metrics about the current selection. This is especially useful for numeric fields. Read more in Calculate Selection below. |

Figure: The calculate
selection popup
| Property | Description |
|---|---|
| Number of Cells | Shows the number of cells in the selection. |
| Valid Numbers | Lists the number of valid numbers in the selection. |
| Null Values | Shows the total of null values in the selection. |
| Bytes | Shows the total number of bytes in the selection after that the data has been translated to text |
| Sum | Shows the total summary of the selection |
| Min | Shows the minimum number in the selection |
| Avg | Shows the average value of the selection by doing sum / number of valid numbers |
| Max | Shows the maximum number in the selection |

Figure: The Column Visibility dialog
The Column Visibility dialog shows all columns that are available in the grid.
Figure: Auto Resize menu
| Menu Choice | Description |
|---|---|
| All Columns (consider Header) | Resize all columns to fit the widest cell value, or the column header if it is wider than any cell value |
| All Columns (ignore Header) | Resize all columns to fit the widest cell value |
| Current Column (consider Header) | Resize the current column to fit the widest cell value, or the column header if it is wider than any cell value |
| Current Column (ignore Header) | Resize the current column to fit the widest cell value |
| Default Column Widths | Set all column widths to their default width |

Figure: Grid with Quick Filter
When you type in the Quick Filter field, DbVisualizer matches the value with cell values in the grid and filters out all rows that do not have a match in at least one cell. The Quick Filter pull-down menu (click on the down arrow next to the magnifying glass) lets you choose if the filter should match cells in all columns or just one selected column, case or case insensitive matching, and where in the cell the value must match.

If you are accessing the Internet through a proxy, you must enter information about the proxy in the Tool Properties dialog before you check for updates.

Figure: The DbVisualizer Debug Window
The Save and Copy buttons will prepare the log with information about the DbVisualizer version you are using and the connected database connections.
Figure: The connection message right click menu