1.慢查询日志:slow_launch_time=2
查询大于某个时间的值(单位:s)slow_query_log=on/off
开启关闭慢查询日志slow_query_log_file=/opt/data/host-slow.log
慢查询日志位置2.连接数:max_connections MyS...
分类:
数据库 时间:
2014-05-15 21:44:08
阅读次数:
447
WCF承载的具体框图WCF承载的具体原理WCFHost承载的相关类型介绍,主要包括ServiceHost,ServiceEndpoint,Binding,ServiceDescription,以及ServiceMetadataBehavior
分类:
其他好文 时间:
2014-05-15 17:57:42
阅读次数:
357
//此方法可以一次导入百万数据public int GetDevicesExel(string
fileName, string users, out string repIMEI) { int res = 0; #region exel导入...
分类:
其他好文 时间:
2014-05-15 17:05:06
阅读次数:
250
1.慢查询日志:slow_launch_time=2查询大于某个时间的值(单位:s)slow_query_log=on/off开启关闭慢查询日志slow_query_log_file=/opt/data/host-slow.log慢查询日志位置2.连接数:max_connectionsMySQL最大连接数back_log当连接数满了后,设置一个值,允许多少个连接进入等待堆..
分类:
数据库 时间:
2014-05-15 12:44:41
阅读次数:
385
1:定义常量define(“HOST”,”127.0.0.1”);define(“USER”,”rooot”);//数据库用户define(“PWD”,”root”);//密码$conn=””;functionget_coon(){global$conn;$conn=mysql_connect(HO...
分类:
数据库 时间:
2014-05-15 11:10:24
阅读次数:
348
http://hi.baidu.com/simonwoos_zone/item/93f88b41dbad48e41e19bcc8
分类:
系统相关 时间:
2014-05-15 10:41:54
阅读次数:
617
#region 移动窗体 移动窗口 private Point _mousePoint;
private int topA(Control cc) { if (cc == null || cc == this) retu...
分类:
移动开发 时间:
2014-05-15 10:10:20
阅读次数:
349
1、Replicator执行代码详细分析
上篇问中介绍了启动Replicator的具体过程,下面具体讲解Replicator的执行代码的具体实现:
def replicate(self, override_devices=None, override_partitions=None):
"""Run a replication pass"""
sel...
分类:
其他好文 时间:
2014-05-15 00:15:16
阅读次数:
458
1、ObjectorReplicator的启动
首先运行启动脚本
swift-init object-replicator start此运行脚本的运行过程和ring运行脚本运行过程差不多,找到swift 源码bin下的swift-object-replicator其代码如下所示
if __name__ == '__main__':
parser = OptionParser("%pr...
分类:
其他好文 时间:
2014-05-15 00:08:27
阅读次数:
332
Asp.Net
WebAPI生成的是一个程序集,并不是独立的进程,因此,要运行的时候必须将其承载在相应的宿主上,一般比较常见的是IIS承载。很多时候,我们为了简化部署或者功能集成,需要将其承载到独立的进程上,这种方式一般称之为Self-Host,本文就简单的介绍一下WebAPI的SefHost方法。...