惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园_首页
Spread Privacy
Spread Privacy
D
Docker
Stack Overflow Blog
Stack Overflow Blog
Google DeepMind News
Google DeepMind News
F
Fortinet All Blogs
F
Full Disclosure
美团技术团队
Y
Y Combinator Blog
N
Netflix TechBlog - Medium
Security Latest
Security Latest
C
Check Point Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
罗磊的独立博客
A
Arctic Wolf
S
Schneier on Security
T
Threatpost
C
CERT Recently Published Vulnerability Notes
L
LangChain Blog
博客园 - 叶小钗
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
博客园 - 聂微东
T
The Exploit Database - CXSecurity.com
W
WeLiveSecurity
Engineering at Meta
Engineering at Meta
C
Cybersecurity and Infrastructure Security Agency CISA
GbyAI
GbyAI
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
H
Heimdal Security Blog
L
LINUX DO - 热门话题
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
O
OpenAI News
G
GRAHAM CLULEY
M
MIT News - Artificial intelligence
S
Security @ Cisco Blogs
博客园 - 司徒正美
N
News and Events Feed by Topic
Microsoft Azure Blog
Microsoft Azure Blog
Cisco Talos Blog
Cisco Talos Blog
P
Palo Alto Networks Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Schneier on Security
Schneier on Security
D
Darknet – Hacking Tools, Hacker News & Cyber Security
月光博客
月光博客
The Last Watchdog
The Last Watchdog
Apple Machine Learning Research
Apple Machine Learning Research
Microsoft Security Blog
Microsoft Security Blog
C
Cisco Blogs
雷峰网
雷峰网

MySQL Forums

Assistance with MySql application and Sql server MySQL :: MySQL Community Governance Model Announcing June 2026 Releases featuring MySQL Server 9.7.1 and 8.4.10 GoHighLevel Webhook Data in MySQL I&#039;m troubleshooting MySQL query performance (no replies) Problem with creating a connection to a remote database on local network Best MySQL schema for storing image processing jobs? APT Repository not working on Ubuntu 26.04 How do you create a remote connection to a database (no replies) MySQL :: storing and reading blob ODBC Connector almost always alters it's name and path MySQL :: Connector/Windows MySQL :: Clientless connection with PS MySQL :: Database wont start Mysql community edition upgrade from 8.0.36 to 8.4 (LTS) (1 reply) Optimizing InnoDB for high-concurrency REST API traffic MySQL :: MySQL Replication issue MySQL :: QUESTION ABOUT FOREIGN KEY : connect --ssl-mode:REQURED< : MYSQL_OPT_SSL_MODE MySQL Workbench Closes when connecting database Optimizing InnoDB for high-frequency concurrent API status updates? MySQL :: Asking for a password Who designed this all but useless tool? MySQL :: MySQL Workbench Announcing April 2026 Releases featuring MySQL Server 9.7.0, 8.4.9 and 8.0.46 MySQL community repo missing package tar.gz package for Debian 13 MySQL Workbench for Ubuntu 26.04 What are the three arguments expected by this script (build_deps.sh)? MySQL :: NO_PUBKEY 9D769D5183E7DDC8 Two tables with bidirectional relationships MySQL :: MYSQL 8.4.8 CE - Group Replication MySQL 9.7.0 EA now available How can I implement MySQL connection pooling in a Python Flask or Django application? (1 reply) Tips for Optimizing MySQL Queries for Beginners MySQL :: AWS Ubuntu / MariaDB MySQL :: Alter table variable value Workbench running as background task after start, connect, exit (no replies) MacBook compatbility? (no replies) Announcing January 2026 Releases featuring MySQL Server 9.6.0 Innovation, 8.4.8 LTS and 8.0.45 Announcing October 2025 Releases featuring MySQL Server 9.5.0 Innovation, 8.4.7 LTS and 8.0.44 Announcing July 2025 Releases featuring MySQL Server 9.4.0 Innovation, 8.4.6 LTS and 8.0.43 Announcing April 2025 Releases featuring MySQL Server 9.3.0 Innovation, 8.4.5 LTS and 8.0.42 Announcing January 2025 Releases featuring MySQL Server 9.2.0 Innovation, 8.4.4 LTS and 8.0.41 MySQL Shell for VS Code 1.17.1 has been released Announcing October 2024 Releases featuring MySQL Server 9.1.0 Innovation, 8.4.3 LTS and 8.0.40 Announcing July 2024 off-cycle Releases featuring MySQL Server 9.0.1 Innovation, 8.4.2 LTS and 8.0.39 Announcing July 2024 Releases featuring MySQL Server 9.0.0 Innovation, 8.4.1 LTS and 8.0.38 Announcing April 2024 Releases featuring MySQL 8.4.0 and 8.0.37 Announcing a new webcast video that completes a deep dive into how to download and use Enterprise Manager for MySQL Announcing January 2024 Releases featuring MySQL 8.3.0 and 8.0.36 Announcing October 2023 Releases featuring MySQL 8.2.0 and 8.0.35 Announcing July 2023 Releases featuring MySQL 8.1.0 and 8.0.34 Announcing April 2023 Releases featuring MySQL 8.0.33 Announcing January 2023 Releases featuring MySQL 8.0.32 Announcing October 2022 Releases featuring MySQL 8.0.31 Announcing July 2022 Releases featuring MySQL 8.0.30 : MySQL 8.0.29: Release Notes MySQL Workbench 8.0.24 has been released MySQL Cluster 8.0.24 has been released MySQL Connector/J 8.0.24 has been released MySQL Shell 8.0.24 for MySQL Server 8.0 and 5.7 has been released MySQL Connector/NET 8.0.24 has been released MySQL Connector/Node.js 8.0.24 has been released MySQL Connector/C++ 8.0.24 has been released MySQL Connector/ODBC 8.0.24 has been released MySQL Router 8.0.24 for MySQL Server 8.0 and 5.7 has been released
What could cause .frm and .ibd mismatches across multiple tables?
maria b · 2026-06-04 · via MySQL Forums

Hello,

We recently encountered a very strange issue on a production MySQL/MariaDB server and I'm trying to understand what could have caused it.

We have a Laravel application. A few days ago we noticed that a table seemed to be missing. After selecting the database and running:

SHOW TABLES;

the table did not appear in the list.

However, we were still able to query it:

SELECT * FROM table_name;

and the query returned data successfully.

At that point we executed:

FLUSH TABLES;

After that, the SELECT statement stopped working.

We then inspected the database directory under:

/var/lib/mysql/<database_name>/

and discovered that this was not limited to a single table. A significant number of tables were in an inconsistent state:

* Some tables had both .frm and .ibd files.
* Some tables had only a .frm file.
* Some tables had only a .ibd file.

We attempted to restore the database from the previous day's backup, but to our surprise the same inconsistencies were already present there. My understanding is that mysqldump only exports tables that MySQL can see through its metadata, so tables that only had orphaned .ibd files would not have been included in the dump ¿?

Eventually we had to restore from a backup that was about 5 days old, where all expected tables and files were present and consistent.

My questions are:

1. What kinds of events can lead to this type of inconsistency between .frm and .ibd files? - (the disk storage wasn't full)

2. Do people typically implement checks in production to detect mismatches between .frm and .ibd files before backups are taken? Cuz we always assumed that a successful mysqldump was enough

Additional environment information:

Operating System: Debian 12

Database Server: MariaDB 10.11.14

Version output:
mariadb Ver 15.1 Distrib 10.11.14-MariaDB, for debian-linux-gnu (x86_64)

innodb_file_per_table is enabled:
SHOW VARIABLES LIKE 'innodb_file_per_table';

Result:
+-----------------------+-------+
| Variable_name | Value |
+-----------------------+-------+
| innodb_file_per_table | ON |
+-----------------------+-------+

Version details:
SHOW VARIABLES LIKE 'version%';

Result:

version = 10.11.14-MariaDB-0+deb12u2-log
version_comment = Debian 12
version_compile_machine = x86_64
version_compile_os = debian-linux-gnu

Any ideas or similar experiences would be greatly appreciated!!