exam questions

Exam 1z0-908 All Questions

View all questions & answers for the 1z0-908 exam

Exam 1z0-908 topic 1 question 4 discussion

Actual exam question from Oracle's 1z0-908
Question #: 4
Topic #: 1
[All 1z0-908 Questions]

The data in this instance is transient; no backup or replication will be required. It is currently under performing.
The database size is static and including indexes is 19G.
Total system memory is 32G.
After profiling the system, you highlight these MySQL status and global variables:

The OS metrics indicate that disk is a bottleneck.
Other variables retain their default values.
Which three changes will provide the most benefit to the instance? (Choose three.)

  • A. innodb_flush_log_at_trx_commit=1
  • B. buffer_pool_size=24G
  • C. innodb_log_file_size=1G
  • D. sync_binlog=0
  • E. innodb_doublewrite=0
  • F. max_connections=10000
  • G. innodb_undo_directory=/dev/shm
Show Suggested Answer Hide Answer
Suggested Answer: ACF 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
abpg
2 months ago
Selected Answer: BEG
B, E, G
upvoted 1 times
...
FelipeK
1 year, 2 months ago
Selected Answer: DEG
D. sync_binlog=0: This disables the synchronizing of the binary log to disk after every commit. This can reduce disk I/O, but it comes with a risk of losing transactions in case of a crash. Since your data is transient, this might be an acceptable risk. E. innodb_doublewrite=0: Disabling innodb_doublewrite can reduce disk I/O, but it comes with a risk of data corruption in the event of a crash. Since your data is transient and doesn’t require backup or replication, this might be an acceptable risk. G. innodb_undo_directory=/dev/shm: Moving the innodb_undo_directory to a memory-based filesystem like /dev/shm can reduce disk I/O and improve performance. However, this comes with a risk of running out of space for undo logs if the system has a high rate of updates/deletes/inserts.
upvoted 1 times
alemdba
1 year, 2 months ago
why D? it log_bin has algredy disabled
upvoted 2 times
...
...
nkanike1
1 year, 3 months ago
Agree DEG is correct
upvoted 1 times
alemdba
1 year, 2 months ago
why D? it log_bin has algredy disabled
upvoted 1 times
...
...
marklv
1 year, 3 months ago
DEG buffer pool is already larger than data trx makes things worse log file doesn't necessarily make things better
upvoted 1 times
marklv
1 year, 3 months ago
connections also doesn't do anything
upvoted 1 times
LrnsTgh
12 months ago
this question is the same with number 125. should be CEG.
upvoted 2 times
jackymak
11 months, 2 weeks ago
Agree. bin-log is disabled, D is wrong.
upvoted 1 times
...
...
...
alemdba
1 year, 2 months ago
why D? it log_bin has algredy disabled
upvoted 1 times
...
...
FelipeK
1 year, 4 months ago
Selected Answer: BEG
B. buffer_pool_size=24G: Increasing the buffer pool size to 24G can help reduce disk I/O by keeping more data in memory. This can improve performance, especially if disk is a bottleneck. E. innodb_doublewrite=0: Disabling the doublewrite buffer can reduce disk I/O and improve performance. However, this comes at the cost of increased risk of data corruption in the event of a crash. G. innodb_undo_directory=/dev/shm: Setting the undo directory to /dev/shm can improve performance by storing undo logs in memory instead of on disk.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago