Start of Content Area

Background documentation Database Administration for MaxDB  Locate the document in its SAP Library structure

You can use MaxDB databases

      In SAP systems

      Outside of SAP systems

You need to perform a series of tasks to administer a MaxDB database instance.

Note

This section gives you an overview of the most important administration tasks. The links in this section point you to the detailed information found in the MaxDB documentation.

First Steps

If you are using MaxDB for the first time, we recommend you consult the SQL Tutorial.

You can find information on the concepts of MaxDB in the documentation Concepts of the Database System; of particular interest is the section Administration. Use the Glossary to find a topic in the MaxDB documentation quickly.

Technical System Landscape

See Technical System Landscape

Tools

The following tools are available for administering and monitoring your MaxDB database instance:

      DBA Planning Calendar (only available in SAP systems)

Database Assistant (only available in SAP systems)

Alert Monitor (only available in SAP systems)

      Database Manager: Database Manager GUI (graphical user interface) and Database Manager CLI (command line tool)

Database Analyzer

Database console XCONS

Tasks on Demand

Perform the tasks in the table below when the corresponding events occur.

Event

Task

Tool

More Information

Database OFFLINE

Switching the database instance to the ONLINE operational state (start)

Database Assistant

Database Manager

Operational State

Database instance failure with loss of data

Restoring the Database Instance

Database Manager

Restoring the Database Instance

Damaged index

Restoring the damaged index

Database Manager

Index

Index Analysis

Performance problems

Analyzing Slow-Running Transactions

Database Assistant

Database Analyzer

Database Manager

Performance

Database connection to another system required

Creating a Connection

Database Assistant

Outside of SAP systems: Database Manager

Name of the Database Connection

New database version available

Upgrading the database instance

SAPInst

Outside of SAP systems: Database Manager

service.sap.com/upgradeNW70  ® Upgrade  ®  Upgrade - SAP NetWeaver 7.0  ®  MaxDB  ® <os>

Installation Manual

System copy required

Creating a system copy

SAPInst

Outside of SAP systems: Database Manager

service.sap.com/installNW70 ® System Copy for SAP Systems Based on NW7.0

Database Copy

Other errors

Problem Analysis

Database Assistant

Database Manager

XCONS

Troubleshooting

Periodic Tasks

Regularly perform the tasks listed in the table below. In SAP systems, use the DBA Planning Calendar for these tasks whenever possible. Outside of SAP systems, use the Database Manager tool.

Recommendation

We recommend that you activate automatic log backup. Log backups are the prerequisite for a complete backup history.

Occurrence

Task

Recommended Tool

More Information

Daily

Monitor the database instance and check if there are any alerts

Monitoring the Data Area

Monitoring the Log Area

Caches (hit rate)

Activities Overview (I/O, locking, logging)

User Tasks (database sessions)

Performance

Backup/Recovery

The Alert Monitor

DBA Planning Calendar

Database Manager

Monitoring:

 

Monitoring CPU usage

Operating system resources

Overview of Processes

 

Scheduling a Complete Data Backup

If you cannot or do not want to perform a complete data backup every day, then you should perform at least an incremental data backup on each productive day.

The more current the last data backup is, the fewer log entries have to be imported again if you need to restore the database instance.

DBA Planning Calendar

Database Manager

Backing up Data

Weekly

Archiving Backup Files

(Archiving log backups)

Only necessary for log backups on data carriers of the File type

Operating system commands

Database Manager

Archiving Backup Files

 

Scheduling an Interactive Log Backup

Only necessary if automatic log backup is switched off

DBA Planning Calendar

Database Manager

Backing Up Log Entries

 

Scheduling a Database Structure Check

We recommend that you check the database structures at times when the database load is low, or using a system copy.

DBA Planning Calendar

Database Manager

Checking Database Structures

 

Scheduling Updates of the SQL Optimizer Statistics

DBA Planning Calendar

Database Manager

SQL Optimizer Statistics

 

See also:

Database Administration in CCMS: MaxDB

MaxDB Security Guide

Overview of available documentation for MaxDB

 

 

End of Content Area