dbTalk Databases Forums  

What is the MySql Cluster best disk type?

comp.databases.mysql comp.databases.mysql


Discuss What is the MySql Cluster best disk type? in the comp.databases.mysql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bishop
 
Posts: n/a

Default What is the MySql Cluster best disk type? - 10-27-2011 , 02:42 PM






I understand that MySql Cluster's primary data storage is RAM to speed
up queries, but regarding the disk which is the best choice, SSD or
HDD?

Is MySql Cluster like other databases that accesses the disk
randomically or it is sequential since the data are queried in RAM?

Thanks
Flavio

Reply With Quote
  #2  
Old   
Axel Schwenke
 
Posts: n/a

Default Re: What is the MySql Cluster best disk type? - 10-28-2011 , 12:37 AM






Bishop <flavio.tobias (AT) gmail (DOT) com> wrote:
Quote:
I understand that MySql Cluster's primary data storage is RAM to speed
up queries, but regarding the disk which is the best choice, SSD or
HDD?

Is MySql Cluster like other databases that accesses the disk
randomically or it is sequential since the data are queried in RAM?
This depends. NDB does disk I/O for different reasons:

1. global checkpoints: the REDO log is flushed to disk. Logs are
pre-allocated. This is kind of sequential.

2. local checkpoints: the DataMemory is written to disk. This is
certainly sequential.

3. accessing disk data: although most data (anything indexed) is
stored in memory, you can also have columns stored on disk.
I/O is done in rather large chunks but still random.

4. backups: this is again sequential.


All except 3. is write-only for normal cluster operations (will only
be read at node (re)start or recovery). Especially 1. is critical and
requires low latency *and* high throughput.

The strength of SSD is low latency random reads. Exactly this is not
needed by NDB. Except for disk data and recovery of course. Then OTOH
SSD have (had?) weaknesses when it comes to heavy writes.

I haven't seen any NDB installation using SSD (nor laid my hands on it)
but IMHO the better (and much cheaper) choice are HDD.


XL

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.