首页|关系型数据库性能测试技术研究

关系型数据库性能测试技术研究

扫码查看
当前TPC-E基准测试系统存在的同种事务连续聚集和测试断尾会导致测试事务用例不佳,造成测试结果不准确.为此提出基于事务混合队列和延迟结束策略的事务分发控制方法来保障测试事务用例比从源头上最大限度接近基准规定.事务混合队列实现对测试事务用例混合比的整体控制.延迟结束策略消除了测试断尾造成的事务混合比波动.此外,为了降低资源损耗提出了动态线程池模型.上述模型能够在请求过多的情况下有效提高系统响应,在请求较少的情况下有效利用系统资源.最后将队列缓存机制引入测试系统.将高并发事物发送请求缓存到队列中,缓解了大量线程聚集创建带来的资源瞬时抢占问题.实验验证了测试系统的有效性、稳定性以及适配性.
Research on Performance Testing Techniques for Relational Database
The current TPC-E benchmark testing system suffers from continuous aggregation of the same type of transactions and test truncation,which can lead to poor test transaction cases and inaccurate test results.Therefore,a transaction distribution control method based on transaction mixed queue and delayed end strategy is proposed to en-sure that the test transaction use case ratio is as close to the benchmark as possible from the source.The transaction mixing queue implements the overall control of the over the mixing ratio of test transaction cases.The delayed end strategy eliminates the bumping of the transaction mix ratio caused by test tail-breaking.In addition,a dynamic thread pool model is proposed to reduce resource consumption.This model can effectively improve system response when there are too many requests and effectively utilize system resources when there are too few requests.Finally,the queue caching mechanism is introduced into the test system.Caching the request to send highly concurrent things in the queue alleviates the problem of instantaneous resource preemption caused by the creation of a large number of threads.Experiments verify the effectiveness,stability and suitability of the test system.

Transaction distribution controlDynamic thread poolQueue cacheHigh concurrency

熊婧、廉建芳、杨攀飞

展开 >

华中科技大学,湖北 武汉 430000

工业和信息化部电子第五研究所,广东 广州 510000

基础软硬件性能与可靠性测评工业和信息化部重点实验室,广东 广州 510000

事务分发控制 动态线程池 队列缓存 高并发

2024

计算机仿真
中国航天科工集团公司第十七研究所

计算机仿真

CSTPCD
影响因子:0.518
ISSN:1006-9348
年,卷(期):2024.41(4)
  • 6