db2 connect to dbname user username using passwd db2 update db cfg using MAXAPPLS number查看最大连接数查看DB2最大连接数(v9.7) db2 get dbm cfg MAX_CONNECTIONS=AU...
分类:
数据库 时间:
2015-06-25 11:46:04
阅读次数:
574
C:\Users\Administrator\Desktop\hsqldb-2.3.2\data>netstat -h Displays protocol statistics and current TCP/IP network connections. NETSTAT [-a] [-b] [-e...
分类:
Web程序 时间:
2015-06-20 18:18:28
阅读次数:
278
目录 一、优化概述 二、查询与索引优化分析 1性能瓶颈定位 Show命令 慢查询日志 explain分析查询 profiling分析查询 ? 2索引及查询优化 三、配置优化 1) ? ? ?max_connections 2) ? ? ?back_log 3) ? ? ...
分类:
数据库 时间:
2015-06-19 16:59:49
阅读次数:
187
MySQL show status - show open database connections
分类:
数据库 时间:
2015-06-18 21:48:58
阅读次数:
140
1、从http://forums.cacti.net/download/file.php?id=5198下载官方提供的TCP监控模版tcp-connections.zip(模版见下方附件内容)2、解压tcp-connections.zip将可执行程序get_tcp_connections拷贝到目录/var/www/html/cacti/scripts#cpget_tcp_connections/var/www/html/cacti/s..
分类:
其他好文 时间:
2015-06-18 20:11:56
阅读次数:
106
ginx.conf:worker_processes 1;events { worker_connections 1024;}http { include mime.types; default_type application/octet-stream; sendfile on; keepaliv...
分类:
其他好文 时间:
2015-06-18 16:50:44
阅读次数:
141
在spark streaming的文档里,有这么一段:def sendPartition(iter): # ConnectionPool is a static, lazily initialized pool of connections connection = Connection...
分类:
其他好文 时间:
2015-06-16 09:15:13
阅读次数:
116
1 . 安装MySQL server2 . 修改master配置在master机器上的/etc/my.cnf中添加如下几个参数[mysqld]innodb_buffer_pool_size=6ginnodb_log_file_size=1gmax_connections=4096skip-name-...
分类:
数据库 时间:
2015-06-16 09:14:10
阅读次数:
146
卡特兰公式为:
(n+2)record[n+1]=(4n+2)record[n]
#include
#include
int record[110][110];
int a1[110],weishu[110];
void cheng(int a){
int i,m,c,chushu,temp;
m=weishu[a-1];
c=0;
for(i=0;i<...
分类:
其他好文 时间:
2015-06-15 14:39:30
阅读次数:
100
题意:城市道路没有环不一定连通的树求两城市的最短距离 设想一下就是很多小树那好办思路:lca离线算法然后有个技巧就是每次我们tarjan一棵树不是最后树的节点都访问过并且孩子全能找到根嘛那么我们只要做做做做做到全部的城市都访问过了就行了反正你做这颗小树的时候又不会影响到其他树的#include #i...
分类:
其他好文 时间:
2015-06-14 21:22:33
阅读次数:
112