Mycat Learning Experience

Source: Internet
Author: User

Recently the boss asked us to learn mycat, and apply to the actual project. Now simply share your own learning experience, but also just accumulate it.

What is Mycat?

As I understand it: Mycat is a technique that can be used to increase the speed of the program and to expand it easily after mycat.

The use of Mycat?

In fact, the transition from a traditional MySQL connection to the Mycat connection is simple, just change the configuration file in the database connection, the other does not have to change.

The operation of the Mycat.

We still use the original INSERT, delete, UPDATE, select statement operation Mycat Virtual Library, Mycat will automatically assign and query the logical Library of child nodes.

The virtual library refers to the existence of libraries on mycat.

The logical library refers to the actual stored MySQL library.

It is worth noting that Mycat has no self-increasing primary key, so we have to define the algorithm of the primary key to insert a unique record.

Mycat Learning Experience

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.