# Is the size of an extent predictable?

**URL:** <https://techcommunity.softwareag.com/t/is-the-size-of-an-extent-predictable/57814>\
**Category:** Forum\
**Tags:** Adabas-Natural, Adabas, Adabas-Basics-on-Linux-Unix-Windows, Adabas-on-Windows-UNIX, Adabas-on-Linux\
**Created:** [November 4, 2005, 7:37pm UTC](https://techcommunity.softwareag.com/t/is-the-size-of-an-extent-predictable/57814 "2005-11-04T19:37:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matthias1](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@Matthias1](https://techcommunity.softwareag.com/u/Matthias1)\
**Post date:** [November 4, 2005, 7:37pm UTC](https://techcommunity.softwareag.com/t/is-the-size-of-an-extent-predictable/57814/1 "2005-11-04T19:37:16Z")

</div>

Hello all!

I’ve got a question related to an older discussion. [http://adabas.forums.softwareag.com/viewtopic.php?t=785](http://adabas.forums.softwareag.com/viewtopic.php?t=785)

It seems to me like the size of an extent is not predictable. Example: We got one ADABAS-file with a bigger growing rate. So it’s normal, that ADABAS builds new extents for NI automatically. Sometimes the size of these extends are about 7000 blocks. The next extent is created with roughthly 20000 blocks.

My question is: Why? The truth is: ADABAS didn’t fill gaps in the database-layout with that. How does Adabas decide, how big the next extend will be?

Regards,

Matthias

---

<div class="post-metadata">

**Author:** ![Heiko\_Kaffenberger](https://avatars.discourse-cdn.com/v4/letter/h/c0e974/32.png) [@Heiko\_Kaffenberger](https://techcommunity.softwareag.com/u/Heiko_Kaffenberger)\
**Post date:** [November 17, 2005, 1:59pm UTC](https://techcommunity.softwareag.com/t/is-the-size-of-an-extent-predictable/57814/2 "2005-11-17T13:59:24Z")

</div>

Hello Matthias,

Here the automatic extent allocation algorithm for v3.x:  
For the Address converter generally 12.5% of the already allocated space is allocated.  
For the other extents the size of the new extent is:  
((MAXISN - TOPISN) / TOPISN) \* size of the already allocated space, but at least 12.5% and not more than 50%.  
Note that this is the current formula used in v3.x, which may be changed in other versions.

Regards,  
Heiko

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:38pm UTC](https://techcommunity.softwareag.com/t/is-the-size-of-an-extent-predictable/57814/3 "2021-04-02T14:38:53Z")

</div>


