首页> 外国专利> TRACKING AND MAINTAINING EXPRESSION STATISTICS ACROSS DATABASE QUERIES

TRACKING AND MAINTAINING EXPRESSION STATISTICS ACROSS DATABASE QUERIES

机译:跟踪和维护数据库查询中的表达统计信息

摘要

Techniques are described for maintaining an expression statistics store that stores and updates metadata values for query expressions based on the occurrence of those query expressions within queries. In an embodiment, a database server instance receives a database query. In response, the database server instance identifies expressions within the database queries. The database server instance then determines whether an expression statistics store includes an entry for the particular expression. Responsive to determining that the expression statistics store includes an entry for the particular expression, the database server instance updates at least one metadata value in the entry based on the occurrence of the particular expression. Responsive to determining that the expression statistics store does not include an entry for the particular expression, the database server instance adds an entry for the particular expression.
机译:描述了用于维护表达式统计存储的技术,该存储基于查询中查询查询的出现而存储和更新查询表达式的元数据值。在一个实施例中,数据库服务器实例接收数据库查询。作为响应,数据库服务器实例标识数据库查询中的表达式。然后,数据库服务器实例确定表达式统计信息存储是否包括特定表达式的条目。响应于确定表达式统计信息存储包括用于特定表达式的条目,数据库服务器实例基于特定表达式的出现来更新条目中的至少一个元数据值。响应于确定表达式统计信息存储区不包括特定表达式的条目,数据库服务器实例添加了特定表达式的条目。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号