当前位置:百科知识 > 知到宏观经济学答案

问题描述:

[单选] Which query would you use to find connections that are in the same state for longer than 180 seconds?您将使用哪个查询来查找处于相同状态超过180秒的连接?()
A.SHOW FULL PROCESSLIST WHERE Time > 180; B.SELECT * FROM INFORMATION_SCHEMA.EVENTS SHERE STARTS < (DATE_SUB (NOW ( ),INTERVAL 180 SECOND) ); C.SELECT * FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE STATE < (DATE_SUB (NOW( ),INTERVAL 180 SECOND) ); D.SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST WHERE TIME > 180;
参考答案:查看
答案解析:
☆收藏
上一篇:A database exists as a read-intensive server that is operating with query_cache_type = DEMAND.The database is refreshed periodically, but the resultset size of the queries does not fluctuate.Note the following details about this environment( )数据库作为一个读密集型服务器存在,该服务器使用query_cache_type=DEMAND。需求数据库会定期刷新,但查询的resultset大小不会波动。注意有关此环境的以下详细信息( )-A web application uses a limited set of queries.web应用程序使用有限的查询集。-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 databaselevel?查询的响应时间最近开始增加。其原因已被正确地确定为访问web的并发用户数量的增加基于服务仅根据所提供的信息,在数据库级别上最有可能导致这种减速的原因是什么? 下一篇:mysqldump was used to create a single schema backup;mysqldump用于创建单个模式备份;Shell> mysqldump –u root –p sakila > sakila2013.sqlWhich two commands will restore the sakila database without interfering with other runningdatabase?哪两个命令将恢复sakila数据库而不干扰其他运行数据库?

随机题目