A.Mysqlaccess
B.Mysqldump
C.Mysqlshow
D.Mysqlslow
E.Mysqldumpslow
第1题:
A.query.setParameter(“username”,”bluedavy”);
B.query.setParameter(“yearold”,”25”);
C.query.setParameter(“0”,”bluedavy”);
D.query.setParameter(“1”,”25”);
第2题:
A.错误
B.正确
第3题:
如何修改MySQL慢查询的时间阈值
A.修改全局变量long_query_time的值
B.修改mysql启动配置文件[mysqld]项里的long_query_time的值
C.修改全局变量long_query_io
D.修改全局变量innodb_lock_wait_timeout
第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=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
第5题:
PHP中,选定某个数据库的函数名是____。
A.mysql_connect_db
B.mysql_select_db
C.mysql_query_db
D.mysql_pconnect_db
第6题:
排查问题需要,想查看所有MySQL Server的SQL语句,可以如何操作?
A.配置slow_query_log=1并设置log_query_time=0
B.配置general_log=1
C.配置log_output=1
D.配置log_bin=1