Db4oTool is a command line utility. The general syntax is the following:
Usage: Db4oTool [options] <assembly>
[options] parameter allows to specify a list of options.
<assembly> parameter allows to pass an assembly, which should be optimized.
Both parameters are optional.
Running Db4oTool.exe without any parameters will bring you a short usage hint. This is equivalent to running Db4oTool with -?
or -help
parameter. Additional help information can be retrieved with -help2
or -usage
parameters.
The table below gives an explanation of all Db4oTool options.
-by-attribute:PARAM |
Filter types to be instrumented by attribute:
|
-by-filter:PARAM |
Custom type filter:
|
-by-name:PARAM |
Filter types by name (with regular expression syntax):
|
-not |
Negate the last filter
|
-case-sensitive |
Specifies if optimized queries should be case-sensitive. This option should be used in conjunction with query optimization option (nq):
|
-collections |
Instrument native collections for transparent activation/persistence.
|
-debug |
Preserves the debug information, to step through enhanced assemblies with the debugger.
|
-fake |
Fake operation mode, assembly won't be written. This option can be used for testing before the actual run.
|
-? -help |
Show standard help list:
|
-help2 |
Show an additional help list (development use):
|
-install-performance-counters |
Enables performance counters for this assembly:
|
-instrumentation:PARAM |
Use custom instrumentation type. PARAM is a string with a full class definition, like
This class must implement |
-nq |
Optimize Native Queries
|
-ta |
Instrument classes to support Transparent Activation
|
-tp |
Instrument classes to support Transparent Persistence (Transparent Activation support is included implicitly):
|
-statistics:PARAM | Shows statistic information about the database. For example Db4oTool -statistics databaseFile.db4o |
-usage |
Show usage syntax and exit:
|
-v -verbose |
Verbose operation mode. Should be combined with the other options:
|
-V -version |
Display version and licensing information:
|
-vv |
Pretty verbose operation mode:
|