摘要
已经存在的SQL聚集函数在计算百分比方面有明显的限制,提出2种水平与垂直百分比聚集函数用于计算百分比。新的聚集函数容易使用,有广泛的用途,可以被用于作为一种框架去研究百分比查询,能有效地生成SQL代码。实验研究给出百分比聚集方法与SQL/OLAP聚集方法的执行性能,结果显示这2种方法在性能上比SQL/OLAP聚集方法有一定的改善。
Current SQL aggregate functions have evident limitations for computing percentages. This paper proposes two SQL aggregation functions for computing percentages. The two novel aggregation functions are easy to use, have wide applicability and can be efficiently evaluated. They may be used as a framework to study percentage queries and to generate efficient SQL code. Experiments compare the proposed percentage aggregations against queries using SQL/OLAP aggregations. Experimental results show that both proposed aggregations are significantly faster than existing SQL/OLAP aggregation functions.
出处
《计算机工程》
CAS
CSCD
北大核心
2009年第16期73-75,共3页
Computer Engineering
基金
湖南省教育厅科学研究基金资助项目(08B040)
湖南第一师范学院院级基金资助项目(XYS07N13)