首页/ 题库 / [单选题]A simple master-to-s的答案

A simple master-to-slave replication is currently being used. The following information is extracted from the SHOW SLAVE STATUS output: Last_SQL_Error: Error 'Duplicate entry '8' for key 'PRIMARY' ' on query. Default database: 'mydb'. Query: 'insert into mytable VALUES ('8' , 'George') ' Skip_Counter: 0 Retrieved _Gtid_Set: 38f32e23480a7-32a1-c323f78067fd37821: 1-8 Auto _Position: 1 You execute a "SHOW CREATE TABLE mytable" on the slave: CREATE TABLE 'mytable' ( 'ID' int(11) NOT NULL DEFAULT '0', 'name' char(10) DEFAULT NULL, PRIMARY KEY ('ID') ) The table mytable on the slave contains the following: You have issued a STOP SLAVE command. One or more statements are required before you can issue a START SLAVE command to resolve the duplicate key error. Which statement should be used?()

单选题
2022-10-08 14:32
A、SET GTID_NEXT=CONSISTENCY; BEGIN; COMMIT; SET GTID_NEXT=AUTOMATIC
B、SET GLOBAL enforce_gtid_consistency=ON
C、SET GTID_EXECUTED=38f32e23480a7-32a1-c323f78067fd37821 : 9
D、SET GTID_NEXT=38f32e23480a7-32a1-c323f78067fd37821 : 9; BEGIN; COMMIT; SET GTID_NEXT=AUTOMATIC
E、SET GLOBAL SQL_SKIP_SLAVE_COUNTER=1
查看答案

正确答案
E

试题解析

标签: CMS专题
相关题目
It is a/an ______ to a genius to ask him such a simple question.
设a=2,b=3,c=4,d=5,下列表达式的值是( )。not a<=c or 4*c=b^2 and b<>a+c
____in a poor family, she is used to a simple life
A direct current passing through a wire coiled around a soft iron core is the description of a simple().
An advantage of a helical gear pump over a simple gear pump is that the helical gear pump is capable of ().
设a=5,b=4,c=3,d=2,则表达式3>2*b Or a=c And b<>c Or c>d的值是
设a=5,b=4,c=3,d=2,则表达式3>2*b Or a=c And b<>c Or c>d的值是
设a=“a”,b=“b”,c=“c”,d=“d”,执行语句x=Ilf((a<b)Or(c>d),“A”,“B”)后,x的值为
设a="a",b="b",c="c",d="d",执行语句x=IIf((a<B)Or(c>D),"A","B")后,x的值为
设a="a",b="b",c="c",d="d",执行语句x=IIF((a<B)Or(c>D),"A","B") 后,x的值为
设a="a",b="b",c="c",d="d",执行语句x=IIF((a<b)Or(c>d),"A","B")后, x的值为
A quite simple method of improving a berth’s capacity is().
设a=2,b=3,c=4,表达式a>b And (c>=b Or 3*a>c)值是( )
设a=3,b=10,c=6,以下表达式的值是 a < b And (Not b>C)Or c<a
假设A=3,B=7,C=2,则表达式:(A>B)OR(B>C)的值是()
设a=2,b=3,c=4,d=5,表达式3>2*b or a=c and b<>c or c>d的值是( )
设a=5,b=4,c=3,d=2,则表达式3>2术b Or a=c And b<>c Or c>d的值是
设a=5,b=4,c=3,d=2,下列表达式的值是 3>2*b Or a=c And b<>C Or c>d
设a=5,b=4,c=3,d=2,则表达式3>2*b Or a=c And b<>c Or c>d的值是
设a=5,b=4,c=3,d=2,下列表达式的值是( )。 3>2*b Or a=c And b<>c Or c>d
广告位招租WX:84302438

免费的网站请分享给朋友吧