Optimal block size in raid set for Hansa.hdb
9-23-21
Operating system: macOS
Hello,

We are launching new server on MacOS 11.6 with 8 SSD disks in Raid 10. It will be used as a Standard ERP server.
We were wondering what disk block size uses Standard ERP for the database? Or just what block size shall we set to have maximum performance for the database?


Can anyone advise?

Regards,
Damian Czuchajewski
Independent Proxy.
Ekkom.
Erik Elmgren
9-28-21
The database internal block size is 512 bytes.


The best performance for normal operations (saving records, reading records, reports, maintenances) will likely be as small a block-size as possible.

Operations such as making a copy of the database file might perform better with a large block size as these are sequential copies.

Imports of text backups is likely not affected much by the block size as long as RAM is sufficient.
10-18-21
Created byErik Elmgren10:12 28 Sep 2021
The database internal block size is 512 bytes. The best performance for normal operations (saving records, reading records, reports, maintenances) will likely be as small a block-size as possible. Operations such as making a copy of the database file m
Thank you for your reply.

Regarding RAM size.... can you advise what RAM size and --db-cache=?G parameter would provide best performance of importing text backup of database which has 120 GB?

Regards.
Bror-Erik Kotiranta
11-2-21
Hello,

a guideline to use, is maximum of 70% of available ram on the server. But for your specific question, i have not seen any significant increase of speed after 27G cache used even if db is way larger than that
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
Andis Blicāns, Grasko
Hello! How this "HAL Code Quality Control with AI" can be set up/used in Hansa?...
17:10 8 Jun 2026
Hi there, Version 2025-08-11. When restoring data using the GUI client, we get a restore window that lists all the available text backup files. We have noticed that the date on the left hand side ...
13:20 3 Jun 2026