WandermyzGoogleCode / tongshare

Automatically exported from code.google.com/p/tongshare
0 stars 0 forks source link

数据库首页10个事件刷一次5秒 #72

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
从LOG上看完全是在ActiveRecord上花的5秒,一定是数据库写脑残�
��

Original issue reported on code.google.com by LiYuqia...@gmail.com on 2 Mar 2011 at 4:57

GoogleCodeExporter commented 9 years ago
可是话说我在本地sqlite下现在的比原来慢啊……includes如果要
都访问到被include的内容的话一定会比不includes要快啊
这些操作不应该要500ms甚至5s才对啊

Original comment by cbm...@gmail.com on 3 Mar 2011 at 1:47

GoogleCodeExporter commented 9 years ago
求测试:去掉原语句的.order

Original comment by cbm...@gmail.com on 3 Mar 2011 at 2:39

GoogleCodeExporter commented 9 years ago
搞定,现在500MS

Original comment by LiYuqia...@gmail.com on 9 Mar 2011 at 6:43