首页> 外国专利> Database system optimization method, system, electronic apparatus, and storage medium

Database system optimization method, system, electronic apparatus, and storage medium

机译:数据库系统优化方法,系统,电子设备和存储介质

摘要

The disclosure relates to a method and system of optimizing a database system, an electronic device and a computer readable storage medium. The method of optimizing the database system includes: snapshotting performance data of each Structured Query Language (SQL) sentence of the database system every preset first time, and arranging and storing snapshots according to a time sequence, wherein the performance data include the number of times of executions and a buffer gets data volume; correspondingly carrying out variance calculation on the performance data of the current snapshot and the performance data of the former snapshot respectively to calculate a total buffer gets data volume and a single-execution buffer gets data average volume which correspond to each SQL sentence within the preset first time; obtaining a value sum of the total buffer gets data volume and the single-execution buffer gets data average volume of each SQL sentence, and selecting an SQL sentence to be optimized on the basis of the value sum. The disclosure can accurately position the SQL sentence to be optimized, and improve the optimization efficiency.
机译:本公开涉及优化数据库系统,电子设备和计算机可读存储介质的方法和系统。一种优化数据库系统的方法,包括:每次预设的第一时间对数据库系统的每个结构化查询语言语句的性能数据进行快照,并按照时间顺序排列和存储快照,所述性能数据包括次数。执行次数和缓冲区获取数据量;分别对当前快照的性能数据和前快照的性能数据分别进行方差计算,计算出与预设的第一个SQL语句相对应的总缓冲区获取数据量和单执行缓冲区获取数据平均量时间;获得总缓冲区的值之和得到每个SQL语句的数据量,而单执行缓冲区得到每个SQL语句的数据平均量,并根据该值之和选择要优化的SQL语句。本发明可以准确地定位待优化的SQL语句,提高了优化效率。

著录项

  • 公开/公告号JP6570156B2

    专利类型

  • 公开/公告日2019-09-04

    原文格式PDF

  • 申请/专利权人 平安科技(深▲せん▼)有限公司;

    申请/专利号JP20180532071

  • 发明设计人 汪 洋;

    申请日2017-06-30

  • 分类号G06F16/21;

  • 国家 JP

  • 入库时间 2022-08-21 12:18:49

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号