I need to create and populate many large MariaDB tables in less than geologic time. I've kludged around using memory tables as a buffer, but 32GB of memory just wasn't enough to make it work even when I paged out to disc frequently.
So I broke down and bought a 256GB Samsung 850 PRO ssd (vnand chips) as a staging device and just finished installing it with the aid of wblock's excellent help page at http://www.wonkity.com/~wblock/docs/html/ssd.html
But I'm wondering now whether using the default 32K block size is the best choice. The tables will become large, but they're not always large, and I'd like to waste as little space as possible without slowing down the disc too much.
Any experienced views on an optimal block size for this application?
So I broke down and bought a 256GB Samsung 850 PRO ssd (vnand chips) as a staging device and just finished installing it with the aid of wblock's excellent help page at http://www.wonkity.com/~wblock/docs/html/ssd.html
But I'm wondering now whether using the default 32K block size is the best choice. The tables will become large, but they're not always large, and I'd like to waste as little space as possible without slowing down the disc too much.
Any experienced views on an optimal block size for this application?