Lecture 14: Advanced topic: DBMS Forensics Flashcards
1
Q
Name the log files at two different level
A
MySQL server level, five log files:
- Error, binary, general query (connect and disconnect, statement information), slow query (text of statements), relay
Storage engine logs:
- undo and redo log
2
Q
Explain the InnoDB log files
A
Undo log
* Rollback transactions
Redo log
* Crash recovery
3
Q
Name three types of MySQL Cache
A
- Manual cache tables
- Internal cache (query cache)
- Distributed cache
4
Q
What can be derived from query cache analysis:
A
- Recent accessed database
- Misuse DBMS server
- Reconstruct history of SQL execution
5
Q
Challenges of query cache analysis
A
- Only SELECT statement
- Frequently updating table
- Hash values
- Case sensitive: ‘select’ vs. ‘SELECT’
- SQL_NO_CACHE
6
Q
Name other MySQL Caches
A
- Record cache
- Table cache
- Hostname cache
- Heap table cache