MySQL - Explain how to create a new table using BDB Storage Engine

Explain how to create a new table using BDB Storage Engine.

- BDB (BerkeleyDB) storage engine is transaction safe and developed by Oracle.

- BDB is not the default storage engine. "ENGINE = BDB" at the end of the "CREATE TABLE" statement can be specified to create new tables with the BDB storage engine.

- Each BDB table is stored on disk in two files.

- The files have names that begin with the table name and have an extension to indicate the file type.

- An .frm file stores the table format, and a .db file contains the table data and indexes.

- To specify explicitly that you want a BDB table, indicate that with an ENGINE table option:

CREATE TABLE t (i INT) ENGINE = BDB;

- The older term TYPE is supported as a synonym for ENGINE for backward compatibility, but ENGINE is the preferred term and TYPE is deprecated.

- BerkeleyDB is a synonym for BDB in the ENGINE table option.
MySQL - Explain how to create a new table using CSV Storage Engine
Explain how to create a new table using CSV Storage Engine - CSV (Comma-Separated Values) storage engine stores table data in text files in comma-separated value format......
MySQL - What are the system tables that store user privileges?
What are the system tables that store user privileges? - mysql.user - Stores privileges granted at the global level, mysql.db - Stores privileges granted at the database level.....
MySQL features - Explain about MySQL and its features.
MySQL features - MySQL is a relational database management system which is an open source database.....
Post your comment