Skip to Content
Oracle Security
book

Oracle Security

by William Heney, Marlene Theriault
October 1998
Intermediate to advanced
456 pages
12h 42m
English
O'Reilly Media, Inc.
Content preview from Oracle Security

About Performance and Storage

Unquestionably, each of the audit trails you activate in your database add overhead to your system and consume disk space. The following sections provide suggestions you can implement to reduce the amount of overhead to your database performance.

Storage Suggestions

Ideally, you should create a separate tablespace for the audit data. Having the audit data on a separate tablespace will make administration considerably easier. Performance can be improved if you can put the audit data on a separate disk or filesystem from “real” data.

Make sure that you size the INITIAL and NEXT extents properly to:

  • Avoid excessive dynamic space management and extension

  • Not run out of extents (MAXEXTENTS)

  • Avoid fragmentation

You may want to use the parameter AUTOEXTEND on the tablespace datafile for the audit trail storage to minimize the possibility of having a transaction hang due to lack of audit trail space. The AUTOEXTEND parameter enables the tablespace datafile to continue to extend automatically until it reaches a maximum space limit you have declared in the MAXSIZE parameter. The syntax you use to create a tablespace with AUTOEXEND enabled is:

CREATE TABLESPACE audit_data_ts 
  DATAFILE '/my_disk/my_dir/audit_data_ts01.dbf' 
   AUTOEXTEND ON NEXT 10m 
   MAXSIZE UNLIMITED
  DEFAULT STORAGE (INITIAL 100K 
                      NEXT 100K 
                MINEXTENTS 1 
                MAXEXTENTS UNLIMITED 
               PCTINCREASE 10) 
ONLINE;

You will want to purge the audit trail tables on a regular basis. Keep a close watch on the growth of the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Practical Oracle Security

Practical Oracle Security

Josh Shaul, Aaron Ingram
Oracle Database 12c Security

Oracle Database 12c Security

Scott Gaetjen, David Knox, William Maroulis
Applied Oracle Security: Developing Secure Database and Middleware Environments

Applied Oracle Security: Developing Secure Database and Middleware Environments

David Knox, Scott Gaetjen, Hamza Jahangir, Tyler Muth, Patrick Sack, Richard Wark, Bryan Wise

Publisher Resources

ISBN: 1565924509Catalog PageErrata