<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ariarijp</author_name>
  <author_url>https://blog.hatena.ne.jp/ariarijp/</author_url>
  <blog_title>ariarijp’s blog</blog_title>
  <blog_url>https://ariarijp.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>内容は本記事を書いた2018/06/03時点の理解なので、間違っていたら直す。 対象のバージョン Redash 4.0.1 c86423a で確認した。 ざっくり言うと 30秒ごとにクエリの最終取得日時と定期実行の設定を比較し、再実行が必要なものを scheuled_queries キューで実行する。 クエリ定期実行の流れ 30秒に1度、redash.tasks.queries.refresh_queries が実行される celery beat を使って定期実行されている デフォルトでは定期実行の最小値が毎時1分になっているのは、celery beat が30秒に1度動くためかもしれない 「…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fariarijp.hatenablog.com%2Fentry%2F2018%2F06%2F03%2F232601&quot; title=&quot;Redash のクエリ定期実行はどのように実現されているのか - ariarijp’s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-06-03 23:26:01</published>
  <title>Redash のクエリ定期実行はどのように実現されているのか</title>
  <type>rich</type>
  <url>https://ariarijp.hatenablog.com/entry/2018/06/03/232601</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
