Is all the data in MemBuffer within the TiDB Server obtained from TiKV?

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

Original topic: TiDB Server中MemBuffer里面的数据全部是从TiKV中获取到的吗?

| username: alfred

Is all the data in MemBuffer in the TiDB Server obtained from TiKV?

| username: xfworld | Original post link

What does membuffer refer to?
A TiDB node includes a PD client and a KV client. The PD client has a cache that stores region information, reducing interactions with PD and allowing direct access to TiKV regions. The KV client contains two layers of interfaces, the KV API and the distSQL API, and does not have a cache…

| username: cheng | Original post link

The data and metadata read from the membuffer cache, as well as login authentication information, etc.

| username: alfred | Original post link

Yes, and also statistics, referring to this membuffer.

| username: HACK | Original post link

Data to be updated or query results from the TiKV server will also be placed in the membuffer.

| username: alfred | Original post link

The entire TiDB Server is essentially a block of memory when it is running, right?

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.