What Does a Database for SSDs Look Like?
brooker.co.za
What Does a Database for SSDs Look Like?
1–10 of 127 posts
Re: What Does a Database for SSDs Look Like?
#2Overall speed is irrelevant, what mattered was the relative speed difference between sequential and random access.
And since there's still a massive difference between sequential and random access with SSDs, I doubt the overall approach of using buffers needs to be reconsidered.
Re: What Does a Database for SSDs Look Like?
#3Due to the interface between SSD and host OS being block based, you are forced to write a full 4k page. Which means you really still benefit from a write ahead log to batch together all those changes, at least up to page size, if not larger.
Re: What Does a Database for SSDs Look Like?
#4[1] https://www.dr-josiah.com/2010/08/databases-on-ssds-initial-...
Re: What Does a Database for SSDs Look Like?
#5Re: What Does a Database for SSDs Look Like?
#6Median database workloads are probably doing writes of just a few bytes per transaction. Ie 'set last_login_time = now() where userid=12345'. Due to the interface between SSD and host OS being block based, you are forced to write a full 4k page. Which means you really still benefit from a write ahead log to batch together all those changes, at least up to page size, if not larger.
Re: What Does a Database for SSDs Look Like?
#7Median database workloads are probably doing writes of just a few bytes per transaction. Ie 'set last_login_time = now() where userid=12345'. Due to the interface between SSD and host OS being block based, you are forced to write a full 4k page. Which means you really still benefit from a write ahead log to batch together all those changes, at least up to page size, if not larger.
Don't some SSDs have 512b page size?
Re: What Does a Database for SSDs Look Like?
#8Re: What Does a Database for SSDs Look Like?
#9Re: What Does a Database for SSDs Look Like?
#10Median database workloads are probably doing writes of just a few bytes per transaction. Ie 'set last_login_time = now() where userid=12345'. Due to the interface between SSD and host OS being block based, you are forced to write a full 4k page. Which means you really still benefit from a write ahead log to batch together all those changes, at least up to page size, if not larger.
Don't some SSDs have 512b page size?