Slow insertion several times every day
Open
Nobody has claimed this yet.
help wanted
- Dominant language
- C
- Stars
- 25.1k
- Forks
- 5k
- Avg merge
- 4d 59m
- Merged PRs (30d)
- 7
Description
Bug Description
每天都有几次的插入慢(超过1秒)的情况,正常的都是几毫秒。请问是什么问题,如何改进?
java日志 ERROR c.a.druid.filter.stat.StatFilter:523 - slow sql 1077 millis. insert into *******
Environment (please complete the following information):
- OS: Ubutu
- Memory 8G
- TDengine Version [e.g. 3.2.0.0]
- 应用是java的,和TD在同一台电脑,没有集群
- 用最普通的创建数据库没格外定义参数。用了超级表,子表是按不同传感器不同子表分离。
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the slow SQL log and the reported TDengine, Java, Ubuntu, memory, and supertable/subtable setup in the issue. Reproduce or characterize the intermittent insert latency and determine whether the behavior is a confirmed TDengine defect or an environment or query-specific problem. Done requires a reproducible case, a documented cause, or a verified fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, sql, ubuntu
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100