Differences between Mycat and MySQL -- the core function of Mycat, mycatmysql

Source: Internet
Author: User

Differences between Mycat and MySQL -- the core function of Mycat, mycatmysql

A friend was asked during the interview: What is the difference between Mycat and MySQL. We can regard the upper layer as an abstraction of the lower layer. For example, the operating system is an abstraction of various computer hardware. So when do we need abstraction? If there is only one kind of hardware, do we need to develop an operating system? For another example, a project only needs to be completed by one person without a leader. However, when dozens of people are required to complete the project, a manager should play a role in communication and coordination, this manager is an abstraction of the project team for his upper layer. Similarly, when our applications only need one database server, we do not need Mycat. If you need to split databases or even tables, when the applications need to face many databases, at this time, we need to make an abstraction for the database layer to manage these databases, and the top application only needs to face the abstraction or database middleware at the database layer, this is the core function of Mycat. It can be understood as follows: the database is an abstraction of the underlying storage files, while Mycat is an abstraction of the database.

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

Related Article

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.