TDengine 在 taosBenchmark 中使用无模式创建 table 数字不符合预期

TDengine create table number not as expected using schemaless in taosBenchmark

我想创建10000个子表,但是在我成功执行taosBenchmark程序后,我使用taos shell with command select count(tbname) from stb;
但结果显示 255 个表。

Schemaless在创建childtable时比较特殊,在taosBenchmark中,使用schemaless插入时不能指定childtable名称,table当检测到标签为新标签时,名称会随机生成带有 UUID 的名称,否则,它将插入相同的 child table。我认为在您的情况下,您只需将一个标签设置为 tinyint/unsigned tinyint 数据类型。