Home  >  Article  >  Operation and Maintenance  >  What is the difference between Docker and MySQL?

What is the difference between Docker and MySQL?

Guanhui
GuanhuiOriginal
2020-06-11 11:49:443059browse

What is the difference between Docker and MySQL?

What is the difference between Docker and MySQL?

Docker is an open source application container engine that allows developers to package applications into a container and then publish them to run on any popular Linux machine, while MySQL is a relational database management system.

Docker

Docker is an open source application container engine that allows developers to package their applications and dependencies into a Portable containers are then published to any popular Linux machine or Windows machine, and virtualization can also be achieved. The containers completely use the sandbox mechanism and will not have any interfaces with each other.

A complete Docker consists of the following parts:

  • DockerClient client

  • Docker Daemon daemon process

  • Docker Image

  • DockerContainer Container

##MySQL Features

1. MySQL is written in C and C, and tested using a variety of compilers to ensure the portability of the source code.

2. Support AIX, FreeBSD, HP-UX, Linux, Mac OS, NovellNetware, OpenBSD, OS/2 Wrap, Solaris, Windows and other operating systems.

3. Provides APIs for multiple programming languages. These programming languages ​​include C, C, Python, Java, Perl, PHP, Eiffel, Ruby, NET and Tcl, etc.

4. Support multi-threading and make full use of CPU resources.

5. Optimized SQL query algorithm effectively improves query speed.

6. It can be used as a separate application in a client-server network environment, or it can be embedded into other software as a library.

7. Provide multi-language support. Common encodings such as Chinese GB 2312, BIG5, Japanese Shift_JIS, etc. can be used as data table names and data column names.

8. Provide multiple database connection channels such as TCP/IP, ODBC and JDBC.

9. Provide management tools for managing, checking, and optimizing database operations.

10. Support large databases. Can handle large databases with tens of millions of records.

11. Support multiple storage engines.

12. MySQL is open source, so you don’t need to pay extra fees.

13. MySQL uses standard SQL data language form.

14. MySQL has good support for PHP, which is a popular web development language.

15. MySQL can be customized and adopts the GPL protocol. You can modify the source code to develop your own MySQL system.

16. Online DDL/change function, data architecture supports dynamic applications and developer flexibility (new in 5 and 6)

17. Replicate global transaction identification and support self-healing Cluster (newly added in 5 and 6)

18. Replicate crash-free slaves to improve availability (newly added in 5 and 6)

19. Replicate multi-threaded slaves to improve performance ( 5, 6 new)

20. 3 times faster performance (5, 7 new)

21. New optimizer (5, 7 new)

22. Native JSON support (new in 5 and 7)

23. Multi-source replication (new in 5 and 7)

24. GIS spatial expansion (new in 5 and 7) )

Recommended tutorial: "

Docker"

The above is the detailed content of What is the difference between Docker and MySQL?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn