Data Warehousing and Bitmap Indexes - More than just some bits

Trivadis
TrivadisTrivadis
MORE THAN JUST SOME BITS… 
Data Warehousing and Bitmap Indexes 
Dani Schnider, Trivadis AG 
Oracle Open World 2011, 
San Francisco 
BASEL BERN BRUGG LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN 
2014 © Trivadis 
Data Warehouseing & Bitmap Indexes 
02.10.2011 
1
Dani Schnider 
 Principal Consultant und 
DWH/BI Lead Architect 
bei Trivadis in Zürich 
 Teacher for courses about 
Data Warehousing, SQL 
Optimization and Oracle 
Warehouse Builder 
 Co-author of book «Data 
Warehousing mit Oracle» 
2014 © Trivadis 
2 
Fehlertolerante Ladeprozesse 
18. April 2012
Mit über 600 IT- und Fachexperten bei Ihnen vor Ort 
2014 © Trivadis 
11 Trivadis Niederlassungen mit 
über 600 Mitarbeitenden 
200 Service Level Agreements 
Mehr als 4'000 Trainingsteilnehmer 
Forschungs- und Entwicklungs-budget: 
CHF 5.0 / EUR 4 Mio. 
Finanziell unabhängig und 
nachhaltig profitabel 
Erfahrung aus mehr als 1'900 
Projekten pro Jahr bei über 800 
Kunden 
Stand 12/2012 
Hamburg 
Düsseldorf 
Frankfurt 
Freiburg 
München 
Wien 
Basel 
Bern Zürich 
Lausanne 
3 
Stuttgart 
Data Warehouseing & Bitmap Indexes 
02.10.2011 
3
2014 © Trivadis 
Data Warehouseing & Bitmap Indexes 
02.10.2011 
4 
SOME BITS ABOUT 
BITMAP INDEXES 
AND THEIR USAGE IN 
DATA WAREHOUSES
Bitmap Indexes – Concept 
Oracle® Database Concepts 11g Release 2 (11.2) 
2014 © Trivadis 
Data Warehouseing & Bitmap Indexes 
02.10.2011 
5
Bitmap Indexes – Concept 
2014 © Trivadis 
Data Warehouseing & Bitmap Indexes 
02.10.2011 
6
Bitmap Indexes – Example 
2014 © Trivadis 
Data Warehouseing & Bitmap Indexes 
02.10.2011 
7
Comparison B-tree Index / Bitmap Index 
2014 © Trivadis 
Data Warehouseing & Bitmap Indexes 
02.10.2011 
8
Comparison B-tree Index / Bitmap Index 
2014 © Trivadis 
Data Warehouseing & Bitmap Indexes 
02.10.2011 
9
Concatenated Bitmap Indexes 
Bitmap Indexes on two or more columns are possible, but not useful 
2014 © Trivadis 
Why? 
 Concatenated bitmap index can be used only when all columns are 
filtered 
 Two or more separate bitmap indexes are more flexible and can be used 
for all combinations 
Data Warehouseing & Bitmap Indexes 
02.10.2011 
10
Index Strategy on Star Schema 
 Dimension Tables: 
 Unique b-tree index on primary key column 
 Bitmap indexes on additional columns (optional) 
 Fact Tables: 
 Bitmap indexes on all dimension key (foreign key) columns 
 Bitmap join indexes on often used filter columns (optional) 
 Usually no primary key on fact tables 
2014 © Trivadis 
Data Warehouseing & Bitmap Indexes 
02.10.2011 
11
Index Strategy on Star Schema 
2014 © Trivadis 
Data Warehouseing & Bitmap Indexes 
02.10.2011 
12
Query Optimization on Star Schemas 
 Typical Queries: 
 Filter criteria on (multiple) dimension 
2014 © Trivadis 
tables 
 Facts are selected by join with 
dimensions 
 Problem: 
 Tables with restrictions should be 
read first 
 Only two tables can be joined at a 
time 
 No relationships between dimension 
tables 
Data Warehouseing & Bitmap Indexes 
02.10.2011 
13
Star Transformation – Concept 
2014 © Trivadis 
Data Warehouseing & Bitmap Indexes 
02.10.2011 
14
Star Transformation – Example 
What is the total revenue for product “Shorts” for all customers in Germany, 
grouped by male and female customers? 
2014 © Trivadis 
Data Warehouseing & Bitmap Indexes 
02.10.2011 
15
Star Transformation – Example 
2014 © Trivadis 
Data Warehouseing & Bitmap Indexes 
02.10.2011 
16
Bitmap Join Index – Concept 
 Bitmap index is defined on fact 
2014 © Trivadis 
table 
 Indexed column is part of 
dimension table 
 Possible for star and snowflake 
schemas 
Data Warehouseing & Bitmap Indexes 
02.10.2011 
17
Bitmap Join Index – Example 
Same example with Bitmap Join Indexes 
2014 © Trivadis 
Data Warehouseing & Bitmap Indexes 
02.10.2011 
18 
Demo
Bitmap Indexes and ETL 
 Bitmap indexes are efficient for set-based ETL 
 Index maintenance is deferred until end of each DML operation 
 Efficient index maintenance for Parallel DML 
 Avoid “hand-made” parallel ETL with multiple sessions 
 Locking behavior of bitmap indexes 
 For large data loads: Rebuild indexes after ETL operation 
 Set all indexes to UNUSABLE 
 Load data into table 
 Rebuild all indexes 
2014 © Trivadis 
Data Warehouseing & Bitmap Indexes 
02.10.2011 
19
Bitmap Indexes and Partitioning 
 Bitmap Indexes must always be LOCAL 
 Local indexes are recommended in Data Warehouse 
 Only purpose of global indexes in DWH: unique indexes without partition key 
  Restriction of local bitmap indexes is not a problem 
2014 © Trivadis 
Data Warehouseing & Bitmap Indexes 
02.10.2011 
20
Bitmap Indexes and Compression 
 Bitmap Indexes are always compressed 
 Zeros are compressed, Ones are not compressed 
 Bitmap contains number of zeros to next 1 bit 
 Bitmap Indexes need less disk space than B-tree Indexes 
 Even for columns with high number of distinct keys 
 Detail description see «Bitmap Index Internals», © Julian Dyke 
 http://www.juliandyke.com/Presentations/BitmapIndexInternals.ppt 
2014 © Trivadis 
Data Warehouseing & Bitmap Indexes 
02.10.2011 
21
Bitmap Indexes and Compression 
 Number of distinct keys has impact on size of index 
 Bitmap index is usually smaller than b-tree index 
 For high number of keys, size of bitmap index increases 
 Size of b-tree index is more or less constant 
 Sort order affects size of bitmap index, but not of b-tree index 
2014 © Trivadis 
350 
300 
250 
200 
150 
100 
50 
Data Warehouseing & Bitmap Indexes 
02.10.2011 
22 
Demo 
0 
10 100 1000 10000 100000 
Bitmap (scattered) Bitmap (sorted) B-tree index
Bitmap Indexes and Compression 
 Enabling table compression 
 When a table is enabled for compression, all bitmap indexes must be disabled 
 Reason: Hakan factor of table 
 Maximum number of rows that can be stored in a table block 
 Hakan factor changes when table is enabled for compression (only first time) 
2014 © Trivadis 
Data Warehouseing & Bitmap Indexes 
02.10.2011 
23 
Demo
Bitmap Indexes – Conclusion 
 Bitmap Indexes are a powerful Data Warehouse feature 
 Can be combined in ad hoc queries 
 Star Transformation 
 Useful for selective and non-selective columns 
 Bitmap Indexes are useful for large databases 
 Efficient for set-based ETL and Parallel DML 
 Local bitmap indexes on partitioned tables 
 Compression of bitmap indexes 
 There are almost no reasons to use b-tree indexes in a Data Warehouse 
 B-tree indexes are mainly used for Primary Key or Unique Key constraints 
2014 © Trivadis 
Data Warehouseing & Bitmap Indexes 
02.10.2011 
24
References 
 Oracle® Database Data Warehousing Guide 11g Release 2 (11.2) 
 Oracle Corporation, http://www.oracle.com/pls/db112/ 
 Oracle® Database Concepts 11g Release 2 (11.2) 
 Oracle Corporation, http://www.oracle.com/pls/db112/ 
 Christian Antognini: Troubleshooting Oracle Performance 
 Apress, http://www.apress.com/9781590599174 
 Jonathan Lewis: Cost-Based Oracle Fundamentals 
 Apress, http://www.apress.com/9781590596364 
 Julian Dyke: Bitmap Index Internals 
 http://www.juliandyke.com/Presentations/BitmapIndexInternals.ppt 
2014 © Trivadis 
Data Warehouseing & Bitmap Indexes 
02.10.2011 
25
THANK YOU. 
Trivadis AG 
Dani Schnider 
Europa-Strasse 5 
CH-8152 Glattbrugg/Zürich 
Switzerland 
Tel. +41 44 808 70 20 
Fax +41 44 808 70 21 
info@trivadis.com 
www.trivadis.com 
BASEL BERN BRUGG LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN 
2014 © Trivadis 
Data Warehouseing & Bitmap Indexes 
02.10.2011 
26
1 of 26

Recommended

オラクルのDX事例から学ぶ「次世代クラウド・インフラストラクチャとは?」第16回しゃちほこオラクル俱楽部 by
オラクルのDX事例から学ぶ「次世代クラウド・インフラストラクチャとは?」第16回しゃちほこオラクル俱楽部オラクルのDX事例から学ぶ「次世代クラウド・インフラストラクチャとは?」第16回しゃちほこオラクル俱楽部
オラクルのDX事例から学ぶ「次世代クラウド・インフラストラクチャとは?」第16回しゃちほこオラクル俱楽部オラクルエンジニア通信
696 views61 slides
林佳賢/資料視覺化的 20 個小訣竅 by
林佳賢/資料視覺化的 20 個小訣竅林佳賢/資料視覺化的 20 個小訣竅
林佳賢/資料視覺化的 20 個小訣竅台灣資料科學年會
26.2K views46 slides
Db2 & Db2 Warehouse v11.5.4 最新情報アップデート2020年8月25日 by
Db2 & Db2 Warehouse v11.5.4 最新情報アップデート2020年8月25日Db2 & Db2 Warehouse v11.5.4 最新情報アップデート2020年8月25日
Db2 & Db2 Warehouse v11.5.4 最新情報アップデート2020年8月25日IBM Analytics Japan
710 views45 slides
z16 zOS Support - March 2023 - SHARE in Atlanta.pdf by
z16 zOS Support - March 2023 - SHARE in Atlanta.pdfz16 zOS Support - March 2023 - SHARE in Atlanta.pdf
z16 zOS Support - March 2023 - SHARE in Atlanta.pdfMarna Walle
392 views43 slides
Introduction of ISPF by
Introduction of ISPFIntroduction of ISPF
Introduction of ISPFAnil Bharti
1.9K views45 slides
SKILLWISE-DB2 DBA by
SKILLWISE-DB2 DBASKILLWISE-DB2 DBA
SKILLWISE-DB2 DBASkillwise Group
959 views349 slides

More Related Content

What's hot

Zenoh Tutorial by
Zenoh TutorialZenoh Tutorial
Zenoh TutorialAngelo Corsaro
1K views33 slides
ロボット管理プラットフォーム「 RoboticBase 」の紹介 by
ロボット管理プラットフォーム「 RoboticBase 」の紹介ロボット管理プラットフォーム「 RoboticBase 」の紹介
ロボット管理プラットフォーム「 RoboticBase 」の紹介Kazuki Urabe
1.3K views20 slides
XenApp/XenDesktop環境でのアプリケーション互換性について by
XenApp/XenDesktop環境でのアプリケーション互換性についてXenApp/XenDesktop環境でのアプリケーション互換性について
XenApp/XenDesktop環境でのアプリケーション互換性についてKoji Yamada
7K views84 slides
Informatica Cloud Overview by
Informatica Cloud OverviewInformatica Cloud Overview
Informatica Cloud OverviewDarren Cunningham
21K views34 slides
Getting Started with NuoDB Community Edition by
Getting Started with NuoDB Community Edition Getting Started with NuoDB Community Edition
Getting Started with NuoDB Community Edition NuoDB
1.1K views26 slides
Banco de Dados IBM DB2 by
Banco de Dados IBM DB2Banco de Dados IBM DB2
Banco de Dados IBM DB2Leandro Matanovich Araújo
4.4K views12 slides

What's hot(20)

ロボット管理プラットフォーム「 RoboticBase 」の紹介 by Kazuki Urabe
ロボット管理プラットフォーム「 RoboticBase 」の紹介ロボット管理プラットフォーム「 RoboticBase 」の紹介
ロボット管理プラットフォーム「 RoboticBase 」の紹介
Kazuki Urabe1.3K views
XenApp/XenDesktop環境でのアプリケーション互換性について by Koji Yamada
XenApp/XenDesktop環境でのアプリケーション互換性についてXenApp/XenDesktop環境でのアプリケーション互換性について
XenApp/XenDesktop環境でのアプリケーション互換性について
Koji Yamada7K views
Getting Started with NuoDB Community Edition by NuoDB
Getting Started with NuoDB Community Edition Getting Started with NuoDB Community Edition
Getting Started with NuoDB Community Edition
NuoDB1.1K views
Talend Data Integration Tutorial | Talend Tutorial For Beginners | Talend Onl... by Edureka!
Talend Data Integration Tutorial | Talend Tutorial For Beginners | Talend Onl...Talend Data Integration Tutorial | Talend Tutorial For Beginners | Talend Onl...
Talend Data Integration Tutorial | Talend Tutorial For Beginners | Talend Onl...
Edureka!1.4K views
Presentation db2 connections to db2 for z os by xKinAnx
Presentation   db2 connections to db2 for z osPresentation   db2 connections to db2 for z os
Presentation db2 connections to db2 for z os
xKinAnx4.5K views
Talend Open Studio Data Integration by Roberto Marchetto
Talend Open Studio Data IntegrationTalend Open Studio Data Integration
Talend Open Studio Data Integration
Roberto Marchetto13.2K views
Snowflake: The most cost-effective agile and scalable data warehouse ever! by Visual_BI
Snowflake: The most cost-effective agile and scalable data warehouse ever!Snowflake: The most cost-effective agile and scalable data warehouse ever!
Snowflake: The most cost-effective agile and scalable data warehouse ever!
Visual_BI1.1K views
Talend ETL Tutorial | Talend Tutorial For Beginners | Talend Online Training ... by Edureka!
Talend ETL Tutorial | Talend Tutorial For Beginners | Talend Online Training ...Talend ETL Tutorial | Talend Tutorial For Beginners | Talend Online Training ...
Talend ETL Tutorial | Talend Tutorial For Beginners | Talend Online Training ...
Edureka!2.3K views
office365にまつわる怖い話し by Teruchika Yamada
office365にまつわる怖い話しoffice365にまつわる怖い話し
office365にまつわる怖い話し
Teruchika Yamada2.1K views
新しいTERASOLUNA Batch Frameworkとは by apkiban
新しいTERASOLUNA Batch Frameworkとは新しいTERASOLUNA Batch Frameworkとは
新しいTERASOLUNA Batch Frameworkとは
apkiban1.3K views
Automated Virtualized Testing (AVT) with Docker, Kubernetes, WireMock and Gat... by VMware Tanzu
Automated Virtualized Testing (AVT) with Docker, Kubernetes, WireMock and Gat...Automated Virtualized Testing (AVT) with Docker, Kubernetes, WireMock and Gat...
Automated Virtualized Testing (AVT) with Docker, Kubernetes, WireMock and Gat...
VMware Tanzu876 views
楽天市場データ + 機械学習を用いた予測事例の紹介 梅田卓志/楽天株式会社 by Rakuten Group, Inc.
楽天市場データ + 機械学習を用いた予測事例の紹介  梅田卓志/楽天株式会社楽天市場データ + 機械学習を用いた予測事例の紹介  梅田卓志/楽天株式会社
楽天市場データ + 機械学習を用いた予測事例の紹介 梅田卓志/楽天株式会社
Rakuten Group, Inc.1.3K views
Standard Edition High Availability (SEHA) - The Why, What & How by Markus Michalewicz
Standard Edition High Availability (SEHA) - The Why, What & HowStandard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & How
Markus Michalewicz4.1K views
Dell Technologies Dell EMC ISG Storage, CI, HCI and Data Protection Portfolio... by Dell Technologies
Dell Technologies Dell EMC ISG Storage, CI, HCI and Data Protection Portfolio...Dell Technologies Dell EMC ISG Storage, CI, HCI and Data Protection Portfolio...
Dell Technologies Dell EMC ISG Storage, CI, HCI and Data Protection Portfolio...
Dell Technologies1.1K views

Viewers also liked

María Cañizares: "Del software libre al open government" by
María Cañizares: "Del software libre al open government"María Cañizares: "Del software libre al open government"
María Cañizares: "Del software libre al open government"José Nafría
746 views18 slides
Cuadernos de actividades manual maltrato by
Cuadernos de actividades manual maltratoCuadernos de actividades manual maltrato
Cuadernos de actividades manual maltratoanabg16
1.5K views135 slides
Pago electrónico. by
Pago electrónico.Pago electrónico.
Pago electrónico.Dargor Melo
5.3K views14 slides
CRM - Einführung by
CRM - EinführungCRM - Einführung
CRM - EinführungFalk Neubert
11.8K views38 slides
Claves Para La Escritura De Un Buen Guion by
Claves Para La Escritura De Un Buen GuionClaves Para La Escritura De Un Buen Guion
Claves Para La Escritura De Un Buen GuionDaniel Dannery
27.3K views40 slides
Esterilizacion y desinfeccion by
Esterilizacion y desinfeccion Esterilizacion y desinfeccion
Esterilizacion y desinfeccion regina_estrella_14
46.7K views34 slides

Viewers also liked(20)

María Cañizares: "Del software libre al open government" by José Nafría
María Cañizares: "Del software libre al open government"María Cañizares: "Del software libre al open government"
María Cañizares: "Del software libre al open government"
José Nafría746 views
Cuadernos de actividades manual maltrato by anabg16
Cuadernos de actividades manual maltratoCuadernos de actividades manual maltrato
Cuadernos de actividades manual maltrato
anabg161.5K views
Pago electrónico. by Dargor Melo
Pago electrónico.Pago electrónico.
Pago electrónico.
Dargor Melo5.3K views
CRM - Einführung by Falk Neubert
CRM - EinführungCRM - Einführung
CRM - Einführung
Falk Neubert11.8K views
Claves Para La Escritura De Un Buen Guion by Daniel Dannery
Claves Para La Escritura De Un Buen GuionClaves Para La Escritura De Un Buen Guion
Claves Para La Escritura De Un Buen Guion
Daniel Dannery27.3K views
Investir dans les réseaux sociaux? - Conférence Alliance EPFL Mai 2011 - Beno... by WSI Business Performance
Investir dans les réseaux sociaux? - Conférence Alliance EPFL Mai 2011 - Beno...Investir dans les réseaux sociaux? - Conférence Alliance EPFL Mai 2011 - Beno...
Investir dans les réseaux sociaux? - Conférence Alliance EPFL Mai 2011 - Beno...
StructSure Scaffold Introduces Instant UpRight by StructSure
StructSure Scaffold Introduces Instant UpRightStructSure Scaffold Introduces Instant UpRight
StructSure Scaffold Introduces Instant UpRight
StructSure671 views
Wojciech góra by tutus10
Wojciech góraWojciech góra
Wojciech góra
tutus10267 views
Instrumentos de Financiación del ICO by Madrid Emprende
Instrumentos de Financiación del ICOInstrumentos de Financiación del ICO
Instrumentos de Financiación del ICO
Madrid Emprende638 views
Colmercedes, matanza version 1 by mariateron
Colmercedes, matanza version 1Colmercedes, matanza version 1
Colmercedes, matanza version 1
mariateron1.6K views
Zara , Un Imperio De La Ropa (Elena Y Ana Pino) by cotic21700642
Zara , Un Imperio De La Ropa (Elena Y Ana Pino)Zara , Un Imperio De La Ropa (Elena Y Ana Pino)
Zara , Un Imperio De La Ropa (Elena Y Ana Pino)
cotic217006423.2K views
FIWARE Developers Week_IoT Agents with Thinking Things and OMA lightweight M... by FIWARE
 FIWARE Developers Week_IoT Agents with Thinking Things and OMA lightweight M... FIWARE Developers Week_IoT Agents with Thinking Things and OMA lightweight M...
FIWARE Developers Week_IoT Agents with Thinking Things and OMA lightweight M...
FIWARE1.7K views
Designing for privacy in mobile applications by Vodafone developer
Designing for privacy in mobile applicationsDesigning for privacy in mobile applications
Designing for privacy in mobile applications
Vodafone developer4.1K views
Engineering Drawing: Chapter 09 section by mokhtar
Engineering Drawing: Chapter 09 sectionEngineering Drawing: Chapter 09 section
Engineering Drawing: Chapter 09 section
mokhtar53.2K views
Continuing airworthiness management organisation by S P Singh
Continuing airworthiness management organisationContinuing airworthiness management organisation
Continuing airworthiness management organisation
S P Singh13.1K views
001 sparen mit fonds by Udo Scheuss
001 sparen mit fonds001 sparen mit fonds
001 sparen mit fonds
Udo Scheuss1.9K views

Similar to Data Warehousing and Bitmap Indexes - More than just some bits

Partitioning your Oracle Data Warehouse - Just a simple task? by
Partitioning your Oracle Data Warehouse - Just a simple task?Partitioning your Oracle Data Warehouse - Just a simple task?
Partitioning your Oracle Data Warehouse - Just a simple task?Trivadis
2.4K views35 slides
DBT ELT approach for Advanced Analytics.pptx by
DBT ELT approach for Advanced Analytics.pptxDBT ELT approach for Advanced Analytics.pptx
DBT ELT approach for Advanced Analytics.pptxHong Ong
251 views34 slides
MicroStrategy Design Challenges - Tips and Best Practices by
MicroStrategy Design Challenges - Tips and Best PracticesMicroStrategy Design Challenges - Tips and Best Practices
MicroStrategy Design Challenges - Tips and Best PracticesBiBoard.Org
12.6K views26 slides
Streaming is a Detail by
Streaming is a DetailStreaming is a Detail
Streaming is a DetailHostedbyConfluent
41 views12 slides
Db2 update day 2015 managing db2 with ibm db2 tools svenn aage by
Db2 update day 2015   managing db2 with ibm db2 tools svenn aageDb2 update day 2015   managing db2 with ibm db2 tools svenn aage
Db2 update day 2015 managing db2 with ibm db2 tools svenn aagePeter Schouboe
733 views24 slides
DataWarehouse Explorer by
DataWarehouse ExplorerDataWarehouse Explorer
DataWarehouse ExplorerMDelpeut
652 views21 slides

Similar to Data Warehousing and Bitmap Indexes - More than just some bits(20)

Partitioning your Oracle Data Warehouse - Just a simple task? by Trivadis
Partitioning your Oracle Data Warehouse - Just a simple task?Partitioning your Oracle Data Warehouse - Just a simple task?
Partitioning your Oracle Data Warehouse - Just a simple task?
Trivadis2.4K views
DBT ELT approach for Advanced Analytics.pptx by Hong Ong
DBT ELT approach for Advanced Analytics.pptxDBT ELT approach for Advanced Analytics.pptx
DBT ELT approach for Advanced Analytics.pptx
Hong Ong251 views
MicroStrategy Design Challenges - Tips and Best Practices by BiBoard.Org
MicroStrategy Design Challenges - Tips and Best PracticesMicroStrategy Design Challenges - Tips and Best Practices
MicroStrategy Design Challenges - Tips and Best Practices
BiBoard.Org12.6K views
Db2 update day 2015 managing db2 with ibm db2 tools svenn aage by Peter Schouboe
Db2 update day 2015   managing db2 with ibm db2 tools svenn aageDb2 update day 2015   managing db2 with ibm db2 tools svenn aage
Db2 update day 2015 managing db2 with ibm db2 tools svenn aage
Peter Schouboe733 views
DataWarehouse Explorer by MDelpeut
DataWarehouse ExplorerDataWarehouse Explorer
DataWarehouse Explorer
MDelpeut652 views
IoT Architecture - are traditional architectures good enough or do we need n... by Guido Schmutz
 IoT Architecture - are traditional architectures good enough or do we need n... IoT Architecture - are traditional architectures good enough or do we need n...
IoT Architecture - are traditional architectures good enough or do we need n...
Guido Schmutz3.4K views
Canadian Experts Discuss Modern Data Stacks and Cloud Computing for 5 Years o... by Daniel Zivkovic
Canadian Experts Discuss Modern Data Stacks and Cloud Computing for 5 Years o...Canadian Experts Discuss Modern Data Stacks and Cloud Computing for 5 Years o...
Canadian Experts Discuss Modern Data Stacks and Cloud Computing for 5 Years o...
Daniel Zivkovic38 views
Enabling Self Service BI for OBIEE using Tableau by BI Connector
Enabling Self Service BI for OBIEE using TableauEnabling Self Service BI for OBIEE using Tableau
Enabling Self Service BI for OBIEE using Tableau
BI Connector1.5K views
Zurich Italia - IT Knowledge Base (English) by Neo4j
Zurich Italia - IT Knowledge Base (English)Zurich Italia - IT Knowledge Base (English)
Zurich Italia - IT Knowledge Base (English)
Neo4j70 views
Bridging the Last Mile: Getting Data to the People Who Need It (APAC) by Denodo
Bridging the Last Mile: Getting Data to the People Who Need It (APAC)Bridging the Last Mile: Getting Data to the People Who Need It (APAC)
Bridging the Last Mile: Getting Data to the People Who Need It (APAC)
Denodo 164 views
FDMEE Can Do That? by Alithya
FDMEE Can Do That?FDMEE Can Do That?
FDMEE Can Do That?
Alithya4.7K views
Denodo as the Core Pillar of your API Strategy by Denodo
Denodo as the Core Pillar of your API StrategyDenodo as the Core Pillar of your API Strategy
Denodo as the Core Pillar of your API Strategy
Denodo 819 views
Webinar on MongoDB BI Connectors by Sumit Sarkar
Webinar on MongoDB BI ConnectorsWebinar on MongoDB BI Connectors
Webinar on MongoDB BI Connectors
Sumit Sarkar3.6K views
Pivotal Digital Transformation Forum: Data Science Technical Overview by VMware Tanzu
Pivotal Digital Transformation Forum: Data Science Technical OverviewPivotal Digital Transformation Forum: Data Science Technical Overview
Pivotal Digital Transformation Forum: Data Science Technical Overview
VMware Tanzu1.2K views
Self-Service Analytics with Guard Rails by Denodo
Self-Service Analytics with Guard RailsSelf-Service Analytics with Guard Rails
Self-Service Analytics with Guard Rails
Denodo 508 views
451 Research + NuoDB: What It Means to be a Container-Native SQL Database by NuoDB
451 Research + NuoDB: What It Means to be a Container-Native SQL Database451 Research + NuoDB: What It Means to be a Container-Native SQL Database
451 Research + NuoDB: What It Means to be a Container-Native SQL Database
NuoDB236 views
Overcoming Data Gravity in Multi-Cloud Enterprise Architectures by VMware Tanzu
Overcoming Data Gravity in Multi-Cloud Enterprise ArchitecturesOvercoming Data Gravity in Multi-Cloud Enterprise Architectures
Overcoming Data Gravity in Multi-Cloud Enterprise Architectures
VMware Tanzu1.1K views

More from Trivadis

Azure Days 2019: Azure Chatbot Development for Airline Irregularities (Remco ... by
Azure Days 2019: Azure Chatbot Development for Airline Irregularities (Remco ...Azure Days 2019: Azure Chatbot Development for Airline Irregularities (Remco ...
Azure Days 2019: Azure Chatbot Development for Airline Irregularities (Remco ...Trivadis
909 views27 slides
Azure Days 2019: Trivadis Azure Foundation – Das Fundament für den ... (Nisan... by
Azure Days 2019: Trivadis Azure Foundation – Das Fundament für den ... (Nisan...Azure Days 2019: Trivadis Azure Foundation – Das Fundament für den ... (Nisan...
Azure Days 2019: Trivadis Azure Foundation – Das Fundament für den ... (Nisan...Trivadis
523 views26 slides
Azure Days 2019: Business Intelligence auf Azure (Marco Amhof & Yves Mauron) by
Azure Days 2019: Business Intelligence auf Azure (Marco Amhof & Yves Mauron)Azure Days 2019: Business Intelligence auf Azure (Marco Amhof & Yves Mauron)
Azure Days 2019: Business Intelligence auf Azure (Marco Amhof & Yves Mauron)Trivadis
284 views38 slides
Azure Days 2019: Master the Move to Azure (Konrad Brunner) by
Azure Days 2019: Master the Move to Azure (Konrad Brunner)Azure Days 2019: Master the Move to Azure (Konrad Brunner)
Azure Days 2019: Master the Move to Azure (Konrad Brunner)Trivadis
250 views28 slides
Azure Days 2019: Keynote Azure Switzerland – Status Quo und Ausblick (Primo A... by
Azure Days 2019: Keynote Azure Switzerland – Status Quo und Ausblick (Primo A...Azure Days 2019: Keynote Azure Switzerland – Status Quo und Ausblick (Primo A...
Azure Days 2019: Keynote Azure Switzerland – Status Quo und Ausblick (Primo A...Trivadis
207 views16 slides
Azure Days 2019: Grösser und Komplexer ist nicht immer besser (Meinrad Weiss) by
Azure Days 2019: Grösser und Komplexer ist nicht immer besser (Meinrad Weiss)Azure Days 2019: Grösser und Komplexer ist nicht immer besser (Meinrad Weiss)
Azure Days 2019: Grösser und Komplexer ist nicht immer besser (Meinrad Weiss)Trivadis
223 views41 slides

More from Trivadis(20)

Azure Days 2019: Azure Chatbot Development for Airline Irregularities (Remco ... by Trivadis
Azure Days 2019: Azure Chatbot Development for Airline Irregularities (Remco ...Azure Days 2019: Azure Chatbot Development for Airline Irregularities (Remco ...
Azure Days 2019: Azure Chatbot Development for Airline Irregularities (Remco ...
Trivadis909 views
Azure Days 2019: Trivadis Azure Foundation – Das Fundament für den ... (Nisan... by Trivadis
Azure Days 2019: Trivadis Azure Foundation – Das Fundament für den ... (Nisan...Azure Days 2019: Trivadis Azure Foundation – Das Fundament für den ... (Nisan...
Azure Days 2019: Trivadis Azure Foundation – Das Fundament für den ... (Nisan...
Trivadis523 views
Azure Days 2019: Business Intelligence auf Azure (Marco Amhof & Yves Mauron) by Trivadis
Azure Days 2019: Business Intelligence auf Azure (Marco Amhof & Yves Mauron)Azure Days 2019: Business Intelligence auf Azure (Marco Amhof & Yves Mauron)
Azure Days 2019: Business Intelligence auf Azure (Marco Amhof & Yves Mauron)
Trivadis284 views
Azure Days 2019: Master the Move to Azure (Konrad Brunner) by Trivadis
Azure Days 2019: Master the Move to Azure (Konrad Brunner)Azure Days 2019: Master the Move to Azure (Konrad Brunner)
Azure Days 2019: Master the Move to Azure (Konrad Brunner)
Trivadis250 views
Azure Days 2019: Keynote Azure Switzerland – Status Quo und Ausblick (Primo A... by Trivadis
Azure Days 2019: Keynote Azure Switzerland – Status Quo und Ausblick (Primo A...Azure Days 2019: Keynote Azure Switzerland – Status Quo und Ausblick (Primo A...
Azure Days 2019: Keynote Azure Switzerland – Status Quo und Ausblick (Primo A...
Trivadis207 views
Azure Days 2019: Grösser und Komplexer ist nicht immer besser (Meinrad Weiss) by Trivadis
Azure Days 2019: Grösser und Komplexer ist nicht immer besser (Meinrad Weiss)Azure Days 2019: Grösser und Komplexer ist nicht immer besser (Meinrad Weiss)
Azure Days 2019: Grösser und Komplexer ist nicht immer besser (Meinrad Weiss)
Trivadis223 views
Azure Days 2019: Get Connected with Azure API Management (Gerry Keune & Stefa... by Trivadis
Azure Days 2019: Get Connected with Azure API Management (Gerry Keune & Stefa...Azure Days 2019: Get Connected with Azure API Management (Gerry Keune & Stefa...
Azure Days 2019: Get Connected with Azure API Management (Gerry Keune & Stefa...
Trivadis178 views
Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H... by Trivadis
Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...
Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...
Trivadis452 views
Azure Days 2019: Wie bringt man eine Data Analytics Plattform in die Cloud? (... by Trivadis
Azure Days 2019: Wie bringt man eine Data Analytics Plattform in die Cloud? (...Azure Days 2019: Wie bringt man eine Data Analytics Plattform in die Cloud? (...
Azure Days 2019: Wie bringt man eine Data Analytics Plattform in die Cloud? (...
Trivadis136 views
Azure Days 2019: Azure@Helsana: Die Erweiterung von Dynamics CRM mit Azure Po... by Trivadis
Azure Days 2019: Azure@Helsana: Die Erweiterung von Dynamics CRM mit Azure Po...Azure Days 2019: Azure@Helsana: Die Erweiterung von Dynamics CRM mit Azure Po...
Azure Days 2019: Azure@Helsana: Die Erweiterung von Dynamics CRM mit Azure Po...
Trivadis311 views
TechEvent 2019: Kundenstory - Kein Angebot, kein Auftrag – Wie Du ein individ... by Trivadis
TechEvent 2019: Kundenstory - Kein Angebot, kein Auftrag – Wie Du ein individ...TechEvent 2019: Kundenstory - Kein Angebot, kein Auftrag – Wie Du ein individ...
TechEvent 2019: Kundenstory - Kein Angebot, kein Auftrag – Wie Du ein individ...
Trivadis523 views
TechEvent 2019: Oracle Database Appliance M/L - Erfahrungen und Erfolgsmethod... by Trivadis
TechEvent 2019: Oracle Database Appliance M/L - Erfahrungen und Erfolgsmethod...TechEvent 2019: Oracle Database Appliance M/L - Erfahrungen und Erfolgsmethod...
TechEvent 2019: Oracle Database Appliance M/L - Erfahrungen und Erfolgsmethod...
Trivadis72 views
TechEvent 2019: Security 101 für Web Entwickler; Roland Krüger - Trivadis by Trivadis
TechEvent 2019: Security 101 für Web Entwickler; Roland Krüger - TrivadisTechEvent 2019: Security 101 für Web Entwickler; Roland Krüger - Trivadis
TechEvent 2019: Security 101 für Web Entwickler; Roland Krüger - Trivadis
Trivadis139 views
TechEvent 2019: Trivadis & Swisscom Partner Angebote; Konrad Häfeli, Markus O... by Trivadis
TechEvent 2019: Trivadis & Swisscom Partner Angebote; Konrad Häfeli, Markus O...TechEvent 2019: Trivadis & Swisscom Partner Angebote; Konrad Häfeli, Markus O...
TechEvent 2019: Trivadis & Swisscom Partner Angebote; Konrad Häfeli, Markus O...
Trivadis211 views
TechEvent 2019: DBaaS from Swisscom Cloud powered by Trivadis; Konrad Häfeli ... by Trivadis
TechEvent 2019: DBaaS from Swisscom Cloud powered by Trivadis; Konrad Häfeli ...TechEvent 2019: DBaaS from Swisscom Cloud powered by Trivadis; Konrad Häfeli ...
TechEvent 2019: DBaaS from Swisscom Cloud powered by Trivadis; Konrad Häfeli ...
Trivadis220 views
TechEvent 2019: Status of the partnership Trivadis and EDB - Comparing Postgr... by Trivadis
TechEvent 2019: Status of the partnership Trivadis and EDB - Comparing Postgr...TechEvent 2019: Status of the partnership Trivadis and EDB - Comparing Postgr...
TechEvent 2019: Status of the partnership Trivadis and EDB - Comparing Postgr...
Trivadis96 views
TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver Dörr - T... by Trivadis
TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver Dörr - T...TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver Dörr - T...
TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver Dörr - T...
Trivadis202 views
TechEvent 2019: Kundenstory - Vom Hauptmann zu Köpenick zum Polizisten 2020 -... by Trivadis
TechEvent 2019: Kundenstory - Vom Hauptmann zu Köpenick zum Polizisten 2020 -...TechEvent 2019: Kundenstory - Vom Hauptmann zu Köpenick zum Polizisten 2020 -...
TechEvent 2019: Kundenstory - Vom Hauptmann zu Köpenick zum Polizisten 2020 -...
Trivadis233 views
TechEvent 2019: Vom Rechenzentrum in die Oracle Cloud - Übertragungsmethoden;... by Trivadis
TechEvent 2019: Vom Rechenzentrum in die Oracle Cloud - Übertragungsmethoden;...TechEvent 2019: Vom Rechenzentrum in die Oracle Cloud - Übertragungsmethoden;...
TechEvent 2019: Vom Rechenzentrum in die Oracle Cloud - Übertragungsmethoden;...
Trivadis222 views
TechEvent 2019: The sleeping Power of Data; Eberhard Lösch - Trivadis by Trivadis
TechEvent 2019: The sleeping Power of Data; Eberhard Lösch - TrivadisTechEvent 2019: The sleeping Power of Data; Eberhard Lösch - Trivadis
TechEvent 2019: The sleeping Power of Data; Eberhard Lösch - Trivadis
Trivadis67 views

Recently uploaded

Alternatives to Leniency Programmes – ITALY – December 2023 OECD discussion by
Alternatives to Leniency Programmes – ITALY – December 2023 OECD discussionAlternatives to Leniency Programmes – ITALY – December 2023 OECD discussion
Alternatives to Leniency Programmes – ITALY – December 2023 OECD discussionOECD Directorate for Financial and Enterprise Affairs
38 views4 slides
unmasking toxicity in online gaming by
unmasking toxicity in online gamingunmasking toxicity in online gaming
unmasking toxicity in online gamingaminabumelha
5 views10 slides
Ex-post Assessment of Merger Remedies – KWOKA – December 2023 OECD discussion by
Ex-post Assessment of Merger Remedies – KWOKA – December 2023 OECD discussionEx-post Assessment of Merger Remedies – KWOKA – December 2023 OECD discussion
Ex-post Assessment of Merger Remedies – KWOKA – December 2023 OECD discussionOECD Directorate for Financial and Enterprise Affairs
36 views13 slides
Out-of-Market Efficiencies in Competition Enforcement – DAVIES – December 202... by
Out-of-Market Efficiencies in Competition Enforcement – DAVIES – December 202...Out-of-Market Efficiencies in Competition Enforcement – DAVIES – December 202...
Out-of-Market Efficiencies in Competition Enforcement – DAVIES – December 202...OECD Directorate for Financial and Enterprise Affairs
58 views15 slides
Out-of-Market Efficiencies in Competition Enforcement – ROSENBOOM – December ... by
Out-of-Market Efficiencies in Competition Enforcement – ROSENBOOM – December ...Out-of-Market Efficiencies in Competition Enforcement – ROSENBOOM – December ...
Out-of-Market Efficiencies in Competition Enforcement – ROSENBOOM – December ...OECD Directorate for Financial and Enterprise Affairs
62 views10 slides
Competition and Professional Sports – BUDZINSKI – December 2023 OECD discussion by
Competition and Professional Sports – BUDZINSKI – December 2023 OECD discussionCompetition and Professional Sports – BUDZINSKI – December 2023 OECD discussion
Competition and Professional Sports – BUDZINSKI – December 2023 OECD discussionOECD Directorate for Financial and Enterprise Affairs
281 views6 slides

Recently uploaded(20)

unmasking toxicity in online gaming by aminabumelha
unmasking toxicity in online gamingunmasking toxicity in online gaming
unmasking toxicity in online gaming
aminabumelha5 views
RTC2023_Boost-App-Integration-with-AI_Kim.pdf by hossenkamal2
RTC2023_Boost-App-Integration-with-AI_Kim.pdfRTC2023_Boost-App-Integration-with-AI_Kim.pdf
RTC2023_Boost-App-Integration-with-AI_Kim.pdf
hossenkamal28 views
What I learnt in Antarctica about leadership, well-being and climate change by kristinashields1
What I learnt in Antarctica about leadership, well-being and climate changeWhat I learnt in Antarctica about leadership, well-being and climate change
What I learnt in Antarctica about leadership, well-being and climate change
kristinashields124 views
CIS1- Final-Project- COPY-Presentation-JinHuan Chen, Tammy Ling, JingCheng Zh... by tmmling
CIS1- Final-Project- COPY-Presentation-JinHuan Chen, Tammy Ling, JingCheng Zh...CIS1- Final-Project- COPY-Presentation-JinHuan Chen, Tammy Ling, JingCheng Zh...
CIS1- Final-Project- COPY-Presentation-JinHuan Chen, Tammy Ling, JingCheng Zh...
tmmling13 views
Industrial Level Sensor by ketanRaut17
Industrial Level SensorIndustrial Level Sensor
Industrial Level Sensor
ketanRaut175 views
تنزيل (1).pdf DVT by taalali1
تنزيل (1).pdf  DVT تنزيل (1).pdf  DVT
تنزيل (1).pdf DVT
taalali18 views
NguyenChristine_Portfolio (1).pdf by chnguyentv9
NguyenChristine_Portfolio (1).pdfNguyenChristine_Portfolio (1).pdf
NguyenChristine_Portfolio (1).pdf
chnguyentv930 views

Data Warehousing and Bitmap Indexes - More than just some bits

  • 1. MORE THAN JUST SOME BITS… Data Warehousing and Bitmap Indexes Dani Schnider, Trivadis AG Oracle Open World 2011, San Francisco BASEL BERN BRUGG LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN 2014 © Trivadis Data Warehouseing & Bitmap Indexes 02.10.2011 1
  • 2. Dani Schnider  Principal Consultant und DWH/BI Lead Architect bei Trivadis in Zürich  Teacher for courses about Data Warehousing, SQL Optimization and Oracle Warehouse Builder  Co-author of book «Data Warehousing mit Oracle» 2014 © Trivadis 2 Fehlertolerante Ladeprozesse 18. April 2012
  • 3. Mit über 600 IT- und Fachexperten bei Ihnen vor Ort 2014 © Trivadis 11 Trivadis Niederlassungen mit über 600 Mitarbeitenden 200 Service Level Agreements Mehr als 4'000 Trainingsteilnehmer Forschungs- und Entwicklungs-budget: CHF 5.0 / EUR 4 Mio. Finanziell unabhängig und nachhaltig profitabel Erfahrung aus mehr als 1'900 Projekten pro Jahr bei über 800 Kunden Stand 12/2012 Hamburg Düsseldorf Frankfurt Freiburg München Wien Basel Bern Zürich Lausanne 3 Stuttgart Data Warehouseing & Bitmap Indexes 02.10.2011 3
  • 4. 2014 © Trivadis Data Warehouseing & Bitmap Indexes 02.10.2011 4 SOME BITS ABOUT BITMAP INDEXES AND THEIR USAGE IN DATA WAREHOUSES
  • 5. Bitmap Indexes – Concept Oracle® Database Concepts 11g Release 2 (11.2) 2014 © Trivadis Data Warehouseing & Bitmap Indexes 02.10.2011 5
  • 6. Bitmap Indexes – Concept 2014 © Trivadis Data Warehouseing & Bitmap Indexes 02.10.2011 6
  • 7. Bitmap Indexes – Example 2014 © Trivadis Data Warehouseing & Bitmap Indexes 02.10.2011 7
  • 8. Comparison B-tree Index / Bitmap Index 2014 © Trivadis Data Warehouseing & Bitmap Indexes 02.10.2011 8
  • 9. Comparison B-tree Index / Bitmap Index 2014 © Trivadis Data Warehouseing & Bitmap Indexes 02.10.2011 9
  • 10. Concatenated Bitmap Indexes Bitmap Indexes on two or more columns are possible, but not useful 2014 © Trivadis Why?  Concatenated bitmap index can be used only when all columns are filtered  Two or more separate bitmap indexes are more flexible and can be used for all combinations Data Warehouseing & Bitmap Indexes 02.10.2011 10
  • 11. Index Strategy on Star Schema  Dimension Tables:  Unique b-tree index on primary key column  Bitmap indexes on additional columns (optional)  Fact Tables:  Bitmap indexes on all dimension key (foreign key) columns  Bitmap join indexes on often used filter columns (optional)  Usually no primary key on fact tables 2014 © Trivadis Data Warehouseing & Bitmap Indexes 02.10.2011 11
  • 12. Index Strategy on Star Schema 2014 © Trivadis Data Warehouseing & Bitmap Indexes 02.10.2011 12
  • 13. Query Optimization on Star Schemas  Typical Queries:  Filter criteria on (multiple) dimension 2014 © Trivadis tables  Facts are selected by join with dimensions  Problem:  Tables with restrictions should be read first  Only two tables can be joined at a time  No relationships between dimension tables Data Warehouseing & Bitmap Indexes 02.10.2011 13
  • 14. Star Transformation – Concept 2014 © Trivadis Data Warehouseing & Bitmap Indexes 02.10.2011 14
  • 15. Star Transformation – Example What is the total revenue for product “Shorts” for all customers in Germany, grouped by male and female customers? 2014 © Trivadis Data Warehouseing & Bitmap Indexes 02.10.2011 15
  • 16. Star Transformation – Example 2014 © Trivadis Data Warehouseing & Bitmap Indexes 02.10.2011 16
  • 17. Bitmap Join Index – Concept  Bitmap index is defined on fact 2014 © Trivadis table  Indexed column is part of dimension table  Possible for star and snowflake schemas Data Warehouseing & Bitmap Indexes 02.10.2011 17
  • 18. Bitmap Join Index – Example Same example with Bitmap Join Indexes 2014 © Trivadis Data Warehouseing & Bitmap Indexes 02.10.2011 18 Demo
  • 19. Bitmap Indexes and ETL  Bitmap indexes are efficient for set-based ETL  Index maintenance is deferred until end of each DML operation  Efficient index maintenance for Parallel DML  Avoid “hand-made” parallel ETL with multiple sessions  Locking behavior of bitmap indexes  For large data loads: Rebuild indexes after ETL operation  Set all indexes to UNUSABLE  Load data into table  Rebuild all indexes 2014 © Trivadis Data Warehouseing & Bitmap Indexes 02.10.2011 19
  • 20. Bitmap Indexes and Partitioning  Bitmap Indexes must always be LOCAL  Local indexes are recommended in Data Warehouse  Only purpose of global indexes in DWH: unique indexes without partition key   Restriction of local bitmap indexes is not a problem 2014 © Trivadis Data Warehouseing & Bitmap Indexes 02.10.2011 20
  • 21. Bitmap Indexes and Compression  Bitmap Indexes are always compressed  Zeros are compressed, Ones are not compressed  Bitmap contains number of zeros to next 1 bit  Bitmap Indexes need less disk space than B-tree Indexes  Even for columns with high number of distinct keys  Detail description see «Bitmap Index Internals», © Julian Dyke  http://www.juliandyke.com/Presentations/BitmapIndexInternals.ppt 2014 © Trivadis Data Warehouseing & Bitmap Indexes 02.10.2011 21
  • 22. Bitmap Indexes and Compression  Number of distinct keys has impact on size of index  Bitmap index is usually smaller than b-tree index  For high number of keys, size of bitmap index increases  Size of b-tree index is more or less constant  Sort order affects size of bitmap index, but not of b-tree index 2014 © Trivadis 350 300 250 200 150 100 50 Data Warehouseing & Bitmap Indexes 02.10.2011 22 Demo 0 10 100 1000 10000 100000 Bitmap (scattered) Bitmap (sorted) B-tree index
  • 23. Bitmap Indexes and Compression  Enabling table compression  When a table is enabled for compression, all bitmap indexes must be disabled  Reason: Hakan factor of table  Maximum number of rows that can be stored in a table block  Hakan factor changes when table is enabled for compression (only first time) 2014 © Trivadis Data Warehouseing & Bitmap Indexes 02.10.2011 23 Demo
  • 24. Bitmap Indexes – Conclusion  Bitmap Indexes are a powerful Data Warehouse feature  Can be combined in ad hoc queries  Star Transformation  Useful for selective and non-selective columns  Bitmap Indexes are useful for large databases  Efficient for set-based ETL and Parallel DML  Local bitmap indexes on partitioned tables  Compression of bitmap indexes  There are almost no reasons to use b-tree indexes in a Data Warehouse  B-tree indexes are mainly used for Primary Key or Unique Key constraints 2014 © Trivadis Data Warehouseing & Bitmap Indexes 02.10.2011 24
  • 25. References  Oracle® Database Data Warehousing Guide 11g Release 2 (11.2)  Oracle Corporation, http://www.oracle.com/pls/db112/  Oracle® Database Concepts 11g Release 2 (11.2)  Oracle Corporation, http://www.oracle.com/pls/db112/  Christian Antognini: Troubleshooting Oracle Performance  Apress, http://www.apress.com/9781590599174  Jonathan Lewis: Cost-Based Oracle Fundamentals  Apress, http://www.apress.com/9781590596364  Julian Dyke: Bitmap Index Internals  http://www.juliandyke.com/Presentations/BitmapIndexInternals.ppt 2014 © Trivadis Data Warehouseing & Bitmap Indexes 02.10.2011 25
  • 26. THANK YOU. Trivadis AG Dani Schnider Europa-Strasse 5 CH-8152 Glattbrugg/Zürich Switzerland Tel. +41 44 808 70 20 Fax +41 44 808 70 21 info@trivadis.com www.trivadis.com BASEL BERN BRUGG LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN 2014 © Trivadis Data Warehouseing & Bitmap Indexes 02.10.2011 26