MySQL Optimization
- Installing more memory into the machine enables to configure larger values for cache server.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
Installing more memory into the machine enables to configure larger values for the cache server and buffer sizes. This enables it to keep data in memory for longer duration.
- Accessing data from which of these is faster?
memory, disk
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
In MySQL, the administrators have more privileges since they have more control of the MySQL server or the machine on which it runs. Accessing data in memory is faster than from disk.
- Which system variable controls the size of the table cache?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
In MySQL, when the server opens table files it keeps them open to minimize the number of file-opening operations. It maintains information about open files in the table cache.
- Which status indicator assesses how effective the table cache is?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
When the server accesses various tables, the table cache fills up. The server closes the tables that have not been used recently in order to make room for opening the new tables.
- In MySQL, the default size of the key buffer in MB is _________________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
The larger values allow MySQL to hold more index blocks in memory at once. This increases the chances of finding key values in memory without having to read a new block from disk.