简体   繁体   中英

How to do Indexing of database tables in phpMyAdmin

I want to boost up my database speed each time when new query hit to database table. Can anybody help me out with how indexing works in phpMyAdmin & how to do it??

  1. Select a table
  2. click on page Structure
  3. Below the column section you can found an index section
  4. Found the Create an index on x columns
  5. Press the button GO

you can use create index statement:

create index idx_username on users(username)

what actually means: "i want to create index called idx_username on table users on column username"

Set the index from PHPMYADMIN.

I marked the index button in yellow.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM