Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

lucio avatar image
lucio asked ·

LVM striped 条带大小的问题

我想使用lvm striped 方式作为cassandra的存储,但是不太清楚条带大小设置多大比较合理,麻烦能帮忙给出建议/注意的地方,感谢

storage
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

If you are using SSDs, it is not necessary to use RAID with Cassandra. For this reason, there is no recommended stripe size.

But if you weren't aware, the recommended read-ahead is 4KB for SSDs and 64KB for HDDs.

For more information, see Recommended Production Settings. Cheers!

如果使用的是SSDs,则无需将RAID与Cassandra一起使用。 因此,没有建议的条带大小。

但是,如果您不知道,建议的read-ahead对于SSDs来说是4KB,对于HDDs是64KB。

有关更多信息,请参见Recommended Production Settings

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.