Does the TiDB Server handle transactions through the KV module, interacting with the TiKV client in a point query manner?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: TiDB Server处理事务也是通过KV模块,即点查方式和TiKV client交互吗?

| username: alfred

To improve efficiency, please provide the following information. Clear problem descriptions can be resolved faster:
【TiDB Usage Environment】

【Overview】 Scenario + Problem Overview

【Background】 Operations performed

【Phenomenon】 Business and database phenomena

【Problem】 Current issue encountered

【Business Impact】

【TiDB Version】

【Application Software and Version】

【Attachments】 Relevant logs and configuration information

  • TiUP Cluster Display information
  • TiUP Cluster Edit config information

Monitoring (https://metricstool.pingcap.com/)

  • TiDB-Overview Grafana monitoring
  • TiDB Grafana monitoring
  • TiKV Grafana monitoring
  • PD Grafana monitoring
  • Corresponding module logs (including logs 1 hour before and after the issue)

If the question is related to performance optimization or troubleshooting, please download the script and run it. Please select all and copy-paste the terminal output results for upload.

| username: ddhe9527 | Original post link

The KV module is responsible for two parts of the work:

  1. Point_Get requests from the Executor
  2. 2PC transactions and lock management requests from the Transaction module

Then the KV module communicates with the TiKV cluster through the TiKV Client.

| username: system | Original post link

This topic will be automatically closed 60 days after the last reply. No new replies are allowed.