Three pitfalls to avoid when using Cassandra

Source: Internet
Author: User
Tags cassandra readable

Cassandra is a very popular NoSQL product, it is based on the Key-value distributed storage Way is respected by many DBAs. NoSQL database products range, compared with traditional relational database, in terms of technical maturity is not perfect, so the DBA in the learning and use of the process will inevitably encounter some problems. Cassandra expert Buddhika Chamith in his blog with a concise language to explain the use of Cassandra to avoid the three misunderstandings:

1, if you want row key order, you need to use ordered partitioner. Remember that if the row key is not distributed properly, it generates a large number of hotspots (hot spots) because most rows are centered over a few nodes.

2. When creating a column family, the column will be sorted according to the definition, but the row key will not.

3. If you see only the hexadecimal value of column key in Cassandra-cli, and the value in the given result uses "as" and "assume" to display the readable (readable) value.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.