In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
MySQL 8.0 Query Rewrite supports SELECT INSERT UPDETE DELETE REPLACE statement rewriting
This feature needs to be liked. For example, when the developer went online, a SQL query field index was forgotten to fill up the online CPU. At this time, you can rewrite the SQL, let the business report an error first, don't kill the database, and then notify the developer to roll back immediately, and then go online after adding the index.
Install the plug-in
Mysql-S / tmp/mysql_hcy.sock-p123456 SELECT * from sbtest1 limit 1\ G * * 1. Row * k: 499284c: 83868641912-28773972837-60736120486-75162659906-27563526494-20381887404-41576422241-93426793964-564065102-335184323301 row in set 1 warning (0.00 sec) ERROR: No query specified mysql > show warnings\ Gmail * 1. Row * * Level: Note Code: 1105Message: Query 'SELECT * from sbtest1 limit 1' rewritten to 'SELECT k from sbtest1 limit 1' by a query rewrite plugin1 row in set (0.00 sec)
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.