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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Explain the InnoDB log files

A

Undo log
* Rollback transactions

Redo log
* Crash recovery

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Name three types of MySQL Cache

A
  • Manual cache tables
  • Internal cache (query cache)
  • Distributed cache
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What can be derived from query cache analysis:

A
  • Recent accessed database
  • Misuse DBMS server
  • Reconstruct history of SQL execution
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Challenges of query cache analysis

A
  • Only SELECT statement
  • Frequently updating table
  • Hash values
  • Case sensitive: ‘select’ vs. ‘SELECT’
  • SQL_NO_CACHE
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Name other MySQL Caches

A
  • Record cache
  • Table cache
  • Hostname cache
  • Heap table cache
How well did you know this?
1
Not at all
2
3
4
5
Perfectly