Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Semestr2 / 1 - Oracle / Oracle selected docs / Database concepts.pdf
Скачиваний:
29
Добавлен:
12.05.2015
Размер:
6.96 Mб
Скачать

Audit in a Multitier Environment

Audit By User

Statement and privilege audit options can audit statements issued by any user or statements issued by a specific list of users. By focusing on specific users, you can minimize the number of audit records generated.

Audit By User Example To audit statements by the users SCOTT and BLAKE that query or update a table or view, issue the following statements:

AUDIT SELECT TABLE, UPDATE TABLE

BY scott, blake;

See Also: Oracle9i SQL Reference for more information about auditing by user

Audit in a Multitier Environment

In a multitier environment, Oracle preserves the identity of a client through all tiers. This enables auditing of actions taken on behalf of the client. To do so, use the BY proxy clause in your AUDIT statement.

This clause allows you a few options. You can:

Audit SQL statements issued by the specific proxy on its own behalf

Audit statements executed on behalf of a specified user or users

Audit all statements executed on behalf of any user

The middle tier can set the light-weight user identity in a database session so that it will show up in audit trail. You use OCI or PL/SQL to set the client identifier.

See Also:

Oracle9i Application Developer’s Guide - Fundamentals

Oracle Call Interface Programmer’s Guide

PL/SQL User’s Guide and Reference

Auditing 24-13

Audit in a Multitier Environment

24-14 Oracle9i Database Concepts

A

Operating System Specific Information

This manual occasionally refers to other Oracle manuals that contain detailed information for using Oracle on a specific operating system. These Oracle manuals are often called installation and configuration guides, although the exact name can vary on different operating systems.

This appendix lists all the references in this manual to operating system specific Oracle manuals, and lists the operating system-dependent initialization parameters. If you are using Oracle on multiple operating systems, this appendix can help you ensure that your applications are portable across these operating systems.

Operating System Specific Information A-1

Operating system specific topics in this manual are listed alphabetically as follows.

Administrator privileges, prerequisites: "Connection with Administrator Privileges" on page 5-3; connect string syntax: Oracle9i Net Services Administrator’s Guide

Auditing: "Events Always Audited to the Operating System Audit Trail" on page 24-5 and "Audit to the Operating System Audit Trail" on page 24-6

Authenticating DBAs: "Connection with Administrator Privileges" on page 5-3 and "Authentication of Database Administrators" on page 22-13

Authenticating users: "Authentication by the Operating System" on page 22-13

Background processes, ARCn: "Archiver Processes (ARCn)" on page 8-13 and the Oracle9i Backup and Recovery Concepts

Background processes, creating: "Background Processes" on page 8-5

Background processes, DBWn processes: "Database Writer Process (DBWn)" on page 8-8

Client/server communication: "Dedicated Server Configuration" on page 8-21

Communication software: "Communications Software for the Operating System" on page 8-24

Configuring Oracle: "Types of Processes" on page 8-2; for dedicated server (two-task Oracle), see "Dedicated Server Configuration" on page 8-21; for shared server, see "Shared Server Architecture" on page 8-15

Data blocks, size of: "Data Blocks Overview" on page 2-3

Datafiles, size of file header: "Datafiles Overview" on page 3-18

Dedicated server, requesting for administrative operations: "Restricted Operations of the Shared Server" on page 8-20

Indexes, overhead of index blocks: "Format of Index Blocks" on page 10-34

Operating system audit trails: On operating systems that do not make an audit trail accessible to Oracle, these audit trail records are placed in an Oracle audit trail file in the same directory as background process trace files.

Oracle allows audit trail records to be directed to an operating system audit trail if the operating system makes such an audit trail available to Oracle. On some other operating systems, these audit records are written to a file outside the database, with a format similar to other Oracle trace files.

A-2 Oracle9i Database Concepts

Check your platform-specific Oracle documentation to see if this feature has been implemented on your operating system.

Oracle Net Services, choosing and installing network drivers: "Program Interface Drivers" on page 8-23

Oracle Net Services, drivers included in Oracle Net Services software: "How Oracle Net Services Works" on page 6-8; also, the Oracle9i Net Services Administrator’s Guide

Password files and authentication schemes: "Authentication of Database Administrators" on page 22-13

Program global areas (PGAs): "SQL Work Areas" on page 7-19

Role management by the operating system: "The Operating System and Roles" on page 23-23

Software code areas, shared or unshared: "Software Code Areas" on page 7-22

Operating System Specific Information A-3

A-4 Oracle9i Database Concepts

B

Information on Deprecated Features

This appendix contains information the following topics:

Allocating Extents in Dictionary Managed Tablespaces

Introduction to Rollback Segments

PCTFREE, PCTUSED, and Row Chaining

If you created your database with an earlier version of Oracle, then you could be using these features. Locally managed tablespaces are recommended over dictionary managed tablespaces, and automatic undo space management is recommended over manual undo space management, which uses rollback segment.

Information on Deprecated Features B-1

Соседние файлы в папке Oracle selected docs