min_blob_size, compression algorithms, and GC policies based on business loads, eliminating the need for manual DBA intervention. At the current stage, it is recommended that you submit an Ops ticket for DBA evaluation regarding whether to enable KV separation.-- 1. Enable the master switch for KV separation in the user CFSET PERSIST tdstore_user_cf_enable_blob_files = ON;-- 2. Set the Value threshold for writing to Blob (unit: bytes, recommended range: 1024–4096)SET PERSIST tdstore_user_cf_min_blob_size = 1024;-- 3. (Strongly recommended) Enable garbage collection to prevent overwritten/deleted Blobs from occupying disk space for extended periods.SET PERSIST tdstore_user_cf_enable_blob_garbage_collection = ON;
SET PERSIST to write to mysqld-auto.cnf. The configuration persists after an instance restart. If you only want to test temporarily, use SET GLOBAL instead (the setting is lost after a restart).SET PERSIST tdstore_user_cf_enable_blob_files = OFF;
-- 1. Check the switch statusSHOW GLOBAL VARIABLES LIKE 'tdstore_user_cf_%blob%';-- 2. Check whether the Blob write volume is increasing (observe continuously)SHOW GLOBAL STATUS LIKE 'rocksdb_blobdb_blob_file_bytes_written';SHOW GLOBAL STATUS LIKE 'rocksdb_blobdb_num_keys_written';
rocksdb_blobdb_* series of metrics continuously increase with writes (see Monitoring Metrics for details).Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan