github.com/pingcap/br@v5.3.0-alpha.0.20220125034240-ec59c7b6ce30+incompatible/tests/lightning_disk_quota/data/disk_quota.t-schema.sql (about) 1 create table t ( 2 id int not null primary key clustered, 3 4 -- each stored generated column occupy about 150 KB of data, so we are 750 KB per row. 5 -- without disk quota the engine size will be 750 KB * 2000 rows = 1.5 GB ≈ 1.4 GiB. 6 -- (FIXME: making the KV size too large may crash PD?) 7 sa longblob as (aes_encrypt(rpad(id, 150000, 'a'), 'xxx', 'iviviviviviviviv')) stored, 8 sb longblob as (aes_encrypt(rpad(id, 150000, 'b'), 'xxx', 'iviviviviviviviv')) stored, 9 sc longblob as (aes_encrypt(rpad(id, 150000, 'c'), 'xxx', 'iviviviviviviviv')) stored, 10 sd longblob as (aes_encrypt(rpad(id, 150000, 'd'), 'xxx', 'iviviviviviviviv')) stored, 11 se longblob as (aes_encrypt(rpad(id, 150000, 'e'), 'xxx', 'iviviviviviviviv')) stored 12 );