Which query would you use to find connections that are in the same state for longer than 180 seconds?
A database exists as a read-intensive server that is operating with query_cachek_type = DEMAND.The database is refreshed periodically, but the resultset size of the queries does not fluctuate.Note the following details about this environment:✑ A web application uses a limited set of queries.✑ The Query Cache hit rate is high.✑ All resultsets fit into the Query Cache.✑ All queries are configured to use the Query Cache successfully.The response times for queries have recently started to increase. The cause for this has correctly been identified as the increase in the number of concurrent users accessing the web service.Based solely on the information provided, what is the most likely cause for this slowdown at the database level?
You have a login-path named "adamlocal" that was created by using the mysql_config_editor command.You need to check what is defined for this login_path to ensure that it is correct for you deployment.You execute this command:$ mysql_config_editor print login-path=adamlocalWhat is the expected output of this command?
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?
Which two statements are true about InnoDB auto-increment locking?
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-8Auto _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?