多选题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?()AUse the command PURGE BINARY LOGS and specify a binary log f

题目
多选题
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?()
A

Use the command PURGE BINARY LOGS and specify a binary log file name or a date and time to remove unused files

B

Execute the PURGE BINARY LOGE NOT USED command

C

Remove all of the binary log files that have a modification date earlier than today

D

Edit the .index file to remove the files you want to delete

E

Ensure that none of the attached slaves are using any of the binary logs you want to delete

参考答案和解析
正确答案: B,C
解析: 暂无解析
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

A user executes the statement;PURGE BINARY LOGS TO ‘mysql-bin.010‘;What is the result?()

A.It deletes all binary log files, except ‘mysql-in.010‘

B.It deletes all binary log files up to and including ‘mysql-bin.010‘

C.It deletes all binary log files before ‘mysql-bin.010‘

D.It deletes all binary log files after ‘mysql-bin.010‘


参考答案:C

第2题:

Which two are correct steps in taking a binary backup of MyISAM tables?()

A.Always stop the server prior to the backup

B.Stop the server or lock the tables prior to the backup

C.Stop the server or lock the databases prior to the backup

D.Make a copy of the .frm, .myd, and the .myi files

E.Make a copy of the binary log and tablespace files


参考答案:B, D

第3题:

You issued the following commands to configure setting in RMAN;Then you issued the following command to take the backup:RMAN> BACKUP DATABASE PLUS ARCHIVELOG;Which statement is true about the execution of the above command?()

A. The backup will terminate because the FORMAT clause was not configured for the channel

B. It backs up two copies of data files to tape and disk, and two copies of archived log file on tape

C. It backs up the data files and archived log files to disk, making two copies of each data file and archived log file

D. It backs up the data files and archived log files to tape, making two copies of each data file and archived log file


参考答案:D

第4题:

A general purpose MySQL instance is configured with the following options: —log-slow-queries —long-query-time=,0001 —log-slow-admin-queries —general-log —log-bin —binlog-format=STATEMENT —innodb-flush-log-at-trx-commit=1 Which three statements are true()。

  • A、The General Query Log records more data than the Binary Log
  • B、The binary Log records more data than the General Query Log
  • C、The Slow Query Log records more data than the General Query Log
  • D、The General Query Log records more data than the Slow Query Log
  • E、The Slow Query Log records more data than the Binary Log
  • F、The Binary Log records more data than the Slow Query Log

正确答案:A,D,E

第5题:

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?()

A.Use the command PURGE BINARY LOGS and specify a binary log file name or a date and time to remove unused files

B.Execute the PURGE BINARY LOGE NOT USED command

C.Remove all of the binary log files that have a modification date earlier than today

D.Edit the .index file to remove the files you want to delete

E.Ensure that none of the attached slaves are using any of the binary logs you want to delete


参考答案:A, E

第6题:

A general purpose MySQL instance is configured with the following options:—log-slow-queries—long-query-time=,0001—log-slow-admin-queries—general-log—log-bin—binlog-format=STATEMENT—innodb-flush-log-at-trx-commit=1Which three statements are true()。

A.The General Query Log records more data than the Binary Log

B.The binary Log records more data than the General Query Log

C.The Slow Query Log records more data than the General Query Log

D.The General Query Log records more data than the Slow Query Log

E.The Slow Query Log records more data than the Binary Log

F.The Binary Log records more data than the Slow Query Log


参考答案:A, D, E

第7题:

Which statement is true about FLUSH LOGS command?()

A.It requires the RELOAD, FILE, and DROP privileges

B.It closes and reopens all log files

C.It closes and sends binary log files to slave servers

D.It flushes dirty pages in the buffer pool to the REDO logs


参考答案:B

第8题:

You need to dump the data from the master server and import it into a new slave server.Which mysqldump option can be used when dumping data from the master server in order to include the master server‘s binary log information?()

A.Include-master-info

B.Master-binlog

C.Include-log-file

D.Master-data


参考答案:D

第9题:

Which two are correct steps in taking a binary backup of MyISAM tables?()

  • A、Always stop the server prior to the backup
  • B、Stop the server or lock the tables prior to the backup
  • C、Stop the server or lock the databases prior to the backup
  • D、Make a copy of the .frm, .myd, and the .myi files
  • E、Make a copy of the binary log and tablespace files

正确答案:B,D

第10题:

A user executes the statement; PURGE BINARY LOGS TO 'mysql-bin.010'; What is the result?()

  • A、It deletes all binary log files, except 'mysql-in.010'
  • B、It deletes all binary log files up to and including 'mysql-bin.010'
  • C、It deletes all binary log files before 'mysql-bin.010'
  • D、It deletes all binary log files after 'mysql-bin.010'

正确答案:C

更多相关问题