http://idea.lanyus.com/

點server ok

學習程式 發表在 痞客邦 留言(0) 人氣()

#include <iostream>
#include <string>

學習程式 發表在 痞客邦 留言(0) 人氣()

function Queue(){
  this.start_index=1;

學習程式 發表在 痞客邦 留言(0) 人氣()

#include <iostream>
#include <string>

學習程式 發表在 痞客邦 留言(0) 人氣()

#include <iostream>
#include <string>

學習程式 發表在 痞客邦 留言(0) 人氣()

because only c:/user can expose

### Application Path ###################################################################################################

學習程式 發表在 痞客邦 留言(0) 人氣()

C:\xampp\mysql\bin my.ini內容換成my-innodb-heavy-4G

  select * from articles  where articles.pet_category_id=4  速度  從 1s -> 0.13

學習程式 發表在 痞客邦 留言(0) 人氣()

comment表article_id加index

從150ms ->27ms

學習程式 發表在 痞客邦 留言(0) 人氣()

    query = query.Select("articles.*,count(distinct ac.id) as article_comment_count").Joins("left join article_comments as ac on articles.id=ac.article_id").Group("articles.id")
 

學習程式 發表在 痞客邦 留言(0) 人氣()

package models

// . "github.com/goblog/app/models/user"

學習程式 發表在 痞客邦 留言(0) 人氣()