Oracle7 Getting Started for Windows NT Go to Product Documentation Library
Library
Go to books for this product
Product
Go to Contents for this book
Contents
Go to Index
Index



Go to previous file in sequence Go to next file in sequence

Using Tools and Utilities



Choosing Which Tool or Utility To Use

Oracle7 Server for Windows NT includes various tools and utilities to perform database administration. The following table lists available tools and utilities and the operating system on which each can be used.

Tool or Utility Windows NT Server Windows NT Client Windows 95 Client Windows 3.1 Client
Instance Manager Graphical User Interface (GUI)

YES

NO

NO

NO

Instance Manager command line

YES

NO

NO

NO

Server Manager

YES

YES

YES

NO

Oracle7 Utilities1

YES

YES

YES

YES

Oracle Enterprise Manager

YES

YES

YES

NO

Windows NT Tools2

YES

NO

NO

NO

OCOPY

YES

NO

NO

NO

SQL*Plus

YES

YES

YES

YES

  1. Oracle7 Utilities consist of Export/Import, SQL*Loader, and the Password Utility.

  1. Windows NT Tools belong to the Windows NT operating stem and can be used to perform operations on Oracle7 databases.

Note
Some tools and utilities perform the same database administration tasks, though no one tool or utility performs all database administration tasks.

The following table lists tools and utilities that enable you to perform common database administration tasks. The footnotes provide additional information and references to other documentation. After choosing a tool or utility for performing a task, go to the section "Starting Tools and Utilities" in this chapter for instructions on starting the tool or utility. Unless otherwise noted, all tools and utilities listed in the following table can also be used on a Windows 95 client or a Windows 3.1 client.

Task/Use... Instance Manager1 2 Server Manager3 Oracle7 Utilities Windows NT Tools Oracle Enterprise Manager OCOPY4 SQL*Plus
Create an Oracle7 database service

YES

Use command line or GUI5

NO

NO

NO

NO

NO

NO

Start an Oracle7 database service

YES

Use command line only

NO

NO

YES

Use Control Panel

NO

NO

NO

Delete an Oracle7 database service

YES

Use GUI only

NO

NO

NO

NO

NO

NO

Delete an Oracle7 service but not the database

YES

Use command line only

NO

NO

NO

NO

NO

NO

Create a database

YES

YES

NO

NO

NO

NO

NO

Start a database6

YES

Use command line or GUI

YES

NO

NO

YES

Use OEM Instance Manager7

NO

NO

Connect to a database

NO

YES

NO

NO

YES

NO

YES

Shut down a database

NO

YES

NO

NO

YES

Use OEM Instance Manager

NO

NO

Export

NO

NO

YES

Use Export Utility

NO

YES

Use Data Manager

NO

NO

Import

NO

NO

YES

Use Import Utility

NO

YES

Use Data Manager

NO

NO

Change internal database passwords

YES8

Use command line or GUI

NO

YES

Use ORAPWD73

NO

NO

NO

NO

Back up and restore files

NO

NO

NO

YES

Use NTBACKUP.EXE

YES9

YES

NO

Move data from external files to Oracle7

NO

NO

YES

Use SQL*Loader

NO

YES

Use Data Manager

NO

NO

Authenticate DBAs and users

NO

YES

NO

NO

YES

NO

YES

Grant database roles

NO

YES

NO

YES

Use User Manager

YES

Use Security Manager

NO

YES

Create database objects10

NO

YES

NO

NO

YES

Use Schema Manager

NO

YES

  1. Instance Manager is available in both command line and graphical user interface (GUI) mode.

  1. Instance Manager (both command line and GUI) is sometimes referred to as NT Instance Manager to distinguish it from Oracle Enterprise Manager Instance Manager.

  1. Server Manager is available in line mode only.

  1. The OCOPY utility is only available on Windows NT.

  1. If you use Instance Manager in GUI mode to create a service, a new database is created automatically. To create a service without creating a database, use Instance Manager in command line mode.

  1. Before starting a database, ensure that a database instance has been created. This is done automatically if you use the starter database. Ensure that the services have also been started.

  1. Oracle Enterprise Manager Instance Manager is a tool that can start up and shut down a database and perform other limited functions. This tool cannot be used to create database services, or create and remove databases.

  1. Instance Manager can only set a password when none was previously set. If a password has been previously set, Instance Manager cannot change it.

  1. Tape backup functionality of Oracle Enterprise Manager is not available with Oracle7 databases on Windows NT or any other Windows platform.

  1. See Oracle7 Server Administrator's Guide for guidelines on creating database objects. In particular, see the appendix "Space Estimations for Schema Objects" that provides equations for estimating the space requirements for clusters, nonclustered tables, and indexes. Windows NT uses the same fixed header, transaction header, and row header constants described in that guide.

Starting Tools and Utilities

This section describes:

Using Instance Manager from the Command Line

ORADIM73 is the Instance Manager command line file name. This section describes the ORADIM73 commands and parameters. Note that each command is preceded by a dash.

Task Use This Parameter...
Create an instance

ORADIM73 -NEW -SID sid [-INTPWD internal_pwd]

[-MAXUSERS number][-STARTMODE auto, manual]

[-PFILE filename]

where:

Note... -NEW and -SID are mandatory parameters. The remaining parameters are optional.

Note... Creating an instance using ORADIM73 in command line mode only creates the password file and related service. The database (that is, the database files) is not created. If you use Instance Manager in GUI mode to create an instance, a new database is automatically created.

Start an instance

ORADIM73 -STARTUP -SID sid -PFILE filename [-USRPWD user_pwd] -STARTTYPE SRVC,INST

where:

Note... -STARTUP, -SID and -STARTTYPE are mandatory parameters. The remaining parameters are optional.

Stop an instance

ORADIM73 -SHUTDOWN -SID sid [-USRPWD user_pwd] -SHUTTYPE SRVC, INST - SHUTMODE a, i, n

where:

Note... -SHUTDOWN, -SID and -SHUTTYPE are mandatory parameters. The remaining parameters are optional.

Edit an instance

ORADIM73 -EDIT -SID sid [-NEWSID newsid][-INTPWD internal_pwd]
[-STARTMODE auto, manual][-PFILE filename]

where:

Note... -EDIT and -SID are mandatory parameters. The remaining parameters are optional.

Note... This command cannot be used to change the password, as it does not overwrite the existing password file. It can only create a new password file when none already exists. To create a new password file, use ORAPWD73.EXE

Delete an instance

ORADIM73 -DELETE -SID sida, sidb, sidc,...
ORADIM73 -DELETE -SRVC srvca, srvcb, srvcc,...

where:

Display a complete list of Instance Manager commands

ORADIM73 -? | /? | /h | /help

Note
When you use ORADIM73 in command line mode, Instance Manager opens a log file ORADIM73.LOG in ORACLE_HOME\RDBMS73. All operations (both successful and failed) are logged in this file. You must check this file to verify the success of an operation.

Using SQL*Loader with Windows NT

This section describes Windows NT specific information for using SQL*Loader (SQLLDR73.EXE).

Windows NT Processing Options

These are the possible values for the OS-dependent file processing specifications string option, referred to in the "SQL*Loader Control File Reference" chapter of Oracle7 Server Utilities User's Guide.

Processing Option Description
"VAR xxxx"

Load variable length records. Specify the OSD "VAR recsizehint" in the control file for this option to take effect. The xxxx gives an estimate of the average record size to SQL*Loader so that it can approximate buffer sizes accurately and not waste memory. The default length is eighty characters. The xxxx does not specify how many leading bytes of length are included in each record. It only acts as a hint to SQL*Loader. Each record must always be preceded by five ASCII bytes containing the length of the remainder of the record. For example, a record must look like the following:

00024This is a 24 byte string 
Any whitespace, carriage returns or linefeeds at the end of the record are ignored unless specifically included in the byte count in the length field.

"FIX n"

Fixed record format in which each record is exactly n bytes long. If the record is terminated by a newline character, the newline character must be the nth byte.

""1

Stream record format in which each record is terminated by a newline character. The maximum record size is 48 KB.

  1. Two double quote characters with no space in between.

Direct Path Option

SQL*Loader includes a direct path option that bypasses Oracle7 redo log and data verification features, thereby decreasing loading time. Use the direct path option with data files known to be error free.

Control File Conventions

When preparing a SQL*Loader (.CTL) control file, you must follow certain syntax and notational conventions. When specifying datatypes in the SQL*Loader control file, note that the default size of native datatypes are specific to Windows NT. You cannot override these defaults in the control file.

Native Datatypes Default Field Length
INTEGER

4

SMALLINT

2

FLOAT

4

DOUBLE

8

Additional Information
For a complete list of options and instructions on using SQL*Loader, see the Oracle7 Server Utilities. The directory ORANT\RDBMS73\LOADER contains a number of examples on the use of SQL*Loader.

Oracle Database Administration Tools Support

The following tools can be used for database administration depending on your release of Oracle7 Server for Windows NT.

32-bit Oracle Database Administration Tools

For Oracle7 Server release 7.3.2.1.x or below, Windows NT and Windows 95 users can choose to continue to use 32-bit Oracle Database Administration Tools (not included on the Oracle7 Server for Windows NT release 7.3.3 CD-ROM disc), which contain a subset of the full functionality of Oracle Enterprise Manager. This version of the Toolbar includes such tools as Database Manager and Object Manager.

Note
32-bit Oracle Database Administration Tools for Windows NT and Windows 95 are not supported for administering an Oracle7 Server release 7.3.2.2.1 and above. Oracle Corporation recommends that you use Oracle Enterprise Manager for administering databases, including database releases 7.3.2.1.x.

16-bit Oracle Database Administration Tools

16-bit Oracle Database Administration Tools for Windows 3.1 are supported for administering Oracle7 databases, when Oracle Enterprise Manager is not available. These tools are not included on the Oracle7 Server for Windows NT release 7.3.3 CD-ROM disc.

Note
16-bit Oracle Database Administration Tools are not being shipped after Oracle7 Server for Windows NT release 7.3.2.3.1. These tools will continue to be supported by Oracle Corporation for users who are using releases prior to and including release 7.3.2.3.1.



Go to previous file in sequence Go to next file in sequence
Prev Next
Oracle
Copyright © 1996 Oracle Corporation.
All Rights Reserved.
Go to Product Documentation Library
Library
Go to books for this product
Product
Go to Contents for this book
Contents
Go to Index
Index