943,891 Members | Top Members by Rank

Ad:
  • MySQL Discussion Thread
  • Unsolved
  • Views: 13489
  • MySQL RSS
Jan 1st, 2009
0

Default storage engine in MySQL

Expand Post »
Can anybody tell me how many storage engines are there in MySQL and which engine is the default engine in MySQL?

Kindly post answer if know it
Similar Threads
Reputation Points: 7
Solved Threads: 1
Light Poster
Jenniferlinn is offline Offline
25 posts
since Dec 2008
Jan 1st, 2009
0

Re: Default storage engine in MySQL

http://dev.mysql.com/doc/refman/5.0/...e-engines.html
Thats a link to the MySQL site explaining the storage engines and how to set the engine you want to use for your tables.
Reputation Points: 10
Solved Threads: 4
Light Poster
DiGSGRL is offline Offline
45 posts
since May 2008
Jan 22nd, 2009
0

Re: Default storage engine in MySQL

There are many storage engines in MySQL like
* MyISAM
* InnoDB
* MERGE
* MEMORY

The default storage engine is MyISAM.
Reputation Points: 10
Solved Threads: 1
Newbie Poster
Monalisaparker is offline Offline
22 posts
since Jan 2009
Jan 22nd, 2009
0

Re: Default storage engine in MySQL

The default storage engine is MyISAM.
You can set the default storage of your own choice by changing the following parameter in my.ini/my.cnf

MySQL Syntax (Toggle Plain Text)
  1. default-storage-engine=MyISAM
Reputation Points: 29
Solved Threads: 47
Posting Whiz
mwasif is offline Offline
312 posts
since Dec 2007
May 29th, 2009
0

Re: Default storage engine in MySQL

The default Storage engine is

Go for mysql prompt.

mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| images |
| mysql |
| test |
+--------------------+
4 rows in set (0.00 sec)

mysql> use information_schema;
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 tables;
+---------------------------------------+
| Tables_in_information_schema |
+---------------------------------------+
| CHARACTER_SETS |
| COLLATIONS |
| COLLATION_CHARACTER_SET_APPLICABILITY |
| COLUMNS |
| COLUMN_PRIVILEGES |
| ENGINES |
| EVENTS |
| FILES |
| GLOBAL_STATUS |
| GLOBAL_VARIABLES |
| KEY_COLUMN_USAGE |
| PARTITIONS |
| PLUGINS |
| PROCESSLIST |
| PROFILING |
| REFERENTIAL_CONSTRAINTS |
| ROUTINES |
| SCHEMATA |
| SCHEMA_PRIVILEGES |
| SESSION_STATUS |
| SESSION_VARIABLES |
| STATISTICS |
| TABLES |
| TABLE_CONSTRAINTS |
| TABLE_PRIVILEGES |
| TRIGGERS |
| USER_PRIVILEGES |
| VIEWS |
+---------------------------------------+
28 rows in set (0.00 sec)

mysql> select * from ENGINES;
+------------+---------+----------------------------------------------------------------+--------------+------+------------+
| ENGINE | SUPPORT | COMMENT | TRANSACTIONS | XA | SAVEPOINTS |
+------------+---------+----------------------------------------------------------------+--------------+------+------------+
| InnoDB | YES | Supports transactions, row-level locking, and foreign keys | YES | YES | YES |
| MRG_MYISAM | YES | Collection of identical MyISAM tables | NO | NO | NO |
| BLACKHOLE | YES | /dev/null storage engine (anything you write to it disappears) | NO | NO | NO |
| CSV | YES | CSV storage engine | NO | NO | NO |
| MEMORY | YES | Hash based, stored in memory, useful for temporary tables | NO | NO | NO |
| FEDERATED | NO | Federated MySQL storage engine | NULL | NULL | NULL |
| ARCHIVE | YES | Archive storage engine | NO | NO | NO |
| MyISAM | DEFAULT | Default engine as of MySQL 3.23 with great performance | NO | NO | NO |
+------------+---------+----------------------------------------------------------------+--------------+------+------------+
8 rows in set (0.00 sec)

mysql>

this is how we can search.
Reputation Points: 10
Solved Threads: 1
Junior Poster in Training
bhanu1225 is offline Offline
59 posts
since Dec 2008
5 Days Ago
0

Actually...

The default storage engine is based on the parameters chosen when the MySQL was installed. There are 3 methods in installation. 2 methods use InnoDB as the default, and 1 uses MyISAM as the default. It can be either one. To find out, make a database in phpMyAdmin, then click to add a table and at the bottom the default will always be chosen/displayed where which you can then select the engine of your preference.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mrcullers is offline Offline
1 posts
since Feb 2012
Message:
Previous Thread in MySQL Forum Timeline: HWPFDocument MySQL Word document read
Next Thread in MySQL Forum Timeline: Mysql won't connect to my html files: No error messages or anything. Any help?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC