Skip to content
ClickHouse Docs
ClickHouse DocsClickHouse Docs

MongoDB Dictionary ソース

設定例:

SOURCE(MONGODB(
    host 'localhost'
    port 27017
    user ''
    password ''
    db 'test'
    collection 'dictionary_source'
    options 'ssl=true'
))

または URI を使用する場合:

SOURCE(MONGODB(
    uri 'mongodb://localhost:27017/clickhouse'
    collection 'dictionary_source'
))

設定フィールド:

設定 説明
host MongoDB のホスト。
port MongoDB サーバーのポート。
user MongoDB ユーザー名。
password MongoDB ユーザーのパスワード。
db データベース名。
collection コレクション名。
options MongoDB 接続文字列のオプション。任意です。
uri 接続を確立するための URI (host/port/db を個別に指定する代わりに使用) 。

エンジンの詳細

Navigation