Академический Документы
Профессиональный Документы
Культура Документы
Best Practices
David M. Heisler
Senior Principal Technical Support Engineer
Oracle E-Business Suite Proactive Support - Advanced Technologies
• Transient – In general, data that will be held for a short amount of time; for
example, login information or concurrent request information.
• Transactional – This is fiscal or non-fiscal data, typically related to entities
within the Oracle E-Business Suite, such as invoices or employee HR
information.
• Seed – Typically this would be lookup or reference data and in most cases
would help to contextualize transient or transaction data with regards to a
particular state or type.
• Pure archive and purge strategy where any important data is initially
archived and then finally purged when it is no longer needed.
• Implement a combination of an archive/purge and ILM strategy
• Do not use ILM but instead use database partitioning.
• Fully implement ILM and place less frequently accessed data, that would
ordinarily be archived and purged, onto cheaper and less expensive storage
devices.
Purging:
• Are you trying to stabilize the growth of your database?
• Are you purging to improve performance e.g. reduce the amount of data
prior to an upgrade?
• Oracle STRONGLY RECOMMENDS that you never use SQL*Plus, Oracle Data Browser,
database triggers, or any other tool to modify Oracle E-Business Suite data unless
otherwise instructed.
• Some third-party tools reduce the size of EBS databases by deleting data. Some use
database links, aliases, and other approaches to separate older data into other
databases.
• You should never use these tools to reduce the size of your production EBS database.
• EBS data dependencies are implemented through seed data, business logic, and other
undocumented areas. These hidden and undocumented dependencies mean that only
current EBS Development staff are qualified to determine whether data can be safely
removed.
• It is certain that third-party tools will violate EBS database referential integrity in some
manner. This is true even for third-party tools that are produced by people who used to
work for Oracle EBS development. EBS products continue to evolve and new
dependencies are introduced on a regular basis. These new dependencies may be
undocumented.
• If you want to change purge options at the project level, then change the poplist from
Project Information to Purge Options. Change the options for each project as
appropriate.
• Save the list of projects and close the Purge Batch Details window.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 74
E-Business Archive and Purging - Projects
To validate a purge batch:
• Choose Validate from the Purge Batches window.
• The system starts the ADM: Validate Purge Batch process.
• You can also validate the batch by running the process from the Submit
Requests window.
• When the process is complete, review the Purge Validation Report.
– If the Validation Exceptions section lists any errors, return to the Purge Batch Details
window and correct the errors.
– If the system validates the purge batch, you can release the purge batch
• After all the projects in the batch are validated (required), you release the
batch for purging. You cannot release a batch that contains errors.
To release a purge batch
– From the Purge Batches window, Choose Release. This sets the batch status to
Released.
Note: After a batch is released, you must choose Rework if you want to make
any changes in the batch. When you choose Rework, the batch status
changes from Released to Working.
Note: You can also run the purge process from the Submit Requests
window.
• Indepth review of Products with Purge Utilities in OAM and how to use
them.
– ASO, BOM, CCT, CS, CZ, EDR, IBW, JTF, MSC, MSD, OKC, ONT, OZF, PER, PON,
PQH, PSP, SQLGL, WSM, OZF
• FND_LOBS maintenance.
Use the following query to find out currently set value for PCTVERSION:
select PCTVERSION from dba_lobs where TABLE_NAME = 'FND_LOBS' and
COLUMN_NAME='FILE_DATA';
PCTVERSION
----------
10
PCTVERSION can be changed using the following SQL (it can be run anytime in a running
system):
ALTER TABLE FND_LOBS MODIFY LOB (FILE_DATA) ( PCTVERSION 0 );
• Stores information about all LOBs managed by the Generic File Manager.
• File data is a binary LOB.
• Non-Browser sources have to be prepared.
• Use program name and tag for purging purposes if possible.
• You can set expiration date on objects that do not have one
For more information on FND_LOBS issues, you may review the following MOS
documents:
• How To Manage, Reduce, and/or Purged The FND_LOBS Table? (Doc ID 1288149.1)
• FAQ – Performance Considerations For FND_LOBS (Doc ID 829235.1)
• Orphaned Records In FND_LOBS Table When Uploading Attachments Using FNDATTACH
Form (Doc ID 963222.1)
• How To Download Attachment File From fnd_lobs (Doc ID 1457782.1)
• How To Extract attachments From The Database When a URL Is in The APPLSYS
FND_LOBS Table Under The Heading of File_Name (Doc ID 800973.1)
Database Partitioning
• A customer partitions an existing standard Apps product table is not partitioned using
various methods, including the range, list, hash, or composite partitioning methods; or,
• Other customers use a single or a few set of books for which period_name
makes sense.
• Since the majority of the GL runtime SQL includes the filters period_name
or set_of_books_id, these columns are logical choices for the partition key.
• Table availability
– Significantly reduce recovery times of key transaction tables by
recovering the current partitions first.
• Table manageability
– Backup, restore, and rebuild at the partition level.
– Index rebuilds can be performed at the partition level.
– Partition aware operations such as MOVE, EXCHANGE, REBUILD can be
used without affecting active partitions.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 101
Database Partitioning – Advantages
• Performance
– Improves access path of most queries since the majority of the access
involves current data as opposed to historical data.
• Optimizer automatically prunes unnecessary partitions.
–Analytical reports or period close jobs/reports improve by scanning the
current partition as opposed to all the partitions.
–Improves purge performance.
–Significantly improves upgrade performance
• Minimizes upgrade downtime.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 102
Database Partitioning – Advantages
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 103
E-Business Archive and Purging Best Practices
Advanced Compression
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 104
E-Business Archive and Purging Best Practices
Advanced Compression
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 105
Advanced Compression
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 106
E-Business Archive and Purging Best Practices
Advanced Compression
What to Expect:
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 107
E-Business Archive and Purging Best Practices
Advanced Compression
Advanced Compression includes:
• OLTP Table Compression
• SecureFiles Compression
• CREATE TABLE images (image_id NUMBER, image BLOB)
LOB(image)STORE AS SECUREFILE
(TABLESPACE lob_tbs COMPRESS);
• SecureFiles Deduplication
• CREATE TABLE images (image_id NUMBER, image BLOB)
LOB(image) STORE AS SECUREFILE
(TABLESPACE lob_tbs DEDUPLICATE);
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 108
E-Business Archive and Purging Best Practices
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 109
E-Business Archive and Purging Best Practices - ILM
• Information Lifecycle Management (ILM) is the practice of applying policies
for the effective management of information throughout its useful life
Considerations when creating an information lifecycle management
framework for Apps data.
• ILM includes every phase of a “row” from its beginning to its end.
• Consists of the policies, processes, practices, and tools used to align the
business value of information with the most appropriate and cost effective
IT infrastructure.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 110
Typical Data Life Cycle
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 111
E-Business Archive and Purging Best Practices
Implementing ILM for Oracle
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 112
E-Business Archive and Purging Best Practices
Heat Map and Automatic Data Optimization
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 113
Heat Map and Automatic Data Optimization
Limitations and Restrictions With ADO and Heat Map
• ADO and Heat Map are not supported with a multitenant container
database (CDB).
• Custom policies (user-defined functions) for ADO are not supported if the
policies default at the tablespace level.
• ADO does not perform checks for storage space in a target tablespace
when using storage tiering.
• ADO is not supported on tables with object types or materialized views.
• ADO is not supported with index-organized tables or clusters.
• ADO has restrictions related to moving tables and table partitions.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 114
E-Business Archive and Purging Best Practices
Flashback Data Archive
• Provides a mechanism for tracking changes to production
• Allows organizations to configure historical data capture in a matter of
minutes
• Flashback Data Archive consists of one or more tablespaces or parts
thereof.
• Flashback Data Archive is configured with retention time
• Use Flashback Data Archive to view or restore the data as of a time in the
past.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 115
E-Business Archive and Purging Best Practices
In-Database Archiving
• Allows users and applications to set the archive state for individual rows.
• Rows marked as archived stay where they are, but are not visible, unless
the session is enabled to see archived data.
• Enabling in-database archiving causes the addition of a system generated
hidden column.
• In-database archiving utilizes an added hidden column to a table to specify
the visibility of each
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 116
E-Business Archive and Purging Best Practices
Key Benefits Summary
• Heat Map automatically tracks modification and access at the row and
segment levels.
• ADO automatically moves, and compresses, data according to user-defined
policies based on Heat Map gathered information.
• ADO enables automated storage tiering and compression tiering.
• Flashback Data Archive securely tracks and stores transactional changes to
a table over its lifetime.
• In-Database Archiving archives rows in-place, rows that have been marked
as archived stay where they are but are not visible unless the session is
enabled to see archived data.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 117
E-Business Archive and Purging Best Practices
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 118
Information Lifecycle Management Assistant
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 119
Information Lifecycle Management Assistant
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 120
Information Lifecycle Management Assistant
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 121
Information Lifecycle Management Assistant
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 122
Information Lifecycle Management Assistant
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 123
Information Lifecycle Management Assistant
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 124
Information Lifecycle Management Assistant
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 125
Information Lifecycle Management Assistant
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 126
E-Business Archive and Purging Best Practices
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 127