- 1、本文档共30页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Enabling Cost-based Optimization for Top-k Queries- A Unified .ppt
Supporting Ad-Hoc Ranking Aggregates Chengkai Li (UIUC) joint work with Kevin Chang (UIUC) Ihab Ilyas (Waterloo) Ranking (Top-k) Queries Find the top k answers with respect to a ranking function, which often is the aggregation of multiple criteria. Ranking is important in many database applications: E-Commerce Find the best hotel deals by price, distance, etc. Multimedia Databases Find the most similar images by color, shape, texture, etc. Search Engine Find the most relevant records/documents/pages. OLAP, Decision Support Find the top profitable customers to send ads. RankSQL: a RDBMS with Efficient Support of Ranking Queries Rank-Aware Query Operators [SIGMOD02, VLDB03] Algebraic Foundation and Optimization Framework [SIGMOD04, SIGMOD05] SPJ queries (SELECT … FROM … WHERE … ORDER BY …) Ad-Hoc Ranking Aggregate Queries [SIGMOD06] top k groups instead of tuples. (SELECT … FROM … WHERE … GROUP BY … ORDER BY …) Example 1: Advertising an insurance product What are the top 5 areas to advertise a new insurance product? SELECT zipcode, AVG(income*w1+age*w2+credit*w3) as score FROM customer WHERE occupation=‘student’ GROUP BY zipcode ORDER BY score LIMIT 5 Example 2: Finding the most profitable combinations What are the 5 most profitable pairs of (product category, sales area)? SELECT P.cateogy, S.zipcode, MID_SUM(S.price - P.manufact_price) as score FROM products P, sales S WHERE P.p_key=S.p_key GROUP BY P.category, S.zipcode ORDER BY score LIMIT 5 Ad-Hoc Ranking Ranking Condition : F=G(T) e.g. AVG (income*w1+age*w2+credit*w3) MID_SUM (S.price - P.manufact_price) G: group-aggregate function Standard (e.g., sum, avg) User-defined (e.g., mid_sum) T: tuple-aggregate function arbitrary expression e.g., AVG (income*w1+age*w2+credit*w3), w1, w2, w3 can be any values. W
您可能关注的文档
- 99-1-7(2785 KB ).ppt
- a)对质量管理体系进行策划 - 山东职业学院.ppt
- A.太阳辐射.ppt
- Access Medicine收录书籍的在线更新信息 - 广东医学院.ppt
- acquisition rates effect on multiparametric rare event analysis.ppt
- ACT 117 - Vermont School Boards Association.ppt
- ADO(ppt) - 建國科技大學.ppt
- Aggregate functions - Thor.info.uaic.ro.ppt
- Aggregate Functions.ppt
- Air Quality Monitoring and Management in - Clean Air Asia.ppt
最近下载
- 2023《基于4P营销理论的斯拉新能源汽车营销策略分析》9600字.docx
- 5.2 珍惜师生情谊 课件-2024-2025学年统编版道德与法治七年级上册 .pptx VIP
- 5.2 珍惜师生情谊 课件-2024-2025学年统编版道德与法治七年级上册.pptx VIP
- 初中英语的课堂观察量表4.pdf VIP
- 外研版(三起)四年级上册英语知识汇总.docx VIP
- 第二单元写作+写人要关注事例和细节-统编版高中语文必修上册.pptx VIP
- 人教版七年级上册生物全册新质教学课件(配2024年秋改版教材).pptx
- 分部分项划分方案.doc
- 第三单元《分数除法》教材解读--精品课件-新人教版数学六年级上册.pptx VIP
- 国内外职业教育发展现状及趋势.ppt
文档评论(0)