In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly shows you "what's the difference between Elasticsearch and TiDB", the content is simple and clear, and I hope it can help you solve your doubts. Let me lead you to study and learn this article "what's the difference between Elasticsearch and TiDB".
Contrast dimension
Elasticsearch
TiDB
Place of Origin
The name of the company is now Elastic
In fact, it has employees all over the world, and it is generally believed that the headquarters of the company is Amsterdam.
The company is PinCap, in Beijing, is a domestic company.
Version history
In the beginning, it was not called ES, but originated from the application of recipes made by the author. Author Shay Banon released the first version of Elasticsearch in February 2010. The latest version is 7.6.
The first version was released in October 2017, and the current stable version is 3.0.0. A 4.x version is being developed.
Basic introduction
Elasticsearch is a search engine based on Lucene library. It provides a distributed full-text search engine that supports multi-tenancy.
TiDB is an open source NewSQL database that supports mixed transaction and analytical processing (HTAP) workloads. It is compatible with MySQL and provides horizontal scalability, strong consistency, and high availability.
User scale
No specific data are found, but DB-Engines Ranking ranks in the top 10, the company is valued at about $3 billion, and the number of users can be imagined.
Although it has not been established for a long time, more than 300 companies are using TiDB, and there are many domestic users, such as Zhihu, Xiaomi, Meituan and other well-known Internet companies.
Author
Anyone familiar with ES knows that it comes from recipes. Many years ago, an unemployed engineer named Shay Banon came to London with his new wife, who wanted to study as a cook in London. While he was looking for a job in London, he came into contact with an early version of Lucene and wanted to develop an app for his wife to easily search recipes. This is the predecessor of ES.
The author is a Pincap company, not developed by anyone.
Support for programming languages
There are many clients of ES now, .net, Groovy,Java,JavaScript,Perl,PHP,Python,Ruby
Tidb itself is a database similar to mysql, and it supports all the basic mainstream development languages.
Support for SQL
The official language recommended by ES is QUERY DSL, but considering the influence of SQL, Elasticsearch-SQL came into being, it is not official, it is a third-party open source plug-in.
This is the advantage of tidb, which is almost fully compatible with mysql.
Cooperation with domestic cloud manufacturers
Aliyun, Tencent Cloud
The authorities don't seem to be on the cloud yet. This is actually quite complicated, involving the problem of big fish eating small fish, not to be carried out.
Big data mapreduce support
ES-Hadoop
TiSpark
Transaction support
Not supported
Support
Partitions and copies
Slicing mechanism
TiKV uses Raft protocol for replication to maintain data consistency and disaster recovery. Replicas are managed in units of Region, and multiple Region on different nodes form a Raft Group, which is a copy of each other. The load balancing of data among multiple TiKV is scheduled by PD, which is also scheduled on a per-Region basis.
The above is all the content of this article entitled "what's the difference between Elasticsearch and TiDB". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.