Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Introduction to the usage of federated index of Mysql

Shulou Source: shulou.com Published: 2022-06-02 04:07:53 09月21日 Update

This article mainly introduces "the introduction of the usage of the joint index of Mysql". In the daily operation, I believe that many people have doubts about the introduction of the usage of the joint index of Mysql. The editor has consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts of "introduction to the usage of the joint index of Mysql"! Next, please follow the editor to study!

1. Create a federated index of the table (a, b, c)

Create table test (an int, b int,c int,d int,key index_abc (a meme bjorie c)) engine=InnoDB default charset=utf8

two。 Insert 10000 pieces of data

DROP PROCEDURE IF EXISTS proc_initData;DELIMITER $CREATE PROCEDURE proc_initData () BEGINDECLARE i INT DEFAULT 1bot where I

Tags: Indexes unions statements conditions learning results no sequence more order help influence utility next position principles instructions data articles methods Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft vpn MySQL Huawei Xiaomi