1.基本效果 匹配元素从左上角开始变浓变大或缩小到左上角变淡变小 ①隐藏元素 除了可以设置匹配元素的display:none外,可以用以下函数 hide(speed,[callback]) 返回值:jQuery 参数-speed:三种预订速度之一的字符串String(slow,normal,fast ...
分类:
Web程序 时间:
2016-09-16 22:54:15
阅读次数:
639
如何开启慢查询日志? 在mysql配置文件my.cnf中增加 log-slow-queries=/var/lib/mysql/slowquery.log (指定日志文件存放位置,可以为空,系统会给一个缺省的文件host_name-slow.log)long_query_time=2 (记录超过的时间 ...
分类:
数据库 时间:
2016-09-15 10:58:06
阅读次数:
315
1、show global variables like 'wait_timeout' 2、show VARIABLES like "%slow%" 3、set global long_query_time = 0.01 4、set global slow_query_log = ON 5、tmp_ ...
分类:
数据库 时间:
2016-09-08 19:57:55
阅读次数:
185
MySQL日志管理错误日志服务器启动和关闭过程中的信息服务器运行过程中的错误信息事件调度器运行一个事件时产生的信息在从服务器上启动从服务器进程时产生的信息log_errorlog_warnings一般查询日志:general_loggeneral_log_fileloglog_output慢查询日志long_query_timelog_slow..
分类:
数据库 时间:
2016-09-07 11:14:41
阅读次数:
326
即时分析:showfullpercesslist;开启慢查询日志,分析日志记录:long_query_time=1log-slow-queries=/data/3306/slow.loglog_queries_not_using_indexes分割日志发送至邮箱加explain查看语句的具体执行方式,并定位在哪些字段加上索引,查看条件字段的唯一值selectcount(disti..
分类:
数据库 时间:
2016-08-31 12:23:38
阅读次数:
751
1、精准简单的选择对象(dom): 2、对象函数的应用简单和不限制: element.function(par); $(”p.surprise”).addClass(”ohmy”).show(”slow”)... 3、对已选择对象的操作(包括样式): 4、支持aJax,支持文件格式:xml/html ...
分类:
Web程序 时间:
2016-08-31 11:47:42
阅读次数:
136
如题,要开启mysql的慢查询日志可以在mysql的配置文件中的[mysqld]下设置两项: log-slow-queries = D:/soft/PHPnow/MySQL-5.1.50/test.log long_query_time = 1 log-slow-queries表示日志册存储位置,l ...
分类:
数据库 时间:
2016-08-31 09:25:23
阅读次数:
173
//显示和隐藏 hide()的语法形式:$(selector).hide(speed,callback);//speed:“fast”;"slow";毫秒数————callback_在显示/隐藏之后的事件 show()的语法形式:$(selector).show(speed,callback); / ...
分类:
Web程序 时间:
2016-08-31 00:49:16
阅读次数:
200
1.slow_launch_timeCommand-LineFormat--slow_launch_time=#SystemVariableNameslow_launch_timeVariableScopeGlobalDynamicVariableYesPermittedValuesTypeintegerDefault2Ifcreatingathreadtakeslongerthanthismanyseconds,theserverincrementstheSlow_launch_threadsstatusv..
分类:
其他好文 时间:
2016-08-29 21:02:30
阅读次数:
205
转自:http://www.cnblogs.com/youxin/p/3303172.html 1.链表中是否有环的判断 可以设置两个指针(fast,slow),初始值均指向头,slow每次向前一步,fast每次向前两步; 如果链表中有环,则fast先进入环中,而slow后进入环中,两个指针在环中必 ...
分类:
其他好文 时间:
2016-08-28 20:50:16
阅读次数:
310