New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Oracle MySQL 8.0 Database Administrator 1z0-908 Question # 41 Topic 5 Discussion

Oracle MySQL 8.0 Database Administrator 1z0-908 Question # 41 Topic 5 Discussion

1z0-908 Exam Topic 5 Question 41 Discussion:
Question #: 41
Topic #: 5

t is a non-empty InnoDB table.

Examine these statements, which are executed in one session:

BEGIN;

SELECT * FROM t FOR UPDATE;

Which is true?


A.

If OPTIMIZE TABLE; is invoked, it will create a table lock on t and force a transaction rollback.


B.

If OPTIMIZE LOCAL TABLE t; is invoked from another session, it executes normally and returns the status.


C.

mysqlcheck --analyze --all-databases will execute normally on all tables and return a report.


D.

If ANALYZE TABLE; is invoked from the same session, it hangs until the transaction is committed or rolled back.


Get Premium 1z0-908 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.