Skip to content
128 changes: 63 additions & 65 deletions TOC-ai.md
Original file line number Diff line number Diff line change
@@ -1,87 +1,85 @@
<!-- markdownlint-disable MD007 -->

<!-- markdownlint-disable MD041 -->

# 目次

## クイックスタート

- [Pythonで始める](/ai/quickstart-via-python.md)
- [SQL経由で開始する](/ai/quickstart-via-sql.md)
- [Pythonで始める](/ai/quickstart-via-python.md)
- [SQL経由で開始する](/ai/quickstart-via-sql.md)

## コンセプト

- [ベクトル検索](/ai/concepts/vector-search-overview.md)
- [ベクトル検索](/ai/concepts/vector-search-overview.md)

## ガイド

- [TiDBに接続する](/ai/guides/connect.md)
- [表の操作](/ai/guides/tables.md)
- 検索機能
- [ベクトル検索](/ai/guides/vector-search.md)
- 全文検索
- [Pythonによる全文検索](/ai/guides/vector-search-full-text-search-python.md)
- [SQLによる全文検索](/ai/guides/vector-search-full-text-search-sql.md)
- [ハイブリッド検索](/ai/guides/vector-search-hybrid-search.md)
- [画像検索](/ai/guides/image-search.md)
- 高度な機能
- [自動埋め込み](/ai/guides/auto-embedding.md)
- [フィルタリング](/ai/guides/filtering.md)
- [再ランキング](/ai/guides/reranking.md)
- [結合クエリ](/ai/guides/join-queries.md)
- [生のSQLクエリ](/ai/guides/raw-queries.md)
- [トランザクション](/ai/guides/transactions.md)
- [TiDBに接続する](/ai/guides/connect.md)
- [表の操作](/ai/guides/tables.md)
- 検索機能
- [ベクトル検索](/ai/guides/vector-search.md)
- 全文検索
- [Pythonによる全文検索](/ai/guides/vector-search-full-text-search-python.md)
- [SQLによる全文検索](/ai/guides/vector-search-full-text-search-sql.md)
- [ハイブリッド検索](/ai/guides/vector-search-hybrid-search.md)
- [画像検索](/ai/guides/image-search.md)
- 高度な機能
- [自動埋め込み](/ai/guides/auto-embedding.md)
- [フィルタリング](/ai/guides/filtering.md)
- [再ランキング](/ai/guides/reranking.md)
- [結合クエリ](/ai/guides/join-queries.md)
- [生のSQLクエリ](/ai/guides/raw-queries.md)
- [トランザクション](/ai/guides/transactions.md)

##

- [基本的なCRUD操作](/ai/examples/basic-with-pytidb.md)
- [自動埋め込み](/ai/examples/auto-embedding-with-pytidb.md)
- 検索と取得
- [ベクトル検索](/ai/examples/vector-search-with-pytidb.md)
- [全文検索](/ai/examples/fulltext-search-with-pytidb.md)
- [ハイブリッド検索](/ai/examples/hybrid-search-with-pytidb.md)
- [画像検索](/ai/examples/image-search-with-pytidb.md)
- AIアプリケーション
- [RAG アプリケーション](/ai/examples/rag-with-pytidb.md)
- [会話記憶](/ai/examples/memory-with-pytidb.md)
- [テキストからSQLへ](/ai/examples/text2sql-with-pytidb.md)
- [基本的なCRUD操作](/ai/examples/basic-with-pytidb.md)
- [自動埋め込み](/ai/examples/auto-embedding-with-pytidb.md)
- 検索と取得
- [ベクトル検索](/ai/examples/vector-search-with-pytidb.md)
- [全文検索](/ai/examples/fulltext-search-with-pytidb.md)
- [ハイブリッド検索](/ai/examples/hybrid-search-with-pytidb.md)
- [画像検索](/ai/examples/image-search-with-pytidb.md)
- AIアプリケーション
- [RAG アプリケーション](/ai/examples/rag-with-pytidb.md)
- [会話記憶](/ai/examples/memory-with-pytidb.md)
- [テキストからSQLへ](/ai/examples/text2sql-with-pytidb.md)

## 統合

- [統合の概要](/ai/integrations/vector-search-integration-overview.md)
- 自動埋め込み
- [概要](/ai/integrations/vector-search-auto-embedding-overview.md)
- [オープンAI](/ai/integrations/vector-search-auto-embedding-openai.md)
- [OpenAI対応](/ai/integrations/embedding-openai-compatible.md)
- [Jina AI](/ai/integrations/vector-search-auto-embedding-jina-ai.md)
- [Cohere](/ai/integrations/vector-search-auto-embedding-cohere.md)
- [Google Gemini](/ai/integrations/vector-search-auto-embedding-gemini.md)
- [Hugging Face](/ai/integrations/vector-search-auto-embedding-huggingface.md)
- [NVIDIA NIM](/ai/integrations/vector-search-auto-embedding-nvidia-nim.md)
- [Amazon Titan](/ai/integrations/vector-search-auto-embedding-amazon-titan.md)
- AIフレームワーク
- [LangChain](/ai/integrations/vector-search-integrate-with-langchain.md)
- [LlamaIndex](/ai/integrations/vector-search-integrate-with-llamaindex.md)
- ORMライブラリ
- [SQLAlchemy](/ai/integrations/vector-search-integrate-with-sqlalchemy.md)
- [Django ORM](/ai/integrations/vector-search-integrate-with-django-orm.md)
- [Peewee](/ai/integrations/vector-search-integrate-with-peewee.md)
- クラウドサービス
- [Jina AI埋め込み](/ai/integrations/vector-search-integrate-with-jinaai-embedding.md)
- [Amazon Bedrock](/ai/integrations/vector-search-integrate-with-amazon-bedrock.md)
- MCP サーバー
- [概要](/ai/integrations/tidb-mcp-server.md)
- [Claude Code](/ai/integrations/tidb-mcp-claude-code.md)
- [Claude Desktop](/ai/integrations/tidb-mcp-claude-desktop.md)
- [Cursor](/ai/integrations/tidb-mcp-cursor.md)
- [VS Code](/ai/integrations/tidb-mcp-vscode.md)
- [Windsurf](/ai/integrations/tidb-mcp-windsurf.md)
- [統合の概要](/ai/integrations/vector-search-integration-overview.md)
- 自動埋め込み
- [概要](/ai/integrations/vector-search-auto-embedding-overview.md)
- [オープンAI](/ai/integrations/vector-search-auto-embedding-openai.md)
- [OpenAI対応](/ai/integrations/embedding-openai-compatible.md)
- [Jina AI](/ai/integrations/vector-search-auto-embedding-jina-ai.md)
- [Cohere](/ai/integrations/vector-search-auto-embedding-cohere.md)
- [Google Gemini](/ai/integrations/vector-search-auto-embedding-gemini.md)
- [Hugging Face](/ai/integrations/vector-search-auto-embedding-huggingface.md)
- [NVIDIA NIM](/ai/integrations/vector-search-auto-embedding-nvidia-nim.md)
- [Amazon Titan](/ai/integrations/vector-search-auto-embedding-amazon-titan.md)
- AIフレームワーク
- [LangChain](/ai/integrations/vector-search-integrate-with-langchain.md)
- [LlamaIndex](/ai/integrations/vector-search-integrate-with-llamaindex.md)
- ORMライブラリ
- [SQLAlchemy](/ai/integrations/vector-search-integrate-with-sqlalchemy.md)
- [Django ORM](/ai/integrations/vector-search-integrate-with-django-orm.md)
- [Peewee](/ai/integrations/vector-search-integrate-with-peewee.md)
- クラウドサービス
- [Jina AI埋め込み](/ai/integrations/vector-search-integrate-with-jinaai-embedding.md)
- [Amazon Bedrock](/ai/integrations/vector-search-integrate-with-amazon-bedrock.md)
- MCP サーバー
- [概要](/ai/integrations/tidb-mcp-server.md)
- [Claude Code](/ai/integrations/tidb-mcp-claude-code.md)
- [Claude Desktop](/ai/integrations/tidb-mcp-claude-desktop.md)
- [Cursor](/ai/integrations/tidb-mcp-cursor.md)
- [VS Code](/ai/integrations/tidb-mcp-vscode.md)
- [Windsurf](/ai/integrations/tidb-mcp-windsurf.md)

## 参照

- [ベクトルデータ型](/ai/reference/vector-search-data-types.md)
- [関数と演算子](/ai/reference/vector-search-functions-and-operators.md)
- [ベクトル検索インデックス](/ai/reference/vector-search-index.md)
- [性能チューニング](/ai/reference/vector-search-improve-performance.md)
- [制限事項](/ai/reference/vector-search-limitations.md)
- [変更ログ](/ai/reference/vector-search-changelogs.md)
- [ベクトルデータ型](/ai/reference/vector-search-data-types.md)
- [ベクトル関数と演算子](/ai/reference/vector-search-functions-and-operators.md)
- [ベクトル検索インデックス](/ai/reference/vector-search-index.md)
- [ベクトル検索の性能チューニング](/ai/reference/vector-search-improve-performance.md)
- [ベクトル検索の制限事項](/ai/reference/vector-search-limitations.md)
5 changes: 3 additions & 2 deletions TOC-tidb-cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
- データベースアクセス制御
- [クラスタパスワード設定の構成](/tidb-cloud/configure-security-settings.md)
- 監査管理
- [TiDB Cloud Dedicatedデータベース監査ログ](/tidb-cloud/tidb-cloud-auditing.md)
- [データベース監査ログ](/tidb-cloud/tidb-cloud-auditing.md) ![PREVIEW](/media/tidb-cloud/blank_transparent_placeholder.png)
- [コンソール監査ログ](/tidb-cloud/tidb-cloud-console-auditing.md)
- 請求する
- [請求書](/tidb-cloud/tidb-cloud-billing.md#invoices)
Expand Down Expand Up @@ -619,7 +619,7 @@
- [Connected Careの概要](/tidb-cloud/connected-care-overview.md)
- [Connected Careの詳細](/tidb-cloud/connected-care-detail.md)
- Connected Careサポートサービスの特長
- [接続済み: Clinic Service](/tidb-cloud/tidb-cloud-clinic.md)
- [Connected: Clinic Service](/tidb-cloud/tidb-cloud-clinic.md)
- [Connected: IMでのAIチャット](/tidb-cloud/connected-ai-chat-in-im.md)
- Connected: TiDB CloudアラートのIMサブスクリプション
- [Slack経由で購読する](/tidb-cloud/monitor-alert-slack.md)
Expand All @@ -640,3 +640,4 @@
## _BUILD_ALLOWLIST

- [データベースのユーザーと役割を管理する](/tidb-cloud/configure-sql-users.md)
- [データベース監査ログ(レガシー)](/tidb-cloud/tidb-cloud-auditing-legacy.md)
1 change: 1 addition & 0 deletions develop/dev-guide-transaction-restraints.md
Original file line number Diff line number Diff line change
Expand Up @@ -714,6 +714,7 @@ mysql> SELECT * FROM T2;

- TiDB v4.0.10 以降、v4.0.x バージョン、および TiDB v5.0.0 以降のバージョンでは、tidb-server の[`performance.txn-entry-size-limit`](https://docs.pingcap.com/tidb/stable/tidb-configuration-file#txn-entry-size-limit-new-in-v4010-and-v500)設定パラメータを使用して調整できます。v4.0.10 より前のバージョンでは、値は`6 MB`です。
- バージョン7.6.0以降では、 [`tidb_txn_entry_size_limit`](/system-variables.md#tidb_txn_entry_size_limit-new-in-v760)システム変数を使用して、この設定項目の値を動的に変更できます。
- TiKV も単一の書き込みリクエストのデータサイズを制限していることに注意してください。単一の書き込みリクエストのデータサイズが [`raftstore.raft-entry-max-size`](/tikv-configuration-file.md#raft-entry-max-size)(デフォルトは `8 MiB`)を超えると、TiKV はそのリクエストを拒否します。単一行が大きい場合は、TiDB の `tidb_txn_entry_size_limit` と TiKV の `raftstore.raft-entry-max-size` の両方を調整する必要があります。

- 単一トランザクションでサポートされる最大サイズは1 TiBです。

Expand Down
2 changes: 1 addition & 1 deletion dr-secondary-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ TiDBのプライマリクラスタとセカンダリクラスタを再構築す

プライマリ/セカンダリDRシナリオでは、セカンダリクラスタを読み取り専用クラスタとして使用し、レイテンシに影響されないクエリを実行するのが一般的です。TiDBも、プライマリ/セカンダリDRソリューションにおいてこの機能を提供しています。

変更フィードを作成する際に、構成ファイルで同期ポイント機能を有効にします。すると、変更フィードは定期的に( `sync-point-interval`タイミングで)、セカンダリクラスタ上で`SET GLOBAL tidb_external_ts = @@tidb_current_ts`を実行することにより、セカンダリクラスタに複製された一貫性のあるスナップショットポイントを設定します。
変更フィードを作成する際に、変更フィード設定ファイルで同期ポイント機能を有効にします。すると、変更フィードは定期的に( `sync-point-interval`タイミングで)、セカンダリクラスタ上で`SET GLOBAL tidb_external_ts = @@tidb_current_ts`を実行することにより、セカンダリクラスタに複製された一貫性のあるスナップショットポイントを設定します。

セカンダリクラスタからデータを照会するには、ビジネスアプリケーションで`SET GLOBAL|SESSION tidb_enable_external_ts_read = ON;`設定します。そうすることで、プライマリクラスタとトランザクション的に整合性のあるデータを取得できます。

Expand Down
2 changes: 1 addition & 1 deletion latest_translation_commit.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"target": "release-8.5",
"sha": "b6f7f75a70c32ead3841d9636a62c0749c211fc4"
"sha": "566e693344cffc6f3f1e7186b2bc2bf22074434f"
}
2 changes: 1 addition & 1 deletion releases/release-8.5.6.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ TiDBクラスタをv8.5.5で新規にデプロイした場合(つまり、v8.5

- バージョン8.5.6以降、TiDBはMySQL互換の列レベルの権限管理メカニズムをサポートしています。テーブルレベルで特定の列に対して、 `SELECT` 、 `INSERT` 、 `UPDATE` 、および`REFERENCES`の権限または取り消すことができます。詳細については、 [列レベルの権限管理](https://docs.pingcap.com/tidb/v8.5/column-privilege-management)を参照してください。
- バージョン 8.5.6 以降、TiDB は`FOR UPDATE OF`句でテーブル エイリアスの使用をサポートしています。下位互換性を維持するために、エイリアスが定義されている場合でもベース テーブル名を参照できますが、明示的なエイリアスの使用を推奨する警告が表示されます。詳細については、 [`SELECT`](https://docs.pingcap.com/tidb/v8.5/sql-statement-select)を参照してください。
- バージョン8.5.6以降、 Dumplingは更新されたMySQLバイナリログの用語を採用することで、MySQL 8.4からのデータエクスポートをサポートしています。 [#53082](https://github.com/pingcap/tidb/issues/53082) @[dveeden](https://github.com/dveeden)
- バージョン8.5.6以降、 Dumplingは更新されたMySQLバイナリログの命名に対応することで、MySQL 8.4からのデータエクスポートをサポートしています。 [#53082](https://github.com/pingcap/tidb/issues/53082) @[dveeden](https://github.com/dveeden)
- バージョン8.5.6以降、TiDB Data Migration (DM) は、このバージョンで導入された新しい用語とバージョン検出ロジックに対応することで、アップストリームデータソースとしてMySQL 8.4をサポートします。 [#11020](https://github.com/pingcap/tiflow/issues/11020) @[dveeden](https://github.com/dveeden)

### システム変数 {#system-variables}
Expand Down
2 changes: 1 addition & 1 deletion replicate-data-to-kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ summary: TiCDC を使用して TiDB データを Apache Kafka および Apache F
3. (オプション) Flink クラスターを作成します。

- ラボ環境: Flink クラスターを起動するには、 [Apache Flink の最初のステップ](https://nightlies.apache.org/flink/flink-docs-release-1.15/docs/try-flink/local_installation/)を参照してください。
- 実稼働環境: Flink本番クラスターをデプロイするには、 [Apache Kafka のデプロイメント](https://nightlies.apache.org/flink/flink-docs-release-1.15/docs/deployment/overview/)を参照してください。
- 実稼働環境: Flink本番クラスターをデプロイするには、 [Apache Flink のデプロイメント](https://nightlies.apache.org/flink/flink-docs-release-1.15/docs/deployment/overview/)を参照してください。

## ステップ2. Kafka の変更フィードを作成する {#step-2-create-a-kafka-changefeed}

Expand Down
4 changes: 2 additions & 2 deletions ticdc/ticdc-upstream-downstream-check.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ SyncpointはTiDBが提供するスナップショット機能を利用し、TiCD

Syncpoint 機能を有効にすると、 [一貫性のあるスナップショット読み取り](#consistent-snapshot-read)と[データ一貫性検証](#data-consistency-validation)使用できるようになります。

Syncpoint機能を有効にするには、レプリケーションタスクの作成時にTiCDC構成項目の値を`enable-sync-point`から`true`に設定します。Syncpointを有効にすると、TiCDCは以下の情報を下流のTiDBクラスターに書き込みます。
Syncpoint機能を有効にするには、レプリケーションタスクの作成時にchangefeed構成項目の値を`enable-sync-point`から`true`に設定します。Syncpointを有効にすると、TiCDCは以下の情報を下流のTiDBクラスターに書き込みます。

1. レプリケーション中、TiCDC は定期的に ( `sync-point-interval`で設定) アップストリームとダウンストリームの間でスナップショットを調整し、アップストリームとダウンストリームの TSO 対応をダウンストリーム`tidb_cdc.syncpoint_v1`テーブルに保存します。
2. レプリケーション中、TiCDC は定期的に ( `sync-point-interval`で設定) `SET GLOBAL tidb_external_ts = @@tidb_current_ts`実行し、バックアップ クラスターにレプリケートされた一貫性のあるスナップショット ポイントを設定します。
Expand Down Expand Up @@ -94,7 +94,7 @@ select * from tidb_cdc.syncpoint_v1;

## 注記 {#notes}

- TiCDCがチェンジフィードを作成する前に、TiCDC構成項目`enable-sync-point`の値が`true`に設定されていることを確認してください。この設定によってのみ、同期ポイントが有効になり、 `ts-map`がダウンストリームに保存されます。構成項目`sync-point-interval`のデフォルト形式は`"h m s"` (例えば`"1h30m30s"`で、最小値は`"30s"`です。完全な構成情報については、 [TiCDC タスク構成ファイル](/ticdc/ticdc-changefeed-config.md)を参照してください。
- チェンジフィードを作成する前に、changefeed構成項目`enable-sync-point`の値が`true`に設定されていることを確認してください。この設定によってのみ、同期ポイントが有効になり、 `ts-map`がダウンストリームに保存されます。構成項目`sync-point-interval`のデフォルト形式は`"h m s"` (例えば`"1h30m30s"`で、最小値は`"30s"`です。完全な構成情報については、 [TiCDC タスク構成ファイル](/ticdc/ticdc-changefeed-config.md)を参照してください。
- Syncpointを使用してデータ検証を実行する場合、TiKVのガベージコレクション(GC)時間を変更する必要があります。これは、データチェック中にスナップショットに対応する履歴データがGCによって収集されないようにするためです。GC時間を1時間に変更し、チェック後に設定を復元することをお勧めします。
- 上記の例では`Datasource config`の部分のみを示しています。完全な設定については[sync-diff-inspector ユーザーガイド](/sync-diff-inspector/sync-diff-inspector-overview.md)を参照してください。
- v6.4.0 以降では、 `SYSTEM_VARIABLES_ADMIN`または`SUPER`権限を持つ changefeed のみが TiCDC Syncpoint 機能を使用できます。
Expand Down
Loading
Loading