通过linux管道加快oracle exp/imp的速度
[
2008/11/16 10:00 | by real ]
2008/11/16 10:00 | by real ]
mysql日志中的一个错误,关于innodb_log_file_size
[
2008/11/15 15:24 | by real ]
2008/11/15 15:24 | by real ]
发现mysql 的error log中的一段日志
引用
081103 15:05:44 InnoDB: ERROR: the age of the last checkpoint is 9433679,
InnoDB: which exceeds the log group capacity 9433498.
InnoDB: If you are using big BLOB or TEXT rows, you must set the
InnoDB: combined size of log files at least 10 times bigger than the
InnoDB: largest such row.
InnoDB: which exceeds the log group capacity 9433498.
InnoDB: If you are using big BLOB or TEXT rows, you must set the
InnoDB: combined size of log files at least 10 times bigger than the
InnoDB: largest such row.
nginx 不记录部分日志
[
2008/11/15 14:58 | by real ]
2008/11/15 14:58 | by real ]
日志太多,每天好几个G,少记录一些,下面的配置写到server{}段中就可以了
location ~ .*\.(js|jpg|JPG|jpeg|JPEG|css|bmp|gif|GIF)$
{
access_log off;
}
location ~ .*\.(js|jpg|JPG|jpeg|JPEG|css|bmp|gif|GIF)$
{
access_log off;
}
word打开文档很慢
[
2008/11/12 15:44 | by real ]
2008/11/12 15:44 | by real ]
word打开文档很慢很慢,如果不管它,可能要十几分钟才能打开。如果在桌面上刷新几下,可能还能快些,但这也太麻烦了,总不能为了打开个word文档而在桌面上不停地刷吧
网上有很多关于这个问题的帖子,说的内容主要有这么几点点:
网上有很多关于这个问题的帖子,说的内容主要有这么几点点:
关于php-cgi 的 SIGSEGV 错误的一些想法
[
2008/11/11 15:31 | by real ]
2008/11/11 15:31 | by real ]
几台使用了 nginx+php-fpm 的机器上,偶尔能看到php-fpm.log中有这样的内容
引用
Oct 28 23:13:53.849419 [NOTICE] fpm_got_signal(), line 73: received SIGCHLD
Oct 28 23:13:53.849490 [WARNING] fpm_children_bury(), line 229: child 15044 (pool default) exited on signal 11 SIGSEGV after 1.332818 seconds
Oct 28 23:13:53.850341 [NOTICE] fpm_children_make(), line 305: child 15122 (pool default) started
Oct 28 23:13:53.849490 [WARNING] fpm_children_bury(), line 229: child 15044 (pool default) exited on signal 11 SIGSEGV after 1.332818 seconds
Oct 28 23:13:53.850341 [NOTICE] fpm_children_make(), line 305: child 15122 (pool default) started
转载 mysql 优化的一些小窍门
[
2008/11/08 22:48 | by real ]
2008/11/08 22:48 | by real ]
* 针对Innodb表,尽量不执行SELECT COUNT(*)语句,因为Innodb表没有类似MyISAM那样的内部计数器来记录表记录总量,执行这个操作将会全表扫描,速度很慢.
* 尽量使用MyISAM表,除非必须使用其他类型,因为MyISAM类型的总体读写效率是相当高的,缺点是表级锁,而不是行/页级锁.
* 善用EXPLAIN来帮助你分析查询优化情况
* 尽量使用MyISAM表,除非必须使用其他类型,因为MyISAM类型的总体读写效率是相当高的,缺点是表级锁,而不是行/页级锁.
* 善用EXPLAIN来帮助你分析查询优化情况
开启 Apache Server Status
[
2008/11/08 22:46 | by real ]
2008/11/08 22:46 | by real ]
Apache 1.3.2及以后的版本中就自带一个查看Apache状态的功能模块server-status
一般默认状态下,apache安装的时候已经将mod_status模块安装了,只是模式情况下没有启用
在httpd.conf中,找到
一般默认状态下,apache安装的时候已经将mod_status模块安装了,只是模式情况下没有启用
在httpd.conf中,找到





