pingcap / pingcap/tidb

```types.MakeDatums``` take too much time in the (*memtableRetriever).setDataFromTables

Open
#53,886 0 comments 1 reaction 1 assignee Claimed by @xzhangxian1008 View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement

(*memtableRetriever).setDataFromTables will do the ```types.MakeDatums```. it will take too much time for it.

https://flamegraph.com/share/78ebf287-24b4-11ef-ab1b-b6898751f631

image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.