exam questions

Exam 1z0-908 All Questions

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

Exam 1z0-908 topic 1 question 5 discussion

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

Which statement is true about InnoDB persistent index statistics?

  • A. Updating index statistics is an I/O expensive operation.
  • B. Index statistics are calculated from pages buffered in the buffer pool for tables with InnoDB storage engine.
  • C. Setting innodb_stats_auto_recalc=ON causes statistics to be updated automatically when a new index is created.
  • D. Execution plans based on transient index statistics improve precision when innodb_stats_persistent_sample_pages is increased.
  • E. Increasing innodb_stats_persistent_sample_pages determines higher pages scanning speed, at the cost of increased memory usage.
  • F. Tables are scanned and index statistics recalculated when an instance is restarted.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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: A
A. Updating index statistics is an I/O expensive operation. When InnoDB updates index statistics, it requires scanning the data pages on disk to calculate the statistics, which can be I/O-intensive, particularly if the table is large. The more pages InnoDB has to scan, the more expensive the operation becomes.
upvoted 1 times
...
7206e44
6 months ago
Selected Answer: A
A. Correct D. it has to be innodb_stats_transient_sample_pages for this to be correct
upvoted 1 times
...
jackymak
11 months, 2 weeks ago
Selected Answer: D
D https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_stats_persistent_sample_pages The number of index pages to sample when estimating cardinality and other statistics for an indexed column, such as those calculated by ANALYZE TABLE. [Increasing the value improves the accuracy of index statistics, which can improve the query execution plan], at the expense of increased I/O during the execution of ANALYZE TABLE for an InnoDB table. Not C https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_stats_auto_recalc This setting applies to tables created when the innodb_stats_persistent option is enabled.
upvoted 1 times
...
Zehir
1 year, 2 months ago
Selected Answer: A
A. C is not correct because it mentions: "The innodb_stats_auto_recalc variable, which is enabled by default, controls whether statistics are calculated automatically when a table undergoes changes to more than 10% of its rows, not when new indexes are created.
upvoted 1 times
...
boyjhantan
1 year, 3 months ago
C is Correct https://dev.mysql.com/doc/refman/8.0/en/innodb-performance-optimizer-statistics.html
upvoted 1 times
...
boyjhantan
1 year, 3 months ago
C is correct
upvoted 1 times
...
nkanike1
1 year, 3 months ago
D is correct according to me.
upvoted 1 times
...
marklv
1 year, 3 months ago
D is not about persistent indexed. E might be the answer but not sure
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