> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-mintlify-fbfa8bee.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# direct Dictionary レイアウト

> キャッシュを使用せずにソースを直接参照する Dictionary レイアウト。

<div id="direct">
  ## direct
</div>

このDictionaryはメモリには保存されず、リクエストの処理時に直接ソースへアクセスします。

Dictionaryキーの型は [UInt64](/ja/reference/data-types/int-uint) です。

ローカルファイルを除く、すべての種類の[sources](/ja/reference/statements/create/dictionary/sources/overview#dictionary-sources) がサポートされています。

設定例:

<Tabs>
  <Tab title="DDL">
    ```sql theme={null}
    LAYOUT(DIRECT())
    ```
  </Tab>

  <Tab title="設定ファイル">
    ```xml theme={null}
    <layout>
      <direct />
    </layout>
    ```
  </Tab>
</Tabs>

<br />

<div id="complex_key_direct">
  ## complex\_key\_direct
</div>

このタイプのストレージは、複合[キー](/ja/reference/statements/create/dictionary/attributes#composite-key)での使用を目的としています。`direct`に似ています。
