The metadata log is . . . . . . . .
A. error log
B. ddl log
C. binary log
D. relay log
Answer: Option B
Solution(By Examveda Team)
This question is about different types of logs in MySQL. Think of logs as a record of what happens in your database.Metadata refers to information about data, like the structure of your tables. So, the metadata log tracks changes to this structure.
Let's look at the options:
Option A: error log - This log stores errors that occur in MySQL. It's not related to metadata changes.
Option B: ddl log - DDL stands for Data Definition Language. It's used to create, modify, or delete tables. So, the DDL log would track changes to your database structure, which is exactly what the metadata log does!
Option C: binary log - This log records all changes made to the database. It includes DDL operations but also records data changes (inserts, updates, deletes).
Option D: relay log - This log is used in replication. It's a temporary log that's used to pass changes from the master server to the slave server.
Therefore, the best answer is Option B: ddl log. The metadata log is essentially the same as the DDL log - it records changes to the database structure.
Join The Discussion