adjust the max bytes per row

This commit is contained in:
kailixu 2021-07-12 00:07:31 +00:00
parent 048c8dedd9
commit f97d290b31
1 changed files with 3 additions and 2 deletions

View File

@ -197,9 +197,10 @@ do { \
/**
* Don't change to 65536. As in some scenarios uint16_t (0~65535) is used to store the row len.
* Finally, we use 65531(65535 - 4), as the SDataRow and SKVRow including 4 bits header.
* So, we use 65531(65535 - 4), as the SDataRow and SKVRow including 4 bits header.
* If all cols are VarType except primary key, we need 4 bits to store the offset. 65531-8-4095*4=49143
*/
#define TSDB_MAX_BYTES_PER_ROW 65531
#define TSDB_MAX_BYTES_PER_ROW 49143
#define TSDB_MAX_TAGS_LEN 16384
#define TSDB_MAX_TAGS 128
#define TSDB_MAX_TAG_CONDITIONS 1024