5 oznak, że przerastasz swoją bazę danych MySQL

wydajność mysql

The data management landscape is complex and quickly evolving. Nothing emphasizes this evolution more than the emergence of ‘super apps’ — or applications that process millions of user interactions per second. Factor in Big Data and the cloud, and it becomes clear that e-commerce merchants need a new generation of databases that can perform better and scale faster.

Any online business without an updated database is likely running MySQL, a database barely updated since its inception in 1995. After all, the term “NewSQL” didn’t become a part of the digital lexicon until Matt Aslett, an analyst for the 451 Group, coined it in 2011.

While MySQL is certainly capable of handling a good deal of traffic, as a business continues to grow, its database will probably reach maximum capacity and its website will stop functioning properly. If you’re unsure of whether or not your organization is ready for a NewSQL database, here are five signs you may be outgrowing MySQL:

  1. Trudności w obsłudze odczytów, zapisów i aktualizacji – MySQL has capacity limitations. As more and more customers complete transactions on your website, it’s only a matter of time before your database stalls. Moreover, as your load increases, and you are finding it difficult to handle additional reads and writes, you may need a different database. MySQL can scale reads via “read-slaves”, but applications have to be aware that reads aren’t asynchronous with the write-master. For example, when a customer updates products in his or her e-commerce cart, it should be read from the write-master. If not, you risk available-to-promise quantities being wrong. If that happens, you’ll have a bottleneck in the worst possible place: your e-commerce checkout line. A bottleneck at checkout can result in abandoned carts, or worse, you’ll sell inventory you don’t have, and have to deal with upset customers, and possibly negative social media exposure.
  2. Zwolnij analityka i raportowanie – MySQL databases don’t provide any real-time analityka możliwości, ani nie zapewniają wsparcia dla innych konstrukcji SQL. Aby rozwiązać ten problem, do przetwarzania ogromnych obciążeń wymagane są zarówno sterowanie wieloma wersjami współbieżności (MVCC), jak i przetwarzanie masowo równoległe (MPP), ponieważ umożliwiają one zapis i analityka odbywać się bez zakłóceń i używać wielu węzłów i wielu rdzeni na węzeł, aby zapytania analityczne przebiegały szybciej.
  3. Częste przestoje – MySQL databases are built with a single point of failure, meaning if any component – such as drive, motherboard, or memory – fails, the entire database will fail. As a result, you might be experiencing frequent downtime, which can result in loss of revenue. You can use sharding and slaves, but these are fragile and can’t handle large amounts of traffic. A scale-out database keeps multiple copies of your data, provides built-in fault tolerance and maintains operations despite and / or disk failures.
    Architektura Clustrix niczego nie współdzielonego
  4. Wysokie koszty deweloperskie - Deweloperzy pracujący z bazami danych MySQL muszą często spędzać dużą część swojego czasu na naprawianiu problemów z hydrauliką lub usuwaniu awarii baz danych. Deweloperzy, którzy pracują z bazą danych skalowalną w poziomie, mogą zamiast tego pracować nad opracowywaniem funkcji i szybszym wprowadzaniem produktu na rynek. W rezultacie skraca się czas wprowadzania na rynek, a firmy e-commerce są w stanie szybciej zarabiać.
  5. Maksymalna liczba serwerów – Servers maxing out on RAM for extended periods of time, or frequently throughout the day, are key indicator that MySQL can’t keep up with business growth. Adding hardware is the quick fix, but it’s also very expensive and isn’t a long-term solution. If organizations used a scale-out approach, data can be replicated across nodes, and as transactions increase in size and amount, workload is shifted to other nodes within the database.


It’s clear, MySQL has its limitations, and that given time and traffic growth, any MySQL database is bound to experience performance and latency issues. And for e-commerce websites, those malfunctions will almost certainly translate into missed revenue.

After all, it shouldn’t come as much of a surprise then that a technology that was built two decades ago is struggling to keep up in today’s fast-paced digital world. Think about it: how could programmers in 1995 foresee just how powerful the Internet would actually become?

Przyszłość baz danych

Co o tym myślisz?

Ta strona używa Akismet do redukcji spamu. Dowiedz się, jak przetwarzane są dane komentarza.