[groonga-dev, 04467] Re: shared buffers hit vs read after >cat pgrn* /dev/null

Back to archive index

Kouhei Sutou kou****@clear*****
2017年 9月 11日 (月) 14:03:28 JST


須藤です。

In <01da01d32aa0$58c250e0$0a46f2a0$@mirror.ocn.ne.jp>
  "[groonga-dev, 04466] Re: shared buffers hit vs read after >cat pgrn* /dev/null" on Mon, 11 Sep 2017 10:50:29 +0900,
  <toshio_uchiy****@mirro*****> wrote:

> この SQL 文の exists には少し意味がありまして、P.video = C1.video が味噌で
> す。
> 一つのビデオに平均150行くらいの字幕があります。とりあえず、search という単語
> を含む
> 字幕のあるビデオの video ID を取得して、そのビデオの字幕から algorithm とい
> う単語を含む
> 字幕を探すという SQL 文です。と考えています。

1つのビデオを表現するのにテーブル内に複数行があるということ
ですか?で、1つの行には字幕1行文だけが格納されているというこ
とですか?

1つのcontentに字幕を全部入れて1つのビデオを1行で表現した方が
性能がでそうだなぁと思いました。


-- 
須藤 功平 <kou****@clear*****>
株式会社クリアコード <http://www.clear-code.com/>

Groongaベースの全文検索システムを総合サポート:
  http://groonga.org/ja/support/
パッチ採用 - プログラミングが楽しい人向けの採用プロセス:
  http://www.clear-code.com/recruitment/
OSS開発支援サービス:
  http://www.clear-code.com/blog/2016/6/27.html




groonga-dev メーリングリストの案内
Back to archive index