Entering content frameSyntax documentation sapdba -next <tablespace(s)> Locate the document in its SAP Library structure

Use

You can use this SAPDBA command to adjust the value of the next extent allocated to growing tables in the Oracle database.

Recommendation

We strongly recommend you to use the BRCONNECT equivalent function -f next instead of this SAPDBA command. The reason is that we will in future no longer develop the SAPDBA functions, whereas BRCONNECT functions will always be fully up-to-date.

If you are reorganizing a tablespace that grows quickly (for example, a tablespace with transaction data), we recommend using this command frequently. SAPDBA adjusts the value of NEXT according to the rapid growth of the tablespace. Adjusting NEXT prevents the tablespace from reaching the MAXEXTENTS limit too quickly.

SAPDBA chooses the new value for NEXT as the maximum of the following two values:

SAPDBA compares the new chosen value for NEXT with the values for the extent size in TGORA / IGORA . SAPDBA chooses the next smaller value found in TGORA / IGORA as the new NEXT value. If there are no entries for the table in TGORA / IGORA , SAPDBA uses an internal default value. See also Default Value for NEXT.

This procedure prevents the number of extents from growing too quickly and – with repeated use – simulates an asynchronous, linear PCTINCREASE response. The changed tables are recorded along with their old and new values in the log <timestamp>.nxt . For more information on the log, see SAPDBA Log Files and Their Contents.

Syntax

The following are examples of the syntax for this command:

Example

sapdba -next PSAP%

sapdba -next PSAP%I

sapdba -next PSAPBTAB%

sapdba -next <tablespace_name>

sapdba -next <TSP_name1>,<TSP_name2>,...

Caution

You cannot change the NEXT parameter for the SYSTEM tablespace.

Leaving content frame