Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle Exam 1Z0-888 Topic 7 Question 28 Discussion

Actual exam question for Oracle's 1Z0-888 exam
Question #: 28
Topic #: 7
[All 1Z0-888 Questions]

You are using replication and the binary log files on your master server consume a lot of disk space.

Which two steps should you perform to safely remove some of the older binary log files? (Choose two.)

Show Suggested Answer Hide Answer
Suggested Answer: C, E

A: To safely purge binary log files, follow this procedure:

1. On each slave server, use SHOW SLAVE STATUS to check which log file it is reading.

2. Obtain a listing of the binary log files on the master server with SHOW BINARY LOGS.

3. Determine the earliest log file among all the slaves. This is the target file. If all the slaves are up to date, this is the last log file on the list.

4. Make a backup of all the log files you are about to delete. (This step is optional, but always advisable.)

5. Purge all log files up to but not including the target file.

Syntax:

PURGE { BINARY | MASTER } LOGS

{ TO 'log_name' | BEFORE datetime_expr }


Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77