数据库操作方法和装置

By constructing a mapping relationship between metadata and entity objects and a second-level cache of execution plans, the performance bottleneck and consistency issues of data services in big data BI scenarios are solved, local cache query and fast recovery capabilities are realized, and the stability and scalability of data services are improved.

CN118690068BActive Publication Date: 2026-07-17BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING WODONG TIANJUN INFORMATION TECH CO LTD
Filing Date
2024-06-24
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Existing technologies exhibit significant performance bottlenecks and data inconsistencies in big data BI scenarios, particularly when relying on external microservices, and lack rapid recovery capabilities.

Method used

By constructing a two-level cache that maps metadata to entity objects and execution plans, local cache queries are enabled, avoiding dependence on external services. Related entities are encapsulated into a single entity object for circulation, ensuring data consistency, and the cache is updated promptly when metadata changes.

Benefits of technology

It effectively avoids performance bottlenecks caused by external services, ensures data consistency, and supports the stability and scalability of data services through the rapid recovery capability of local caching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690068B_ABST
    Figure CN118690068B_ABST
Patent Text Reader

Abstract

本公开的实施例公开了数据库操作方法和装置。该方法的一具体实施方式包括:响应于接收到数据库操作请求,确定数据库操作请求包含的元数据;从预先构建的第一缓存中查找元数据对应的实体对象,其中,第一缓存用于存储元数据与实体对象之间的对应关系,实体对象基于对具有依赖关系的元数据对应的实体封装得到;从预先构建的第二缓存中查找实体对象对应的执行计划,其中,第二缓存用于存储实体对象与执行计划之间的对应关系;根据执行计划执行对应的数据库操作。该实施方式有助于避免对外部服务的依赖,同时保证数据一致性。
Need to check novelty before this filing date? Find Prior Art