Hotfix/sangshuduo/td 3401 query statistic (#5907)
* [TD-3401]<fix>: taosdemo query statistic. refactor func name. * [TD-3401]<fix>: taosdemo query statistic. refactor func name 2. * [TD-3401]<fix>: taosdemo support query statistic. implementation. * cleanup * [TD-3401]<fix>: taosdemo query statistic. change us to ms. * [TD-3401]<fix>: taosdemo query statistic. increase sql buffer for query. * [TD-3401]<fix>: taosdemo query statistic more accurate result. * [TD-3401]<fix>: taosdemo query statistic. modify last time logic. Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
This commit is contained in:
parent
2e1a581575
commit
183e6ff05e
|
@ -5992,9 +5992,9 @@ static void *specifiedTableQuery(void *sarg) {
|
|||
pThreadInfo->threadID,
|
||||
totalQueried,
|
||||
(double)(totalQueried/((endTs-startTs)/1000.0)));
|
||||
}
|
||||
lastPrintTime = currentPrintTime;
|
||||
}
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
@ -6078,10 +6078,10 @@ static void *superTableQuery(void *sarg) {
|
|||
pThreadInfo->threadID,
|
||||
totalQueried,
|
||||
(double)(totalQueried/((endTs-startTs)/1000.0)));
|
||||
}
|
||||
lastPrintTime = currentPrintTime;
|
||||
}
|
||||
}
|
||||
}
|
||||
et = taosGetTimestampMs();
|
||||
printf("####thread[%"PRId64"] complete all sqls to allocate all sub-tables[%d - %d] once queries duration:%.4fs\n\n",
|
||||
taosGetSelfPthreadId(),
|
||||
|
|
Loading…
Reference in New Issue