pingcap / dbt-tidb

A dbt adapter for TiDB
Apache License 2.0
14 stars 9 forks source link

Transaction is too large #57

Open frelion opened 3 months ago

frelion commented 3 months ago

Bug Report

image

The size of the data is a million level.

It seems that the entire process is in one transaction, and if the transaction is too large, it will fail.

I dont want to set tidb global config, What errors can I take to avoid this error?

frelion commented 3 months ago

https://docs.pingcap.com/tidb/stable/non-transactional-dml

maybe we can use this