一种支持容错的关系型数据库查询方法、系统、设备及存储介质

By adding thread count and the EXACT keyword to the SQL statement of a relational database, and using a method of parallel computation by the main thread and the check thread, the problem of inaccurate queries caused by silent CPU errors in financial-grade databases is solved, achieving efficient and low-cost fault-tolerant queries that meet the elastic expansion requirements of modern databases.

CN121277977BActive Publication Date: 2026-07-17HARBIN HARBIN CONSUMER FINANCE CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HARBIN HARBIN CONSUMER FINANCE CO LTD
Filing Date
2025-10-10
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Existing financial-grade relational databases cannot identify and correct silent CPU errors, resulting in inaccurate query results. Furthermore, they have high deployment costs and resource consumption, making them difficult to adapt to the elastic scaling requirements of modern databases.

Method used

By adding the thread count n and the EXACT keyword to the SQL statement of the relational database, and through parallel computation by the main thread and multiple checking threads, dynamic verification and cross-validation of intermediate results, fine-grained resource scheduling and elastic fault tolerance mechanism are achieved, reducing redundant computation.

Benefits of technology

It provides accurate query results in the event of a silent CPU error, reducing deployment costs, improving resource utilization, reducing unnecessary resource overhead, and achieving an efficient fault tolerance mechanism.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121277977B_ABST
    Figure CN121277977B_ABST
Patent Text Reader

Abstract

一种支持容错的关系型数据库查询方法、系统、设备及存储介质,为解决Oracle数据库数据查询结果不准确,在应用时成本较高;IBM大型机数据查询时要较高部署和维护成本,同时其面对的是所有计算任务的校验,性能损耗大;不论用户查询需求是否精确,关系型数据库都进行全量的冗余计算,造成不必要的资源开销的问题。本发明在关系型数据库的SQL语句中加入线程数构造SQL新语句,当线程数为1时只有主线程,当线程数大于1时包括一个主线程和多个检查线程。用户在查询时根据查询问题自定义线程数,主线程独自执行具有非计算属性的节点;主线程和检查线程同步计算具有计算属性的节点,比较多个结果后输出一个正确结果,执行上述节点过程,输出查询结果。
Need to check novelty before this filing date? Find Prior Art