Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Z table size

Former Member
0 Likes
2,643

Hi All,

I have created a Z table and given data class as APPL1 and size category as 2 (Data records expected: 11.000 to 45.000).

After giving that size, the table has already crossed 1 lakh records.

I would like to know, even when i specify size catergory as 2, why it has crossed 45 thousand mark ?

Will be rewarded.

Thanks,

Hi All,

I have created a Z table and given data class as APPL1 and size category as 2 (Data records expected: 11.000 to 45.000).

After giving that size, the table has already crossed 1 lakh records.

I would like to know, even when i specify size catergory as 2, why it has crossed 45 thousand mark ?

Will be rewarded.

Thanks,

9 REPLIES 9
Read only

Former Member
0 Likes
1,716

Hi Ramprasad,

technical info in the data dictionary is an indication for the database system how to allocate space for the table in an efficient manner. Through some calculations it will determine the size of the table extents and with that a maximum number of records that the table can hold but this number is much bigger than the number indicated in the settings. So, while filling your table it ran out of space several times and it got automatically extended. Check with your coleagues in Basis if you want more details.

Greetings,

Gert.

Read only

Former Member
0 Likes
1,716

HI,

The table will go for dynamic extension.

Thanks

Read only

Former Member
0 Likes
1,716

Hi Ramprased,

When you create a table, initial space is saved for it in the database. If more space is required later as a result of data that has been entered, the storage space is increased in accordance with the category selected.

You can select the categories 0 to 9 for your table. Each category is assigned a specific fixed storage area value in the database.

For an Example : you have selected size category 2. The number of data records expected for the size category is 11.000 to 45.000 . While filling the table if the records are exceeded 45.000 then the storage space is increased for more 11.000 to 45.000 records, like that it goes on increasing.

Hope this helps...

Best regards,

raam

Read only

Former Member
0 Likes
1,716

Hi Ramprasad,

May I know which version you are using ....

Bcoz this is some problem due to patch level differences from the server side...

If u have Basis Authorizations u can have a look at Tcode SPAM..

U can find the patch levels there.

More over if u upgrade the patch levels ur problem will be resolved..

If u dont have any Authorizations ask ur Basis Admin and upgrade the patch levels.

Then try to create the table.....

may b this will resolve ur issue....

Reward points if helpful...

Thanks & Rewards,

Sudheer.

Read only

Former Member
0 Likes
1,716

The amount U have allocated is the initial extent, if it exceeds the initial extent it creates the next extent to allocate memory for the records.

Read only

Former Member
0 Likes
1,716

Hi,

If the size catagory of a table is upto '45,000' it means that

that the block size allocation is 45,000.

When a table is created the initial size is same (say 16,000), whatever may be the size catagory.

when the no. records becomes more than is mark (16,001) a block of memory space is allocated that is given by the size catagory, ie when You are entering the 16,001th record ...... instead of allocating space for one record only , a block of memory is given to the table that is given by the size catagory (45,000). so the size of the table is (16000 + 45000 = 61000) of which 16001 are filled and rest to be filled with records.

Read only

Former Member
0 Likes
1,716

Hi Ramprasad Simhadri,

Size Category

The Size Category field enables you to specify the maximum number of records you expect this table to hold. You are setting the size of the initial extent and next extents, as well as the maximum number of extents allowed for this table. An extent is the amount of space allocated for a table. The initial extent is the amount of space allocated for a table when it is created. If a table uses up that space, another extent will be allocated, causing the table's space to be extended.

The size categories are always 0 through 4, but the number of expected records in each size category will change with every table based on the length of a row. Choose an appropriate category based on the maximum number of records you expect that table to hold.

CAUTION

When choosing a size category, be generous. In R/3 it is much better to over-estimate than underestimate this parameter. If the size category is too small and the table grows larger than the initial allocation, the RDBMS allocates another extent. Secondary extents reduce performance and require a table-space reorganization to remove. Reorganizations can be very difficult to perform on a large database, especially one that requires high availability. It is much easier to reduce an overly generous size category than it is to increase an underestimated one.

Hope it will solve your doubt..

Reward points if useful...

Thanks & Regards

ilesh 24x7

Read only

Former Member
0 Likes
1,716

When a table is created, initial space is reserved in the database. If more space

is required at a later time due to data entries, additional memory will be added depending on the

selected size category.

Cheers,

Read only

former_member787646
Contributor
0 Likes
1,716

Hi,

Data Class describes how the table is stored in the Database ie., the table space required in DB.

Size Category describes how many records we can insert at one stretch..if the size (the no of records) exceeded than the limit it will create new stretch automatically to insert the records in DB.

I think it will help you.

Murthy.