0
を向上させることがmysqlののスクリーンショットは、一般的なクエリにコマンドを説明している: http://cl.ly/3r34251M320A1P2s3e1YここではMySQLのパフォーマンス
私は私が私が欲しいデータを抽出するために一緒に参加する必要があり、3種類のテーブルを持っています。これは、アクティブレコードを使用する主要なCIモデルコードです
$this->db->select('articles.id, articles.title, articles.link, articles.updated_time, articles.created_time, shows.network,shows.show_id, shows.name');
$this->db->from('articles')->order_by('updated_time','desc')->offset($offset)->limit($limit);
$this->db->join('labels', 'articles.remote_id = labels.articleid');
$this->db->join('shows', 'shows.show_id = labels.showid');
誰でもスキーマやクエリのパフォーマンスを向上させる方法はありますか?
おかげ