[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-656143-105":59,"doc-detail-656143-en":130,"doc-similar-656143":163},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","star-schema-join-support-within-db2-for-i-abstract-and-overview","Star-schema join support within DB2 for i - Abstract and Overview","","This paper explains how IBM DB2 for i supports star-schema join queries in a business intelligence environment. It outlines a dedicated optimization strategy for star-schema and snowflake-schema joins, focusing on how the DB2 for i optimizer recognizes and efficiently executes these analytical SQL requests. The document positions star and snowflake models within data warehousing, describing fact and dimension structures and the typical multidimensional query goals.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/star-schema-join-support-within-db2-for-i-abstract-and-overview/656143/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/star-schema-join-support-within-db2-for-i-abstract-and-overview/656143.png","ImageObject",300,407,{"name":92,"@type":93},"Valentina","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-26","2026-10-25",true,{"@type":102,"interactionType":103,"userInteractionCount":44},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is the main focus of this paper?","Question",{"text":112,"@type":113},"The paper explains how IBM DB2 for i supports star-schema join queries for business intelligence, including a specialized optimization strategy for star-schema and snowflake-schema joins.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does a star schema structure data?",{"text":117,"@type":113},"A star schema centralizes a fact table and surrounds it with highly normalized dimension tables, where the fact table depends on the dimension tables via a parent/child relationship.",{"name":119,"@type":110,"acceptedAnswer":120},"What is a star-schema join query used for?",{"text":121,"@type":113},"It supports multidimensional OLAP-style requests, such as retrieving sales figures for a specific customer, time period, and product based on intersections in the fact table.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},656143,1793095692,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":44,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":145,"preview_page_count":19,"preview_urls":146},13056703020460,"https://ap-avatar.wpscdn.com/avatar/be000253dac470eee5d?_k=1778207105932848923","Star-schema join support within DB2 for i  \n. . . . . . . .  \n.  \nMichael W. Cain  \nDB2for i Centerfor Excellence IBM Systems and Technology Group December 2011  \n© Copyright IBM Corporation, 2011. All Rights Reserved.  \nAll trademarks or registered trademarks mentioned herein are the property of their respective holders  \nTable of contents  \nAbstract........................................................................................................................................1  \nIntroduction .................................................................................................................................1  \nOverview of star schema............................................................................................................1  \nStar-schema join queries ...........................................................................................................3  \nSQE optimizer enhancements for star-schema join queries ..................................................4  \nSupport details for star-schema joins.......................................................................................4  \nSnowflake schemas ..................................................................................................................10  \nStar-schema join support requirements .................................................................................12  \nLimitations and considerations ...............................................................................................13  \nAutonomic Index Advice ..........................................................................................................14  \nIndexing strategy example .......................................................................................................17  \nSummary....................................................................................................................................18  \nAppendix A: Resources............................................................................................................19  \nAppendix B: About the author .................................................................................................19  \nTrademarks and special notices..............................................................................................20  \nStar-schema join support within DB2 for i  \nAbstract  \n\n| This paper explains how IBM DB2 for i supports star-schema join queries in a business intelligence environment.\u003Cbr>Introduction |\n| --- |\n| This paper provides information on a special IBM® DB2® for IBM i® optimization strategy for star-schema and snowflake-schema join queries. The paper does not attempt to introduce or explain database query optimization techniques or implementation methods.\u003Cbr>It is strongly recommended that database administrators, analysts and developers who are either new to the IBM i platform or unfamiliar with SQL programming techniques attend the “DB2 for i SQL and Query Performance Monitoring, Analysis and Tuning” workshop. This education covers the proper way to architect and implement a high-performing DB2 for i solution. More information regarding this course can be found at: [http://www.ibm.com/systems/i/software/db2/db2performance.html](http://www.ibm.com/systems/i/software/db2/db2performance.html).\u003Cbr>Overview of star schema |\n\nThere are various kinds of data models that are used to support business requirements. In some environments, a specialized data model exists for business analysis. This data model is commonly referred to as a star schema. A star-schema model contains a centralized table (known as the “fact table”) and is surrounded by highly normalized tables (known as “dimension tables”) . The name “star schema”reflects the fact that the data model looks like a star; the dimension tables appear as points of a star surrounding the fact table (see Figure 1) .  \nFigure 1. The star-schema model  \nStar-schema join support within DB2 fo","cbCaikCaf99keAOS","https://ap.wps.com/l/cbCaikCaf99keAOS","pdf",230747,22,"English","# Abstract\n# Introduction\n# Overview of star schema\n# Star-schema join queries\n# SQE optimizer enhancements for star-schema join queries\n# Support details for star-schema joins\n# Snowflake schemas\n# Star-schema join support requirements\n# Limitations and considerations\n# Autonomic Index Advice\n# Indexing strategy example\n# Summary\n# Appendix A: Resources\n# Appendix B: About the author\n# Trademarks and special notices","[{\"question\":\"What is the main focus of this paper?\",\"answer\":\"The paper explains how IBM DB2 for i supports star-schema join queries for business intelligence, including a specialized optimization strategy for star-schema and snowflake-schema joins.\"},{\"question\":\"How does a star schema structure data?\",\"answer\":\"A star schema centralizes a fact table and surrounds it with highly normalized dimension tables, where the fact table depends on the dimension tables via a parent/child relationship.\"},{\"question\":\"What is a star-schema join query used for?\",\"answer\":\"It supports multidimensional OLAP-style requests, such as retrieving sales figures for a specific customer, time period, and product based on intersections in the fact table.\"}]","Star-schema join support within DB2 for i - Abstract and Overview | PDF",1792966698,55,[147,151,155,159],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/66f241c451265095c4b3f31f1c8cb747.webp",983,1272,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/5c3f1544b0cbc06a17042bfbe2d94d12.webp",982,1270,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/b2e8d9e22d0f9d9f8b721988b146bd4f.webp",981,1269,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/eeb5ae662ef887dc89e1bca2f52570d2.webp",980,1268,{"list":164,"token":66},[165,171,177,184,191,198,205,212,219,225],{"doc_id":166,"doc_title":167,"file_type":137,"home_preview_img_url":168,"slug":169,"view_count":8,"category_name":40,"create_tm":170},760750,"Machine Learning for Query Optimization","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044250547/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108999&Signature=huk%2FqkyQVcmzFjPuN7ToqsAfxIg%3D","machine-learning-for-query-optimization",1795908973,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":34,"category_name":40,"create_tm":176},656123,"Visual Schemas and Queries for Knowledge Graph Exploration - interactive method for schema-based visual querying","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974785462/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108999&Signature=OA3nC9FdwgA%2FLgd1zJHaklaXdR8%3D","visual-schemas-and-queries-for-knowledge-graph-exploration-interactive-method-for-schema-based-visual-querying",1792966531,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":182,"category_name":40,"create_tm":183},326420,"High-Dimensional Indexing - Transformational Approaches to High-Dimensional Range and Similarity Searches","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229909047188/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108999&Signature=kVA%2BbIkqDT3d%2FwSQqEkgNJuB3Qo%3D","high-dimensional-indexing-transformational-approaches-to-high-dimensional-range-and-similarity-searches",13,1789974060,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":189,"category_name":40,"create_tm":190},84701,"TabQueryBench：面向合成表格数据的以查询为中心基准","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809197450/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108999&Signature=Do7DeTq3tt%2BqqPkUMV5yZqWsOjQ%3D","tabquerybench-a-query-centric-benchmark-for-synthetic-tabular-data",31,1784197736,{"doc_id":192,"doc_title":193,"file_type":137,"home_preview_img_url":194,"slug":195,"view_count":196,"category_name":40,"create_tm":197},83061,"Spider 2.0-AIFunc: Extending Real-World Text-to-SQL to AI-Native SQL Workflows","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808930790/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108999&Signature=oTXhqF66HS%2B%2FfbMwusttWzQtHCA%3D","spider-20-aifunc-extending-real-world-text-to-sql-to-ai-native-sql-workflows",39,1784184934,{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":203,"category_name":40,"create_tm":204},930,"Fundamentals of Data Warehouses Preface","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229695200067/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108999&Signature=5rsi0ejjkLFfrgC2tMlS0HpHw4Q%3D","fundamentals-of-data-warehouses-preface",46,1776241072,{"doc_id":206,"doc_title":207,"file_type":137,"home_preview_img_url":208,"slug":209,"view_count":210,"category_name":40,"create_tm":211},496376,"ParSEval - Plan-aware Test Database Generation for SQL Equivalence Evaluation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229929827264/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108999&Signature=ulnKJ4YDU1Z3Z9pTRC5fadsjKlE%3D","parseval-plan-aware-test-database-generation-for-sql-equivalence-evaluation",11,1790931347,{"doc_id":213,"doc_title":214,"file_type":137,"home_preview_img_url":215,"slug":216,"view_count":217,"category_name":40,"create_tm":218},118117,"Accelerating Machine Learning Queries with Linear Algebra - Query Processing - SSDBM Paper","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229834738773/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108999&Signature=rCEJDWoLPYRecjM8vT5gDCuepc8%3D","accelerating-machine-learning-queries-with-linear-algebra-query-processing-ssdbm-paper",23,1785681690,{"doc_id":220,"doc_title":221,"file_type":137,"home_preview_img_url":222,"slug":223,"view_count":46,"category_name":40,"create_tm":224},328156,"What Predicts Correctness in Text-to-SQL? - A SelectivePrediction Study","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229909366448/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108999&Signature=%2FQjFAfiyTkJWP%2FyQ9mAWtfFpFTc%3D","what-predicts-correctness-in-text-to-sql-a-selectiveprediction-study",1789978750,{"doc_id":226,"doc_title":227,"file_type":137,"home_preview_img_url":228,"slug":229,"view_count":24,"category_name":40,"create_tm":230},609274,"Narrative SQL - Crafting Data Analysis Queries That Tell Stories - Introduction","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229960028095/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108999&Signature=B2Y3lj%2Fc34FoXl%2BGWIkJG2hBv28%3D","narrative-sql-crafting-data-analysis-queries-that-tell-stories-introduction",1792358209]