As CEO of a database software company, Larry Ellison knows the value of archiving his corporate data. When disgruntled ex-Oracle employee Adelyn Lee concocted a false claim against Larry, Ellison used Oracle's data archives to prove that she had forged her evidence. The charges were dropped and Lee was found guilty of perjury and sentenced to a year in jail and a $100,000 fine. (For the entertaining details, see Lee v. Oracle Corporation, 1999 WL 595455, Cal App 1999.)
As disk prices fall to record lows, many corporations are retaining all of their corporate data, including all corporate correspondence, e-mails and customer queries. But is this a prudent decision? Although it worked for Larry Ellison, some experts suggest that it's a big mistake to archive every detail of your operational business processes, especially if the data have not been carefully reviewed for content. Today, many large companies are requiring complete purges of sensitive data that might be misunderstood, and they are going to great pains to have their Oracle DBAs remove all traces of this information.
During my work in Oracle forensics, I've helped many litigants resurrect evidence that has helped to punish bad guys and vanquish people who have been treated unfairly. During these forensic investigations, unscrupulous shops are shocked to discover that "smoking guns" can be uncovered years after the data has been deleted from Oracle.
But it's not just the bad guys who must trash their Oracle data. In today's litigious world, the conventional wisdom that saving all corporate data can save the day is now being challenged. In case after case, archived Oracle data is being abused by greedy plaintiffs, and the community is starting to realize that a prudent data retention policy must also include specific directions for "trashing" some Oracle data.
While data is a valuable resource, blindly archiving data can have serious financial consequences. Consider these examples:
To continue reading for free, register below or login
To read more you must become a member of SearchOracle.com
');
// -->

What do these cases have in common? They were all Oracle shops that made fatal errors in their data retention policy. They all fell for the common misconception that because disks are cheap and Oracle can easily manage all forms of corporate data, their data should be stored forever.
The Oracle DBA as data custodian
While the intentional destruction of evidence ("spoliation") is highly illegal, it is prudent and responsible to purge data that no longer has any value to the company, especially data that might be misconstrued or used in a lawsuit.
Since employers are held responsible for the acts of their employees, management must decide between two unsavory options:
The Orwellian tactic of monitoring employees is falling from favor, so many large corporations now require that all corporate correspondence be completely and totally destroyed after a reasonable period of time.
So how does the savvy Oracle DBA manage data retention policies?
As more and more information systems are consolidating all of their operational information into Oracle databases, the Oracle DBA becomes the custodian of a wealth of varied data: everything from confidential e-mails to secret marketing plans. Since many vendor products (e.g., Oracle Collaboration Suite) now incorporate non-traditional data like spreadsheets and correspondence, the DBA must clearly understand what data is to be preserved and what data must be expunged from the archives.
Let's start by looking at the legal requirements for data archiving and understand how to comply with federal laws while eradicating unwanted information.
Legal requirements for data archiving
The Oracle DBA presides over a vast amount of corporate data and he or she must often work with corporate attorneys to ensure that their data retention policies comply with a host of federal data requirements (see Appendix A for a partial list).
These data archiving laws impose huge burdens on Oracle shops, especially laws such as HIPAA that mandate the auditing of anyone who views confidential patient data. These audits can exceed the size of the database every day, and the DBA is further challenged by laws requiring reporting. For example, an Oracle DBA in a hospital only has a few hours to sort through terabytes of HIPAA data to show everyone who has viewed a particular patient's records.
A wide variety of Oracle data must be retained and archived, including these (as specified in this article):
[TABLE]
Many of these laws impose criminal sanctions against any DBA who fails to comply, so some DBAs will simply retain everything in order to ensure compliance.
However, that's often a huge mistake. For example, a well-intentioned e-mail that states something like "Joe is in the hospital for VD treatment, in case anyone wants to send flowers" could be used as evidence for a HIPAA lawsuit for disclosing confidential medical information.
Avoiding stale data
All Oracle DBAs must be vigilant to ensure database recoverability while ensuring that sensitive or confidential data is completely obliterated. Most Oracle DBAs develop a sophisticated data retention policy that ensures recoverability, but they fail to develop policies for completely removing "stale" data.
In the article what you must have, should have, and never want to see in your company's records," we see that that all Oracle database information should be cleansed before archiving, removing all traces (including the redo logs) for any "smoking gun" data. The following information could be buried deep inside Oracle Applications or Oracle Collaboration Suite:
So how does the DBA manage these conflicting requirements? In order to be effective, the end-user community must be intimately involved in the purging of stale data from the Oracle tables, but it is up to the DBA to ensure that none of this stale data is retained inside export files, audit trails or archived redo log files.
A sample retention policy should also spell-out the specific acts to ensure the through destruction of the data. Remember, audit trails almost always contain confidential data, and the audit trail tapes should be thoroughly incinerated.
In some shops with threats of third party litigation, the corporate attorneys have developed thorough procedures for destroying Oracle data, even going as far as incinerating the archived backup tapes. They have observed that un-cataloging the archived redo log tapes is not sufficient because they could be reconstructed by an Oracle forensics expert, and an archived redo file that is sent to a "safe site" must also be completely destroyed.
Archives kept on disk also require special treatment. The disk files should be physically erased, since it's not enough to just remove the files. Here are some high-level best practices for Oracle data destruction:
In sum, the Oracle DBA has become the important custodian of critical corporate data, a job that requires attention to retention as well as destruction.
Appendix A
U.S. statutes mandating data archiving:
References
About the author
Donald K. Burleson has been a database administrator since the 1980s and manages the USA's largest remote DBA support service. He is also a popular author and serves as series editor for Rampant TechPress, a leading provider of Oracle technical books.