https://docs.oracle.com/cd/E18727_01/doc.121/e13620/T450006T314714.htm

Improving General Ledger Performance

Improving General Ledger Performance

There are many ways you can improve General Ledger’s performance and processing times for programs, such as the Maintain Summary Templates, Journal Import, and MassAllocation/MassBudget programs.

The following two programs improve General Ledger's performance:

Maintain Summary Templates Program: updates summary account information in the current ledger.

Optimizer Program: create or drop indexes for those segments in your chart of accounts that you have marked for indexing.

You can improve the performance of the Journal Import, and MassAllocation/MassBudget programs by setting the following profile options:

  1. GL: Number of Accounts in Memory: affects the performance of your MassAllocation and MassBudget programs

  2. GL: Number of Records to Process at Once: affects the performance of your Journal Import, MassAllocation and MassBudget programs.

Related Topics

Running the Maintain Summary Templates Program

Running the Optimizer Program

Setting Profile Options for Concurrent Program Performance

Optimizing Performance by Creating Indices on GL_CODE_COMBINATIONS Table

Running the Maintain Summary Templates Program

Run the Maintain Summary Templates program to update summary account information for one or more ledgers. This program ensures that your summary account templates reflect any new detail accounts you may have added.

Although General Ledger maintains summary templates automatically during the posting process, running the Maintain Summary Templates program before posting can improve the performance of the posting program. This is especially useful if you have added several new detail accounts since your last posting operation.

Prerequisites

To run the Maintain Summary Templates program:

  1. Navigate to the Submit Request window.

  2. Select the Maintain Summary Templates program.

  3. Submit the report.

     

    Note: This program has no user parameters.

     

Related Topics

Running Reports and Programs, Oracle Applications User's Guide

Defining Key Flexfields, Oracle Applications Flexfields Guide

Defining Segment Values, Oracle Applications Flexfields Guide

Defining Summary Accounts

Running the Optimizer Program

Run the General Ledger Optimizer program to create or drop indexes for those segments in your chart of accounts that you have marked for indexing.

You can also update statistical information about your data, such as the size of your balances and combinations tables, the number of accounts with a particular segment value, and the number of account balances associated with each accounting period. This information improves the performance of your journal entry posting and financial reporting process.

To keep these statistics current, you should run the Optimizer at least once a period, or any time you add several segment values, define a new chart of accounts, or add or delete summary templates.

Prerequisites

  • Define your account segments.

  • Specify whether you want to index a particular segment in your chart of accounts using the Key Flexfield Segments window.

  • Define your account segment values.

  • Define summary templates.

To create and drop indexes for your chart of accounts:

  1. Freeze your account structure.

  2. Navigate to the Submit Request window.

  3. Select the Optimizer program.

  4. Enter Yes for Maintain Indexes to create or drop the indexes for your chart of accounts.

    The Optimizer creates an index on a segment if one does not yet exist, and drops an index on a segment if you no longer index the segment. This is useful when you define a new chart of accounts for which you want to index particular segments or when you want to add or drop an index for an existing segment in your chart of accounts.

To update statistical information about your data:

  1. Navigate to the Submit Request window.

  2. Select the Optimizer program.

  3. Enter Yes for Gather Statistics. The Optimizer program gathers and updates statistical information about the size of your balances and combinations table, the number of account combinations with a particular segment value, and the number of account balances associated with each accounting period.

Related Topics

Running Reports and Programs, Oracle Applications User's Guide

Defining Key Flexfields, Oracle Applications Flexfields Guide

Defining Segment Values, Oracle Applications Flexfields Guide

Defining Summary Accounts

Setting Profile Options for Concurrent Program Performance

You can improve the performance of the Journal Import, and MassAllocation/MassBudgeting programs by setting the profile options GL: Number of Accounts in Memory and GL: Number of Records to Process at Once. For example, you can speed Journal Import by increasing the number of records to process at once by increasing the number assigned to the GL: Number of Records to Process at Once profile option.

The profile option GL: Number of Accounts in Memory affects the performance of your MassAllocation and MassBudget programs. The default for this profile option is 2500 to indicate that those programs will process 2500 accounts at once.

The profile option GL: Number of Records to Process at Once affects the performance of your Journal Import, MassAllocation and MassBudget programs. The default for this profile option is 1000 to indicate that 1000 records will be processed at once.

By increasing the number assigned to these profile options, you increase the amount of memory the Journal Import or MassAllocation/MassBudgeting programs can use, thereby increasing their throughput

Prerequisites

  1. Run the Optimizer program to create indexes on segments of your account.

  2. Determine the amount of your computer’s memory that you want to allocate to concurrent programs.

To Set Your Profile Options

  1. 1. Navigate to the System Profile Values window from the System Administrator responsibility.

  2. 2. Query the profile option GL: Number of Accounts in Memory and/or the GL: Number of Records to Process at Once.

  3. 3. Set the profile option at the Site, Application, Responsibility, or User level.

  4. 4. Save your work.

See Also

  1. Running the Optimizer Program

  2. Defining Key Flexfields

  3. Importing Journals, Oracle General Ledger User's Guide

Optimizing Performance by Creating Indices on GL_CODE_COMBINATIONS Table

To optimize performance you can add a non-unique concatenated index on just the active segments of the GL_CODE_COMBINATIONS table.

To determine which columns must be in the concatenated index, use the following SQL statement (Assume active segments are from 1 through 6.).

SELECTidfs.application_column_nameFROM gl.gl_ledgers glledger,applsys.fnd_id_flex_segments idfsWHERE ((glledger.chart_of_accounts_id = idfs.id_flex_num)AND (glledger.NAME = '&LedgerName')AND (idfs.application_id = 101))AND (idfs.id_flex_code = 'GL#')ORDER BY idfs.segment_num ASC;

To find what indexes you already have, use the following SQL statement:

SELECTaic.index_name,aic.column_name,aic.column_positionFROM all_ind_columns aic,all_indexes aiWHERE ai.index_name=aic.index_nameAND ai.table_name= 'GL_CODE_COMBINATIONS'ORDER BY aic.index_name, aic.column_position

It is also recommended that you create single segment indices on individual segments that are selective. However, you should not create a single segment index on the segment with which the concatenated index starts.