« 博客园首页

记一次php高负载问题排查经历

T -c -p 31420 strace -c发现,系统时间主要耗费在rt_sigprocmask上,该函数是系统的信号屏蔽函数,一般使用在信号处理程序中,对信号进行屏蔽,保证信号处理程序不被打断。rt_sigprocmask为linux的系统调用函数,不对外直接调用,而使用glibc对其的封装:sigprocmas
thomasdu 2015-05-19 推荐(1) 浏览(271)
http://www.cnblogs.com/thomas-house/p/4515230.html

游标

ALUES ( 31420,'SF',4052,8.030,102,'2007-11-1 00:00:00','2007-11-28 00:00:00',0.00,77,'2007-11-13 00:00:00','XJ','G01','梁才文','东源楼','BCL0008-00466','Z39678',20,'X
qanholas 2010-10-25 浏览(467)
http://www.cnblogs.com/qanholas/archive/2010/10/25/1860326.html

省市县导入mysql代码,通过csv

7,"香坊区",31420,167,"太平区",31421,167,"道外区",31422,167,"阿城区",31423,167,"呼兰区",31424,167,"松北区",31425,167,"尚志市",31426,167,"双城市",31427,167,"五常市",31428,167,"方正县",31429,16
lexus 2010-12-03 浏览(215)
http://www.cnblogs.com/lexus/archive/2010/12/03/1895468.html

省市县导入mysql代码,通过csv

7,"香坊区",31420,167,"太平区",31421,167,"道外区",31422,167,"阿城区",31423,167,"呼兰区",31424,167,"松北区",31425,167,"尚志市",31426,167,"双城市",31427,167,"五常市",31428,167,"方正县",31429,16
lexus 2010-12-03 浏览(151)
http://www.cnblogs.com/lexus/archive/2010/12/03/1895469.html

中文汉字转换拼音PHP类

53221, 31420, 48539, 35283, 62919, 28806, 38625, 22423, 21986, 42637, 53211, 58602, 62151, 33434, 49818, 56564), 368 "qu" => array(38587, 38131, 16629
子海蓝心 2014-10-15 浏览(264)
http://www.cnblogs.com/851507788cto/p/4025842.html