• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
sharadchhetri

sharadchhetri

AI, Linux, Cloud and DevOps

  • Home
  • Resources
    • Learn Linux
    • Articles
  • My Projects & Work
    • My Nagios Plugin
    • My Dockerhub Repo
    • My WordPress plugins
    • My Github Repos
  • Facebook Page
  • Contact
  • Privacy Policy
  • About Me
You are here: Home / Articles / How to know storage engine of mysql table

How to know storage engine of mysql table

August 10, 2013 by Sharad Chhetri Leave a Comment

When you are working in mysql server sometimes you need the information about what is the storage engine of table in database. Mostly we use Innodb and MyISAM but it might be the case in mysql server other storage engine can also be used.

In mysql to know storage engine of mysql table,use the below given command

Step 1 : Login into mysql server

mysql -u root -p

Step 2: Connect to database

use database-name

Step 3: Now hit the below given command in mysql prompt. See the second field “Engine”
Replace table-name with name of your mysql table name.

show table status where `Name` = 'table-name' G;

For live example from my system,below given is the reference

linux@tuxworld:~/Desktop/data3/data2$ mysql -u root -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or g.
Your MySQL connection id is 190
Server version: 5.5.29-0ubuntu0.12.10.1 (Ubuntu)

Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.

mysql> use linux
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> show table status where `Name` = 'tutorials_tbl' G;
*************************** 1. row ***************************
           Name: tutorials_tbl
         Engine: InnoDB
        Version: 10
     Row_format: Compact
           Rows: 1
 Avg_row_length: 16384
    Data_length: 16384
Max_data_length: 0
   Index_length: 0
      Data_free: 7340032
 Auto_increment: 2
    Create_time: 2013-08-10 16:16:13
    Update_time: NULL
     Check_time: NULL
      Collation: latin1_swedish_ci
       Checksum: NULL
 Create_options: 
        Comment: 
1 row in set (0.00 sec)

ERROR: 
No query specified

mysql> 

Share this:

  • Share on X (Opens in new window) X
  • Share on Facebook (Opens in new window) Facebook
  • More
  • Print (Opens in new window) Print
  • Email a link to a friend (Opens in new window) Email
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Reddit (Opens in new window) Reddit
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon

Articles

How to install MySQL Server 5.7 on Ubuntu 14.04 LTS
Install Owncloud 7 on Ubuntu 14.04 LTS Server
Beginners 4 basic commands of database in mysql server
How to set default storage engine to MyISAM to InnoDB vice versa
How to install mysql server 5.6 on Ubuntu 14.04 LTS ( Trusty Tahr )
How to upgrade Mariadb 5.5 to Mariadb 10.0 on CentOS 7 / RHEL 7
Install latest wordpress in CentOS 6
How to install wordpress on LAMP stack ( Ubuntu 14.04 LTS Server )
Setup MySQL master slave replication in CentOS 6
How to configure multiple mysql instance in Ubuntu
Essential Linux Commands Every Beginner Should Know | With Examples
How to check default storage engine in MySQL server
How to change mysql default data directory in Ubuntu
Find installed and enabled apache module in Debian/Ubuntu
How to configure vsftpd server with virtual user mysql authentication in CentOS 6

Filed Under: Articles

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Articles

  • Install n8n docker in Ubuntu for practicing
  • Bash Script: MySQL Database backup to AWS S3
  • Automate no touch Jenkins setup wizard on docker (jcac)
  • How to run and configure Jenkins in Docker container
  • Complete Guide: How to install Nagios Monitoring on AlmaLinux / Rocky Linux
  • Install KVM on Ubuntu 24.04 LTS ( Bash Script )
  • How to install GIMP 2.10 on Ubuntu / Debian
  • 5 ways to check Ubuntu version of system (commands and GUI)
  • How To Solve Forgot MySQL / MariaDB Root Password
  • Create Self Hosted Build Agent Docker Image for Azure DevOps

Copyright © 2026 ยท
The material in this site cannot be republished either online or offline, without our permission.
Proudly Blogging From India.

  • Contact
  • About Me
  • My WordPress plugins
  • Privacy Policy