Transports and Connections这两个东西,是灰熊框架的核心结构~Transports工具包含有TCP或UDP的协议,合并各种组件资源(Thread-Pool 线程池、Memory Manager 内存管理器等等。从结构来说,没什么东西,主要还是使用上1、使用Future模式建立...
分类:
其他好文 时间:
2014-08-28 21:05:56
阅读次数:
284
mysql 优化1.show status命令介绍Showstatus命令了解各种sql的执行频率查看当前有多少个连接Showstatuslike 'connections'查看数据库启用了多久Showstatuslike‘uptime’查看慢查询的次数Showstatuslike‘slow_que...
分类:
数据库 时间:
2014-08-24 00:16:01
阅读次数:
333
1.show status like ‘max‘; ?? Threads_connected? 当前的连接数 ?? Connections? 试图连接到(不管是否成功)MySQL服务器的连接数。 ?? Max_used_connections? 服务器启动后已经同时使用的连接的最大数量...
分类:
数据库 时间:
2014-08-22 14:40:09
阅读次数:
156
1.源代码mysql启动和关闭命令启动/data/app/mysql/bin/mysqld_safe&关闭/data/app/mysql/bin/mysqladmin-uroot-pshutdown2.修改mysql最大连接数进入MySQL安装目录打开MySQL配置文件my.ini或my.cnf查找max_connections=100修改为max_connections=1000服务里重起MySQL即可3...
分类:
数据库 时间:
2014-08-20 14:18:23
阅读次数:
219
[root@athController~]#novalistERROR:Anunexpectederrorpreventedtheserverfromfulfillingyourrequest.(OperationalError)(1040,‘Toomanyconnections‘)NoneNone(HTTP500)解决办法:key_buffer=64Mmax_allowed_packet=16Mthread_stack=192Kthread_cache_size=8myisam-recover=B..
分类:
数据库 时间:
2014-08-20 10:35:46
阅读次数:
437
在openerp安装过程中报错:psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain so...
分类:
数据库 时间:
2014-08-19 12:26:05
阅读次数:
154
简介
Netstat 命令用于显示各种网络相关信息,如网络连接,路由表,接口状态 (Interface Statistics),masquerade 连接,多播成员 (Multicast Memberships) 等等。
输出信息含义
执行netstat后,其输出结果为
Active Internet connections (w/o servers)
Proto Re...
分类:
Web程序 时间:
2014-08-12 13:41:14
阅读次数:
304
select APP_NAME ( ) as w --当前会话的应用程序select @@IDENTITY --返回最后插入的标识值 select USER_NAME() --返回用户数据库用户名SELECT @@CONNECTIONS --返回自上次SQL启动以来连接或试图连接的次数。...
分类:
数据库 时间:
2014-08-12 13:08:44
阅读次数:
232
max_connections
MySql的最大连接数,如果服务器的并发连接请求量比较大,建议调高此值,以增加并行连接数量,当然这建立在机器能支撑的情况下,因为如果连接数越多,MySql会为每个连接提供连接缓冲区,就会开销越多的内存,连接数太大,服务器消耗的内存越多,以至于影响服务器性能,所以要根据服务器的配置适当调整该值,不能盲目提高设值。可以过'conn%'通配符查看当前状态的连接数量,以定...
分类:
数据库 时间:
2014-08-11 17:53:42
阅读次数:
377
1 connection 联系,关系,连接部分,交通线 eg. Check all radiators for small leaks,especially round pipework connections.检查所有的暖气片,看有没有小裂缝,尤其是管道连接处附近。 eg. She used he...
分类:
其他好文 时间:
2014-08-10 12:56:20
阅读次数:
396