首页> 外国专利> METHOD AND SYSTEM FOR IMPROVING SQL DATABASE QUERY PERFORMANCE

METHOD AND SYSTEM FOR IMPROVING SQL DATABASE QUERY PERFORMANCE

机译:改善sql数据库查询性能的方法和系统

摘要

Methods and systems for rewriting database queries, and in particular databases using Structured Query Language (SQL). The method comprises the steps of reviewing a SQL query statement having a SELECT list to determine if a view definition of the query has one or more unreferenced view columns; and removing at least one of the one or more unreferenced view columns from the view definition. The step of removing at least one of the one or more unreferenced view columns may also include removing all of the one or more unreferenced view columns from the view definition. This method improves performance of a query given that the spool file generated by the query rule contains minimal amount of data necessary for the query to be processed.
机译:用于重写数据库查询,尤其是使用结构化查询语言(SQL)的数据库的方法和系统。该方法包括以下步骤:检查具有SELECT列表的SQL查询语句,以确定查询的视图定义是否具有一个或多个未引用的视图列;并从视图定义中删除一个或多个未引用视图列中的至少一个。移除一个或一个以上未参考视图列中的至少一个的步骤还可以包括从视图定义中移除所有一个或一个以上未参考视图列。假定查询规则生成的假脱机文件包含处理查询所必需的最少数据量,则此方法可提高查询的性能。

著录项

  • 公开/公告号US2008147596A1

    专利类型

  • 公开/公告日2008-06-19

    原文格式PDF

  • 申请/专利权人 WILLIAM MCKENNA;AHMAD GHAZAL;

    申请/专利号US20060612005

  • 发明设计人 WILLIAM MCKENNA;AHMAD GHAZAL;

    申请日2006-12-18

  • 分类号G06F17/30;G06F7/00;

  • 国家 US

  • 入库时间 2022-08-21 20:15:26

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号