Oracle8i Administrator's Guide
Release 2 (8.1.6) for Windows NT

A73008-01

Library

Product

Contents

Index

Prev Next

2
Database Tools Overview

Oracle8i for Windows NT includes various tools to perform database functions. This chapter describes the preferred tools to perform common database administration tasks.

Specific topics discussed are:

Oracle8i Enterprise Edition and Oracle8i

The information in this guide applies to both the Oracle8i Enterprise Edition and Oracle8i database types. Wherever possible, the name Oracle8i for Windows NT is used to describe both types. Specific database type names are used only when necessary to avoid confusion. Unless otherwise noted, the features and functionality described in this guide are common to both Oracle8i Enterprise Edition and Oracle8i.

Choosing a Database Tool

Database tools is a collective term for tools, utilities, and assistants that you can use to perform database administration tasks. Some database tools perform similar tasks, though no one database tool performs all database administration tasks. The following sections indicate which database tools can be used on particular operating systems and the preferred tools to use for common database administration tasks.


Note:

This chapter describes tasks that use SQL*Plus command line syntax. In this guide, all Server Manager text and examples have been replaced with SQL*Plus equivalents. Although Server Manager continues to ship with 8.1.x releases, Oracle Corporation strongly recommends that you migrate to SQL*Plus as soon as possible. See your SQL*Plus documentation for information on using SQL*Plus to perform database administration tasks.

Note that for all previous Oracle8 8.0.x releases, the Server Manager executable was SVRMGR30. For 8.1.6, the Server Manager executable is SVRMGRL. The "L" indicates line mode. 


Database Tools and Operating System Compatibility

This table lists database tools and the operating system(s) on which each can be used:


Database Tools

 
Windows NT and Windows 20001  Windows 95 and Windows 98 

Application Development 

 

 

SQL*Plus (SQLPLUS)2 

Yes 

Yes 

Pro*C/C++ 

Yes 

Yes 

Pro*Cobol 

Yes 

Yes 

Object Type Translator (OTT) 

Yes 

Yes 

Oracle Web Publishing Assistant 

Yes 

No 

Oracle Services for Microsoft Transaction Server 

Yes 

Yes 

Oracle WebDB3 

Yes 

Yes 

Oracle AppWizard for Microsoft Visual C++ 

Yes 

Yes 

Database Administration  

 

 

Oracle Administration Assistant for Windows NT 

Yes 

No 

Oracle Database Configuration Assistant 

Yes 

No 

Oracle Enterprise Login Assistant (a feature of Oracle Advanced Security)4 

Yes 

Yes 

Oracle Performance Monitor for Windows NT 

Yes 

No 

Oracle Enterprise Manager, Release 2.1 

 

 

Oracle DBA Management Pack (database tools and wizards) 

Yes 

Yes 

Diagnostics Pack 

Yes 

Yes 

Enterprise Manager:

  • Configuration Assistant

  • Console

  • Migration Assistant

 

Yes 

Yes 

Diagnostics Pack 

Yes 

Yes 

Extended Applications

  • Application Manager

  • Replication Manager

 

Yes 

Yes 

Extended Database Administration:

  • Database Configuration Assistant

  • Data Migration Assistant

  • Distributed Access Manager, Beta

  • Enterprise Security Manager

  • Oracle interMedia Text Manager

  • Oracle Spatial Index Advisor, Beta

 

Yes 

Yes 

Migration Utilities 

 

 

Oracle Data Migration Assistant 

Yes 

No 

Oracle Migration Workbench 

Yes 

Yes 

Oracle Utilities from the MS-DOS Command Line 

 

 

Migration Utility (MIG) 

Yes 

No 

DBVERIFY (DBVERF) 

Yes 

Yes 

Export Utility (EXP) 

Yes 

Yes 

Import Utility (IMP) 

Yes 

Yes 

OCOPY 

Yes 

Yes 

ORADIM5 

Yes 

No 

Password Utility (ORAPWD)6 

Yes 

No 

Recovery Manager (RMAN) 

Yes 

Yes 

SQL*Loader (SQLLDR) 

Yes 

Yes 

TKPROF (TKPROF) 

Yes 

Yes 

OPERFCFG 

Yes 

Yes 

Network Administration 

 

 

Net8 Assistant 

Yes 

Yes 

Net8 Configuration Assistant 

Yes 

Yes 

Oracle Wallet Manager (a feature of Oracle Advanced Security)7 

Yes 

Yes 

Windows NT Tools 

 

 

Task Manager 

Yes 

Yes 

Control Panel 

Yes 

Yes 

Event Viewer 

Yes 

No 

Registry 

Yes 

Yes 

User Manager 

Yes 

No 

Microsoft Management Console8 

Yes 

No 

1 Windows 2000 production versions were not available during the development and testing of Oracle8i release 8.1.6 products. Oracle Corporation has used the Release Candidate versions of Windows 2000 for development and testing. Refer to the READMEDOC.HTM file at the top level of the CD-ROM for the latest information on certification and support of release 8.1.6 products on Windows 2000.
2 The ORADEBUG utility can be used through SQL*Plus to send debug commands to Oracle processes. See "Using the ORADEBUG Utility".
3 Oracle WebDB is available on a separate CD-ROM.
4 Available only with Oracle8i Enterprise Edition, and not Oracle8i.
5 ORADIM only operates on local databases.
6 ORAPWD does not work on password files for remote databases.
7 Available only with Oracle8i Enterprise Edition, and not Oracle8i.
8 Automatically included with Windows 2000. To use with Windows NT 4.0, you must obtain the Microsoft Management Console from Microsoft Corporation.

Preferred Database Tools

This table lists common database administration tasks and the various database tools you can use to perform them. Oracle Corporation recommends you use the tools listed in the "Preferred Database Tool" column of the table. After choosing a tool to perform a task, go to "Starting Database Tools" for instructions on how to start the tool.

Database Administration Task  Preferred Database Tool  Other Database Tools 

Create a database 

Oracle Database Configuration Assistant 

  • ORADIM and SQL*Plus together

  • SQL Worksheet and ORADIM

 

Delete a database 

Oracle Database Configuration Assistant 

ORADIM and SQL*Plus together 

Delete a database service 

Oracle Database Configuration Assistant 

ORADIM 

Start a database 

Instance Manager1 

  • ORADIM and SQL*Plus together

  • Control Panel > Services

  • SQL Worksheet

  • Oracle Administration Assistant for Windows NT

 

Shut down a database 

Instance Manager 

  • ORADIM and SQL*Plus together

  • Control Panel > Services

  • SQL Worksheet

  • Oracle Administration Assistant for Windows NT

 

Change internal database passwords 

ORAPWD 

ORADIM2 

Migrate a database

  • From release 7.x to release 8.1.6

  • From MS SQL Server 6.5 and Sybase Adaptive Server 11

 
  • Oracle Data Migration Assistant3

  • Oracle Migration Workbench

 

Migration Utility (MIG) 

Upgrade a database

From release 8.0.x to release 8.1.6 

Oracle Data Migration Assistant 

Run provided scripts in SQL*Plus 

Export data 

Export Wizard 

Export Utility (EXP) 

Import data 

Import Wizard 

Import Utility (IMP) 

Load data 

Load Wizard 

SQL*Loader (SQLLDR) 

Publish data to the Web 

Oracle WebDB 

Oracle Web Publishing Assistant 

Back up a database 

Backup Wizard 

  • Recovery Manager (RMAN)

  • OCOPY4

 

Recover a database 

Recovery Wizard 

  • Recovery Manager (RMAN)

  • OCOPY

 

Authenticate database administrators and users 

Security Manager

 

  • Oracle Enterprise Login Assistant

  • SQL*Plus

  • Windows NT operating system

  • Oracle Administration Assistant for Windows NT (OS authenticated users)

 

Grant database roles 

Security Manager 

  • User Manager

  • Oracle Administration Assistant for Windows NT (OS authenticated users)

 

Create database objects5 

Schema Manager 

  • SQL*Plus

 

View processes 

Oracle Administration Assistant for Windows NT 

  • Task Manager

 
1 Instance Manager 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 delete databases. Instance Manager is an Oracle Enterprise Manager tool.
2 ORADIM can only set a password when none was previously set. Also, ORADIM can change a password by deleting and recreating the Oracle8i services. See Chapter 9, "Monitoring a Database" for more information.
3 Oracle Data Migration Assistant can only be used to upgrade release 7.x or 8.0.x databases to release 8.1.6. It cannot be used to upgrade an earlier Oracle7 database release to a later Oracle7 database release. See your Oracle7 for Windows NT documentation for information on how to upgrade from an earlier Oracle7 release to a later Oracle7 release.
4 Do not back up files while you are shutting down the database, otherwise your backup will be invalid. You cannot use an invalid backup to restore files at a later date. See Oracle8i Backup and Recovery Guide for more information.
5 See Oracle8i Administrator's Guide for guidelines on creating databases objects. This guide provides equations for estimating the space requirements for clusters, non-clustered tables, and indexes. Windows NT uses the same fixed header, transaction header, and row header constants described in this guide.

Starting Database Tools

This section describes how to start each of the database tools in the following categories:

You will be referred back to this section for database tool startup procedures as you use this guide.

Starting Database Tools in Multiple Oracle Homes

If you have multiple Oracle homes on your computer from previous releases, see "Multiple Oracle Home Functionality in Different Releases" and "Multiple Oracle Home Environments" for a description of the differences between pre-8.1.6 Oracle homes and release 8.1.6 and later Oracle homes.

Starting Tools from Release 8.0.4 and later 8.0.x Multiple Oracle Homes

If you are using multiple Oracle homes functionality, the command to start a tool includes a HOME_NAME, where HOME_NAME indicates the name of a different Oracle home. Note that the first Oracle home created on your computer does not have HOME_NAME appended to the group. For example:

To start Oracle Administration Assistant from the first Oracle home, choose:

Start > Programs > Oracle > Database Administration > Oracle Administration Assistant for Windows NT

To start Oracle Database Assistant from an additional Oracle home, choose:

Start > Programs > Oracle - HOME_NAME > Database Administration > Oracle Administration Assistant for Windows NT

Starting Tools from Release 8.1.6 Multiple Oracle Homes

In release 8.1.6, all Oracle homes, including the first Oracle home you create on your computer, have a unique HOME_NAME. For example, the command to start Database Configuration Assistant is as follows:

Start > Programs > Oracle - HOME_NAME > Database Administrations > Database Configuration Assistant, where HOME_NAME is the name of the Oracle home. For example, either HOME1 or HOME2 in the following figure:


Starting Database Tools

This table describes how to start most tools, and where to go for further information on using these products1:

Tool  Choose Start > Programs > Oracle - HOME_NAME >  For More Information, See... 

Oracle Data Migration Assistant 

Extended Database Administration > Data Migration Assistant 

 

Oracle Migration Workbench 

Migration Utilities > Migration Workbench 

  • Oracle Migration Workbench Release Notes

  • Oracle Migration Workbench for MS SQL Server and Sybase Adaptive Server Reference Guide

  • Oracle Migration Workbench for MS Access Reference Guide

 

Oracle Database Configuration Assistant 

Extended Database Administration > Database Configuration Assistant 

 

Net8 Assistant 

Network Administration > Net8 Assistant 

Net8 Administrator's Guide 

Net8 Configuration Assistant 

Network Administration > Net8 Configuration Assistant 

Net8 Administrator's Guide 

Oracle Wallet Manager 

Network Administration > Wallet Manager 

Oracle Advanced Security Administrator's Guide 

Oracle Web Publishing Assistant 

Application Development > Oracle Web Publishing Assistant 

Oracle Web Publishing Assistant Getting Started 

Oracle Administration Assistant for Windows NT 

Database Administration > Oracle Administration Assistant for Windows NT 

"Administering External Users and Roles" 

Oracle WebDB 

Start your Web browser. In the Address or Location field of your browser, type the URL of your WebDB home page. 

Oracle WebDB Installation Guide and Tutorial 

Oracle Enterprise Login Assistant 

Network Administration > Enterprise Login Assistant 

Oracle Advanced Security Administrator's Guide 

1When you use an assistant, you must have read/write access to the directory where database files will be moved/created. Additionally, users must have administrative privileges to create an Oracle8i database. If the Oracle Database Configuration Assistant is run from an account that is not part of the Administrator's group, the tool exits without completing the operation.

Starting Oracle Utilities from the Command Line

This table describes how to start Oracle utilities from the MS-DOS command line, and where to go for further information on using these products:

Oracle Utilities  To Start...  For More Information, See... 

DBVERIFY (DBV) 

Enter the following at the MS-DOS command prompt:

C:\> DBV

DBVERIFY starts and prompts you for a file name parameter. To obtain a list of parameters, enter the following at the MS-DOS command prompt:

C:\> DBV HELP=Y
 

Oracle8i Utilities 

Export Utility (EXP) 

Enter the following at the MS-DOS command prompt followed by your user name and password:

C:\> EXP

EXP starts and prompts you for parameters. To obtain a list of these parameters, enter the following at the MS-DOS command prompt:

C:\> EXP HELP=Y

Note: When running the Export Utility, the default values for the following parameters under Windows NT are:

BUFFER 4 KB

RECORDLENGTH 2 KB

Note: To export an entire database, you must use the user name SYSTEM. Do not use INTERNAL or SYS. 

 

Import Utility (IMP) 

Enter the following at the MS-DOS command prompt followed by your user name and password:

C:\> IMP

IMP starts and prompts you for parameters. To obtain a list of these parameters, enter the following at the MS-DOS command prompt:

C:\> IMP HELP=Y

Note: When running the Import Utility, the default values for the following parameters under Windows NT are:

BUFFER 4 KB

RECORDLENGTH 2 KB 

 

Migration Utility (MIG) 

Enter the following at the MS-DOS command prompt:

C:\> MIG

To obtain a list of parameters, enter the following at the MS-DOS command prompt:

C:\> MIG HELP=Y
 

Oracle8i Migration 

OCOPY 

Enter the following at the MS-DOS command prompt:

C:\> OCOPY
 

"Backing Up Files with OCOPY" 

OPERFCFG 

Enter the following at the MS-DOS command prompt:

C:\> OPERFCFG
 

"Modifying Oracle Performance Monitor for Windows NT Parameters" 

ORADIM 

Enter the following with parameters at the MS-DOS command prompt:

C:\> ORADIM PARAMETERS

To get a complete listing of ORADIM parameters, enter the following:

C:\> ORADIM -? | -H | -HELP

Note: Entering ORADIM without any options also displays a listing of parameters. 

"Using ORADIM to Administer an Oracle Instance" 

Password Utility (ORAPWD) 

Enter the following at the MS-DOS command prompt:

C:\> ORAPWD

Note that the password file is a hidden file. To see it in a file list, from the Windows NT Explorer, choose View > Options > View > Show All Files  

"Creating Password Files" 

Recovery Manager (RMAN) 

Enter the following at the MS-DOS command prompt:

C:\> RMAN PARAMETERS
 
 

SQL*Plus (SQLPLUS) 

Enter the following at the MS-DOS command prompt:

C:\> SQLPLUS

 
 

SQL*Loader (SQLLDR) 

Invoke SQL*Loader at the MS-DOS command prompt followed by certain keywords. Enter the following and SQL*Loader displays a Help screen with the available keywords and default values:

C:\> SQLLDR
 
 

TKPROF (TKPROF) 

Enter the following at the MS-DOS command prompt:

C:\> TKPROF
 

Oracle8i Tuning

 

Starting Oracle Enterprise Manager

Applications in the DBA Management Pack can be launched through the Oracle Enterprise Manager console or launched separately as stand-alone applications. All database applications can also be launched from the console within a web browser.

When an application is launched through the console, it is connected to the Oracle Management Server and is used in the Oracle Enterprise Manager repository. When an application is launched separately, the user has the option to connect to either a specific database or to a Management Server. When connected to an Oracle Management Server, the DBA Management Pack application has access to all the databases in that Oracle Enterprise Manager repository.

To start an Oracle Enterprise Manager tool as a stand-alone application:

  1. Choose Start > Programs > Oracle - HOME_NAME > DBA Management Pack > tool.

    For example, choose Start > Program > Oracle - HOME1 > DBA Management Pack > Schema Manager.

    After launching a DBA application, the Oracle Enterprise Manager Login dialog box appears, giving you the option to connect to either the Oracle Management Server or directly to a single database.


  2. Choose the login method for the database administration application and enter the appropriate connect information.

To start an Oracle Enterprise Manager tool from the Console:

  1. Choose Start > Programs > Oracle - HOME_NAME > Enterprise Manager > Console.

    The Login Information dialog box appears.

  2. Log on when prompted.

  3. You can now either:

To start an Oracle Enterprise Manager tool from a Web browser:

See:

The Oracle Enterprise Manager Configuration Guide for information on installing the Oracle Enterprise Manager Web Site, and installing and configuring the Web server. 

  1. Launch your Web browser and enter the following URL regardless of which Web server you have installed.

    http://<webserver hostname>:<port number>/
    oem_webstage/EMWebSite.html

    For example:

    http://jfox-sun:3339/oem_webstage/EMWebSite.html
    


Note:

The Oracle Application Server Listener port number is 3339. 



Prev Next
Oracle
Copyright © 2000 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index