Java DB

Apache Derby

Derby Server and Administration Guide

Derby Getting Started
Derby Reference Manual
Derby Developer's Guide
Derby Performance Tuning
Derby Server and Admin Guide
Derby Tools and Utilities
Derby Server and Admin Guide
-Part one: Derby Server Guide
-Derby in a multi-user environment
-Using the Network Server with preexisting Derby applications
-The Network Server and JVMs
-Installing required jar files and adding them to the classpath
-Starting the Network Server
-Shutting down the Network Server
-Obtaining system information
-Accessing the Network Server by using the network client driver
-Accessing the Network Server by using a DataSource object
-XA and the Network Server
-Using the Derby tools with the Network Server
-Differences between running Derby in embedded mode and using the Network Server
-Setting port numbers
-Managing the Derby Network Server
-Managing the Derby Network Server remotely by using the servlet interface
-Derby Network Server advanced topics
-Derby Network Server sample programs
-Part two: Derby Administration Guide
-Checking database consistency
-Backing up and restoring databases
-Replicating databases
-Logging on a separate device
-Obtaining locking information
-Reclaiming unused space

 

Example of moving a log manually

If you want to move the log to g:/bigdisk/tourslog, move the log with operating system commands:

move h:\janets\tourslog\log\*.* g:\bigdisk\tourslog\log

Then, alter the logDevice entry in service.properties to read as follows:

logDevice=g:/bigdisk/toursLog
Note: You can use either a single forward slash or double back slashes for a path separator.

If you later want to move the log back to its default location (in this case, d:\mydatabases\toursDB\log), move the log manually as follows:

move g:\bigdisk\tourslog\log\*.* d:\mydatabases\toursDB\log

Then, delete the logDevice entry from service.properties.

Note: This example uses commands that are specific to the Windows NT operating system. Use commands appropriate to your operating system to copy a directory and all of its contents to a new location.
 

javadb@jdbcurl.com