.IBD

Файл IBD

MySQL InnoDB Tablespace
Задать вопрос
БЫСТРЫЙ ОТВЕТ

An IBD file is a MySQL/MariaDB InnoDB tablespace - the binary file that holds one database table's rows and indexes in file-per-table mode. There is no standalone viewer; the file only works inside a running MySQL or MariaDB server that also has its system files (ibdata1, redo logs). To get the data out, attach it to a matching server and export with mysqldump.

Разработчик: Oracle Corporation (InnoDB; originally Innobase Oy) Категория: Файлы баз данных MIME: application/octet-stream
ОТКРЫВАЕТСЯ НА Windows macOS Linux
Связанные: .DB · .DBF · .ACCDB · .SQL

На этой странице

Проиндексировано расширений: 19k+
Последняя проверка: Jul 19, 2026

Не знаете, что это за файл?

Перетащите любой файл в наш идентификатор - мы прочитаем первые байты, чтобы определить формат.

Идентифицировать файл

Что такое формат файла IBD?

Files with the .ibd extension store MySQL InnoDB database table data, including table rows, clustered indexes, and secondary indexes. In file-per-table mode - the default since MySQL 5.6 - each .ibd file holds one table's data and indexes, with the file name corresponding to the table name. Earlier configurations allowed a shared tablespace for multiple tables and indexes, where each tablespace was identified by a unique ID number.

.ibd files contain fixed-size pages, 16 KB by default (configurable from 4 KB to 64 KB at creation). The format is binary and is divided into several page types with defined roles:

  • FSP_HDR / header page - page 0, containing the tablespace header and metadata
  • INDEX pages - B-tree pages holding table rows (clustered on the primary key) and secondary index entries
  • XDES PAGE - Extent Descriptor Page, describing the contents of extent pages
  • INODE PAGE - page containing file segment information

.ibd files have a complex internal structure and should be opened using dedicated database tools. The format supports optional transparent encryption (AES-based InnoDB TDE, available since MySQL 5.7) and optional page-level compression (ROW_FORMAT=COMPRESSED or transparent page compression). Each page carries a per-page CRC32 checksum for integrity verification.

As of MySQL 8.0, the table schema (Serialized Dictionary Information, SDI) is embedded directly in the .ibd, eliminating the separate .frm file required by MySQL 5.7 and earlier. The .ibd format is also supported by MariaDB and Percona Server.

Importing .ibd data between servers requires that the accompanying .cfg metadata file - and, if the tablespace is encrypted, a .cfp file - be imported as well.

Безопасность и защита

РИСК: MEDIUM

An .ibd is inert data - it does not execute - but it carries real operational and privacy risk. Operationally, never copy, move or delete .ibd files while the MySQL server is running, and never mix .ibd files from different server versions or without their system tablespace (ibdata1) and redo logs - doing so corrupts the table or crashes the server; the supported way to move them is transportable tablespaces. Privacy-wise, an .ibd contains the table's actual rows in plaintext on disk (unless TDE encryption is enabled), so a leaked .ibd is a data breach: production .ibd files can expose user records, credentials or PII. Handle and store them like the sensitive database they are.

Детали формата

в двух словах
ПОЛНОЕ НАЗВАНИЕMySQL InnoDB Tablespaceтакже известен как InnoDB file-per-table tablespace, MySQL InnoDB data file
РАЗРАБОТЧИКOracle Corporation (InnoDB; originally Innobase Oy)с 2005-2008 (file-per-table via innodb_file_per_table; default since MySQL 5.6, 2013)
MIME-ТИПapplication/octet-stream
ТИПBinary tablespace organized in 16 KB pages
СВЯЗАННЫЕ.db.dbf.accdb.sql

Программы, открывающие файлы IBD

Windows3 apps
MySQL Workbench Бесплатно GUI client - connect it to a running MySQL server that has the table loaded, then browse/export. It cannot read a raw .ibd file on its own.
MySQL Server Бесплатно The only proper 'opener': place the .ibd in a matching database under the server's data dir (or use IMPORT TABLESPACE), start mysqld, then query/export the table. Needs the right server version and system files.
MariaDB Server Открытый код Drop-in MySQL fork with InnoDB; can host and import compatible .ibd tablespaces and export the data. Version compatibility still matters.
macOS1 app
MySQL Server / MariaDB Бесплатно Same approach as Windows - run a local MySQL or MariaDB server, attach the tablespace, and query/export. No standalone .ibd viewer exists for macOS.
Linux2 apps
MySQL Server / MariaDB / Percona Server Бесплатно Install the server (matching the source version), place the table in the data dir or IMPORT TABLESPACE, then mysqldump the data out. The standard server-side route.
undrop-for-innodb (recovery toolkit) Открытый код Last-resort forensic recovery: parses raw InnoDB pages from an .ibd to extract rows when no working server is available. Expert tool, not a casual viewer.

Технические подробности

глубокая спецификация
Default page size16 KB; configurable at tablespace creation to 4 KB, 8 KB, 32 KB, or 64 KB via innodb_page_size
Byte orderBig-endian - all multi-byte integers are stored in big-endian order on disk
File format variantAntelope (REDUNDANT/COMPACT row formats, MySQL ≤5.7) or Barracuda (DYNAMIC/COMPRESSED, MySQL 5.7+)
Page header/trailerEach page carries a 38-byte FIL header and an 8-byte FIL trailer enclosing the page body
File signatureNo fixed magic bytes; first page is FSP_HDR (type 0x0008 at bytes 24-25 of the FIL header)
Per-page checksumCRC32 by default (since MySQL 5.6); also supports InnoDB legacy or none - value stored in FIL header and trailer
Index structureB+ tree clustered on the primary key; secondary indexes store primary-key references rather than direct row pointers
Extent size1 MB (64 consecutive 16 KB pages); the tablespace grows one extent at a time
EncryptionAES-256 InnoDB transparent data encryption (TDE) with per-page key wrapping; introduced in MySQL 5.7 and MariaDB 10.1
CompressionROW_FORMAT=COMPRESSED uses zlib at the page level (Barracuda format); transparent page compression uses filesystem hole-punching
Overflow storageColumn values exceeding the in-page threshold spill to dedicated off-page BLOB/overflow pages within the same tablespace
Schema storageMySQL 8.0+ embeds SDI (Serialized Dictionary Information) in the tablespace; MySQL 5.7 and earlier store schema in a separate .frm file
Supported row formatsREDUNDANT, COMPACT (Antelope); DYNAMIC (default since MySQL 5.7), COMPRESSED (Barracuda)
Torn-page protectionDoublewrite buffer writes each 16 KB page to a dedicated area before the final tablespace location, guarding against partial writes
MIME typeapplication/octet-stream (no format-specific MIME type registered)
DeveloperOracle Corporation (InnoDB engine; originally Innobase Oy, acquired by Oracle in 2005)
Выпущен2005-2008 (file-per-table via innodb_file_per_table; default since MySQL 5.6, 2013)
Последняя версияInnoDB in MySQL 8.0 / 8.4 (data dictionary moved into the tablespace; .frm removed)
Спецификацияdev.mysql.com

Конвертации IBD

Вопросы и ответы сообщества

спрошено пользователями
Задать быстрый вопрос
Получите помощь от людей, работающих с файлами IBD. Будьте конкретны - укажите вашу систему и версию ПО.
Аккаунт не нужен · ответы обычно в течение дня

Вопросов пока нет - станьте первым, кто спросит о файлах IBD.

Часто задаваемые вопросы

What is an IBD file?
It is a MySQL/MariaDB InnoDB 'file-per-table' tablespace - the binary file holding one database table's rows and indexes. It is part of a database, not a standalone document.
How do I open or view an IBD file?
There is no standalone viewer. Load it into a matching MySQL/MariaDB server (it also needs the system tablespace and redo logs, and on 5.7 the .frm schema), then query or export the table. Tools claiming to open a raw .ibd are recovery utilities.
How do I get the data out of an IBD file?
Attach the table to a MySQL server (via the data directory or IMPORT TABLESPACE), then export with mysqldump to a .sql file, or SELECT ... INTO OUTFILE to CSV. For a dead server, use transportable tablespaces or undrop-for-innodb.
Can I just copy an .ibd to another server?
Not by simple copy. Use 'FLUSH TABLES ... FOR EXPORT' (which makes a .cfg), copy the .ibd + .cfg, create a matching empty table on the target, then 'ALTER TABLE ... IMPORT TABLESPACE'. Versions and table definitions must match.
Where is the table's schema if MySQL 8.0 has no .frm?
MySQL 8.0 embeds the schema inside the .ibd as Serialized Dictionary Information (SDI). Run 'ibd2sdi table.ibd' to extract the table definition as JSON. MySQL 5.7 and earlier keep the schema in a separate .frm file.
Can I delete .ibd files to free space?
Not directly from the filesystem - that corrupts InnoDB's data dictionary. To remove a table's data, DROP TABLE (or TRUNCATE) from within MySQL, which deletes the .ibd safely. Only delete files manually when the server is down and you know the table is gone.
My MySQL won't start because of an .ibd - what do I do?
Common causes are a missing/mismatched .ibd, a version mismatch, or corruption. Recovery options include innodb_force_recovery to start read-only and dump the data, restoring from backup, or last-resort tools like undrop-for-innodb. Always work on a copy.

Ссылки

1MySQL Reference Manual - File-Per-Table Tablespacesdev.mysql.com
2MySQL Reference Manual - Copying Tablespaces to Another Instance (transportable)dev.mysql.com

Узнать больше

по всей базе данных

Популярные расширения на этой неделе

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.DATProgram Data File (generic)
5.EXEWindows Executable (Portable Executable)
6.BINCD/DVD Disc Image (BIN/CUE)
7.NOMEDIAAndroid No-Media Marker File
8.TMPTemporary File
9.MDMarkdown Document
10.RPMSGRestricted Permission Message

Похожие расширения

.DBSQLite Database File
.DBFDatabase File (dBASE / xBase table)
.ACCDBMicrosoft Access Database (2007+)
.SQLSQL Script (Structured Query Language source / database dump)
.MDBMicrosoft Access Database (97-2003, Jet engine)
.FDBFirebird Database

Бесплатные инструменты для файлов

Идентификатор файлов и конвертер изображений в браузере - все работает на вашем устройстве.

Открыть инструменты

Обзор расширений файлов A-Z