技术在于分享,今天为大家带了的是一篇生产环境中排错的文章,希望对大家以后在工作中排错有参考意义。不说了直接上干货:问题描述:客户设置N条计划任务每天定期备份对应数据库及相关日志文件等信息,在域策略到期后更改域账户密码信息后,在各个服务器端更新凭据验证后所有服..
分类:
其他好文 时间:
2015-05-06 18:13:41
阅读次数:
487
1、db.serverStatus()看看分片性能信息db.serverStatus().connections;分片查看客户端连接数,mongod和mongos的连接属于长连接"connections":{"current":737,--当前活动连接量。连接到server的当前活跃连接数目"available":82--剩余空闲连接量。剩余的可用连接数目},db.serverS..
分类:
数据库 时间:
2015-05-06 15:19:24
阅读次数:
175
运行 regedit找到 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections] 删除DefaultConnectionSettings和SavedLegacySettings的值。 百度找的 感谢百度用户:xmchens...
分类:
其他好文 时间:
2015-05-05 12:52:10
阅读次数:
1788
mysql最大连接数默认只有100,当用户访问带有数据库的站点或论坛时,会造成mysql服务CPU占用率上升,并无法提供服务。[root@test~]#vim/etc/my.cnf找到[mysqld]一段,加入如下一行:set-variable=max_connections=500注意:该参数必须加入[mysqld]配置段内,加入别的地方无效。..
分类:
数据库 时间:
2015-05-04 20:26:00
阅读次数:
156
加大数据库连接数(the Number of Database Connections )...
分类:
数据库 时间:
2015-04-25 19:50:42
阅读次数:
129
SQL优化1.查看各种SQL执行的频率mysql> show status like 'Com_select';--Com_insert,Com_delete,connections(试图连接mysql服务的次数),uptime(mysql工作时间),slow_queries(慢查询次数)等等2.定...
分类:
数据库 时间:
2015-04-24 20:54:49
阅读次数:
180
1 MongoDB 内置连接池,不需要使用额外的连接池驱动Note:TheMongoobject instance actually represents a pool of connections to the database; you will only need one object of ...
分类:
数据库 时间:
2015-04-24 18:48:55
阅读次数:
142
SQL优化1.查看各种SQL执行的频率mysql> show status like 'Com_select';--Com_insert,Com_delete,connections(试图连接mysql服务的次数),uptime(mysql工作时间),slow_queries(慢查询次数)等等2.定...
分类:
数据库 时间:
2015-04-24 18:44:26
阅读次数:
240
删除网络打印机:从注册表项中HKEY_CURRENT_USER/Printers/Connections 下找到要删除的打印机项删除即可删除本地打印机HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers下找到要删除的打印...
分类:
其他好文 时间:
2015-04-24 15:40:36
阅读次数:
2986
If the host computer is not running SSH (or RSH), we can configure and run rsync as a daemon in this computer. This would have rsync listening to the port 873 for incoming connections from other comput...
分类:
系统相关 时间:
2015-04-22 14:02:55
阅读次数:
229