Default Value for NEXT 

When you carry out a reorganization or an export, SAPDBA recommends extent sizes for the object you are reorganizing or exporting. You can influence the calculation of the default value for extent parameter NEXT with the option Use ABAP/4 Dic. for NEXT. The basis for calculating the NEXT parameters are tables DD09L and TGORA/IGORA.

SAPDBA calculates a default value for the NEXT extent size as follows:

The new value for NEXT is calculated as the maximum of the following two values:

    1. An SAP object is assigned a size category via table DD09L. The NEXT value is determined from table TGORA/IGORA based on that category. (This point does not apply if there is no category assigned in DD09L.)
    2. SAPDBA determines the maximum from the following values:

SAPDBA compares this value (the maximum of 1. and 2.) 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 (the NEXT value therefore can become somewhat smaller than the current value under certain circumstances). NEXT values which are larger than the largest TGORA/IGORA value are not reduced. If TGORA/IGORA does not exist, SAPDBA uses internal default values which correspond to the values in TGORA/IGORA (see "Values in TGORA/IGORA").

No comparison with DD09L and TGORA/IGORA is performed; instead the greater of the two following values is used:

Values in TGORA/IGORA

Defining the NEXT values to correspond to the permanently assigned values in the TGORA/IGORA tables results in less wastage in the tablespace. If the extent values are defined using a size category assigned in the ABAP/4 Dictionary (see Technical Configuration), incorrectly defined values can be corrected in the database without great difficulty.

NEXT values in TGORA/IGORA

Size category

NEXT value for table (in KB)

NEXT value for indexes (in KB)

0

16

16

1

160

80

2

640

160

3

2560

640

4

10240

2560

5

20480

5120

6

40960

10240

7

81920

20480

8

163840

40960

9

327680

81920

10

655360

163840

11

1310720

327680

12

2621440

655360

13

5242880

1310720

14

10485760

2621440

 

You can change this distribution manually, but you should note the following when doing so: