Strictly speaking, hadoop and mysql have nothing to do with each other. The difference is that hadoop is a distributed computing framework used to process large amounts of data, while mysql is a database used to store data.
But generally speaking, the database used with hadoop is not a traditional relational database such as mysql, because when the amount of data is very large, the processing of these databases The speed will be very slow (even if a cluster is built, it will still be slow). Instead, non-relational databases such as hbase will be used, and the processing speed will be relatively stable during large amounts of data processing.
What is the difference between hadoop and mysql?
Give a simple example. Mysql is a sack with data in it. Hadoop is a very powerful tool, and its role is to process big data including these sacks.
So, in fact, there is no direct relationship between them.
The above is the detailed content of What is the difference between hadoop and mysql?. For more information, please follow other related articles on the PHP Chinese website!