Procedure documentationStarting Database Studio Locate this document in the navigation structure

Prerequisites

  • You have installed the Java runtime environment, version ≥ 5.

  • The installation-specific X server for your Database Studio installation is running. In normal operation, Database Studio automatically starts the corresponding X server. If the X server is not running, you can manually start it, see Starting the Global Listener and/or Installation-Specific X Servers.

Procedure

Depending on your system environment, you can start Database Studio either from your operating system menu or from the command line.

Caution Caution

For the first start of Database Studio after you have installed the software, the following applies:

  • You are logged on as an operating system user of the Administrators group (Microsoft Windows) or as an operating system user with root privileges (Unix/Linux).

  • Navigate to the directory that contains the dbstudio[.exe] executable and start Database Studio from there from the command line.

End of the caution.
Starting Database Studio from the Start Menu (Microsoft Windows)

Choose   Start   All Programs   SAP MaxDB   Database Studio  .

Starting Database Studio from the SAP Developer Studio
  1. Start the SAP Developer Studio.

  2. Choose   Windows   Open Perspective   Other ...  

  3. Choose Database Studio.

Starting Database Studio from the Command Line

When starting Database Studio from the command line, you can specify call options.

  1. Go to the directory that contains the dbstudio[.exe] file.

  2. On the command line, enter the following command:

    <database_studio_path>\DatabaseStudio\dbstudio[.exe] [[[-l <landscape>] -n <database_computer>] -d <database> -u <DBS_login>,<user_password> [-a <action>]] [-ldf <landscape_definition_file>] [-vm <path_to_Java_VM>/javaw.exe] [-vmargs <VM_arguments>]

Database Studio: Call Options

Call Option

Description

-l <landscape>

Landscape that is to be selected in the explorer tree after starting Database Studio

-n <database_computer>

Name or IP address of the database computer that is to be selected in the explorer tree after starting Database Studio

-d <database>

Database that is to be selected in the explorer tree after starting Database Studio

-u <DBS_login>,<user_password>

User login and password of the corresponding user that is to be selected in the explorer tree after starting Database Studio

-a <action>

<action> ::= DBM|SQL

DBM: Administration Editor is opened after starting Database Studio

SQL: SQL Editor is opened after starting Database Studio

More information: Database Studio Screen Areas

-ldf <landscape_definition_file>

You import a database landscape from Database Manager GUI. In Database Studio's explorer, the imported landscape is displayed under the Imported Landscape node.

Database Manager GUI stores its database landscape in the following file (landscape definition file):

<user_home>\Application Data\sdb\DBM\Default.dbm

-OnlyRemote

Choose this option to prevent that the X server is automatically started when Database Studio is started.

-vm <path_to_Java_VM>/javaw.exe

The Java Virtual Machine that is located in the <path_to_Java_VM> is used instead of the default Java Virtual Machine.

-vmargs <VM_arguments>

Arguments that the Java Virtual Machine is to execute when starting Database Studio

Result

When you start Database Studio for the first time, the system sets up a local user and landscape management system on your computer and registers all SAP MaxDB databases that already exist on your computer.