Written by

Senior Software Engineer
Question Ashok Kumar T · Oct 19, 2023

Block size error on Database creation

Hello Community,

I got the below error while creating a new database.

Product version: IRIS 2023.2
$ZV: IRIS for Windows (x86-64) 2023.2 (Build 227)

Comments

Ashok Kumar T  Oct 19, 2023 to Dmitry Maslennikov

Hello @Dmitry Maslennikov 
I had enabled the options and restarted the iris before creating the database. Still I got the error

0
Dmitry Maslennikov  Oct 19, 2023 to Ashok Kumar T

Ahh, yes, you also need some Global Buffer for this size too

0
Ashok Kumar T  Oct 19, 2023 to Dmitry Maslennikov

Thanks @Dmitry Maslennikov 

It works. I thought "Initial (25% of physical memory)" of the global buffer will also applicable for other block size. However It's not that kind. There is default 0 for those blocks. So, it's mandatory to make it specific amount.

Once I made the changes it works!

0
Chad Severtson · Oct 20, 2023

I'd love to know more about your specific use case for using 32KB blocks for the database. In my experience, 8KB blocks are generally more adaptable unless you're exclusively working with atomic data elements that are that size or larger. IMHO, it's an instance wide consideration rather than only a database level consideration because allocating buffers of 32KB reserves a portion of the memory for blocks of that size. 

0
Ashok Kumar T  Oct 22, 2023 to Chad Severtson

Hello @Chad Severtson 

We have streams to store it for long time. So, As per the documentation. I was thinking to to create a separate database to move the existing streams, create a new streams and maintain it accordingly. Can you add bit more details about this the instance wide consideration rather than only a database level consideration because allocating buffers of 32KB reserves a portion of the memory for blocks of that sizeHow much memory is allocated and how to calculate it

Thanks!

0