SlideShare una empresa de Scribd logo
1 de 5
Descargar para leer sin conexión
1
28/12/2016
CREATING A BITMAP JOIN INDEXCREATING A BITMAP JOIN INDEXCREATING A BITMAP JOIN INDEXCREATING A BITMAP JOIN INDEX
PROBLEMPROBLEMPROBLEMPROBLEM
You’re working in a data warehouse environment. You have a fairly large
dimension table that is often joined to an extremely large fact table. You
wonder if there’s way to create a bitmap index in such a way that it can
eliminate the need for the optimizer to access the dimension table blocks to
satisfy the result of a query.
SOLUTIONSOLUTIONSOLUTIONSOLUTION
Here’s the basic syntax for creating a bitmap join index:
Create bitmap index <index_name>
On<fact_table> (dimension_table.dimension_column>)
From <fact_table>, <dimension_table>
Where <fact_table>.<foreign_key_column> =
<dimension_table>.<primary_key_column>;
Bitmap join indexes are apporopriate in situations where you’re joining two
tables using the foreign key column(s) in one table that relate to primary key
column(s) in another table. For example, suppose you tipically the CUST_NAME
from the D_CUSTOMERS table while joining to a large F_SHIPMENTS fact table.
This example creates a bitmap join index between the F_SHIPMENTS and
D_CUSTOMERS tables:
Create bitmap index f_shipments_bm_idx1
On f_shipments(d_customers.cust_name)
From f_shipments, d_customers
Where f_shipments.d_cust_id= d_customers.d_cust_id;
2
Now, consider a query such this:
Select d_cust_name
From f_shipments f, d_customers d
Where f.d_cust_id= d.d_cust_id and d.cust_name =’Oracle’;
The optimizer can choose to use the bitmap join index and thus avoid the
expense of having to join the tables
HOW IT WORKSHOW IT WORKSHOW IT WORKSHOW IT WORKS
Bitmap join indexes store the results of a join between two tables in an index.
Bitmap indexes are beneficial because they avoid joining tables to retrieve
results. The syntax for a bitmap join index differs from a regular bitmap index
in that it contains FROM and WHERE clauses.
Bitmap join indexes are usually suitable on for data warehouse
environments where you have tables that get loaded and then are not
updated. When updating tables that have bitmap join indexes declared, this
potentially results in several rows being locked. Therefore this type of an
index is not suitable for an OLTP database.
3
28/12/2016
CREAR UNCREAR UNCREAR UNCREAR UN BITMAP JOIN INDEXBITMAP JOIN INDEXBITMAP JOIN INDEXBITMAP JOIN INDEX
PROBLEMAPROBLEMAPROBLEMAPROBLEMA //// SITUACIONSITUACIONSITUACIONSITUACION
Estas trabajando en un entorno de almacén de datos. Tienes una tabla larga
de bastante dimensión que con frecuencia está unida con una tabla
extremadamente larga. Te preguntas si hay una manera para crear un Bitmap
index de tal manera que se puede eliminar por el optimizador si es necesario
para acceder a los bloques de la tabla para un resultado satisfactorio de la
query.
SOLUCIÓNSOLUCIÓNSOLUCIÓNSOLUCIÓN
La sintaxis básica para crear un bitmap join index es:
Create bitmap index <index_name>
On<fact_table> (dimension_table.dimension_column>)
From <fact_table>, <dimension_table>
Where <fact_table>.<foreign_key_column> =
<dimension_table>.<primary_key_column>;
Los Bitmap join indexes son apropiados cuando estas uniendo dos tablas
usando la foreign key column(s) en una tabla que se relaciona con la primary
key column(s) en otra tabla. Por ejemplo, suponga lo típico CUST_NAME de la
tabla D_CUSTOMERS mientras unes a un largo F_SHIPMENTS tabla. Este
ejemplo crea un bitmap join index entre las tablas F_SHIPMENTS y
D_CUSTOMERS:
4
Create bitmap index f_shipments_bm_idx1
On f_shipments(d_customers.cust_name)
From f_shipments, d_customers
Where f_shipments.d_cust_id= d_customers.d_cust_id;
Ahora considere una query como la siguiente:
Select d_cust_name
From f_shipments f, d_customers d
Where f.d_cust_id= d.d_cust_id and d.cust_name =’Oracle’;
El optimizador puede elegir usar el bitmap join index y así evitar el coste de
tener que unir las tablas.
COMO SE TRABAJACOMO SE TRABAJACOMO SE TRABAJACOMO SE TRABAJA
Los Bitmap join indexes almacenan el resultado de una unión entre dos
tablas en un índice. Bitmap indexes son beneficiosos porque ellos evitan unir
tablas para obtener resultados. La sintaxis para un bitmap join index se
diferencia de un regular bitmap index en que contiene las clausulas FROM y
WHERE.
Bitmap join indexes normalmente son adecuados para un entornos de
almacenamiento de datos donde tienes tablas que cargas y no se actualizan.
Cuando actualizas las tablas que tienen declarado un bitmap join indexes,
potencialmente muestra el resultado de varias filas bloqueadas. Por lo tanto
este tipo de índices no son adecuados para una base de datos OLTP.
Traducción: B. Bautista
5

Más contenido relacionado

La actualidad más candente

La actualidad más candente (7)

Trabajo de acces de gutierres
Trabajo de acces de gutierresTrabajo de acces de gutierres
Trabajo de acces de gutierres
 
Examen diagnostico
Examen diagnosticoExamen diagnostico
Examen diagnostico
 
Trabajo de acces de gutierres
Trabajo de acces de gutierresTrabajo de acces de gutierres
Trabajo de acces de gutierres
 
Sgb
SgbSgb
Sgb
 
Formularios en Access 2003
Formularios en Access 2003Formularios en Access 2003
Formularios en Access 2003
 
Práctica n3
Práctica n3Práctica n3
Práctica n3
 
Tablas dinamicas insertar
Tablas dinamicas insertarTablas dinamicas insertar
Tablas dinamicas insertar
 

Destacado

Derechos del franquiciador
Derechos del franquiciadorDerechos del franquiciador
Derechos del franquiciadoranavirginia17
 
Tugasan 1 b profil pelajar
Tugasan 1 b   profil pelajarTugasan 1 b   profil pelajar
Tugasan 1 b profil pelajarnabihahzaini
 
Daisuke
DaisukeDaisuke
Daisukelh6a
 
Atletismoa
AtletismoaAtletismoa
Atletismoalh6a
 
Tugasan 1 B - kehadiran pelajar
Tugasan 1 B -  kehadiran pelajarTugasan 1 B -  kehadiran pelajar
Tugasan 1 B - kehadiran pelajarnabihahzaini
 
Les voyelles orales composées
Les voyelles orales composéesLes voyelles orales composées
Les voyelles orales composéesClaudia Martínez
 
Perencanaan pembelajaran pendidikan anak usia dini
Perencanaan pembelajaran pendidikan anak usia diniPerencanaan pembelajaran pendidikan anak usia dini
Perencanaan pembelajaran pendidikan anak usia diniSuraya Atika
 
Staffing, pimpinan dan kepemimpinan lpi
Staffing, pimpinan dan kepemimpinan lpiStaffing, pimpinan dan kepemimpinan lpi
Staffing, pimpinan dan kepemimpinan lpiFitri117
 
Saravanan-SoftwareProfessional
Saravanan-SoftwareProfessionalSaravanan-SoftwareProfessional
Saravanan-SoftwareProfessionalSaravanan MohanRaj
 
Competencias comunicativas evaluacion final
Competencias comunicativas evaluacion finalCompetencias comunicativas evaluacion final
Competencias comunicativas evaluacion finalSonicaramirezcardenas
 
Quy trình cắt lẻ nhựa pom tấm bài viết mới
Quy trình cắt lẻ nhựa pom tấm   bài viết mớiQuy trình cắt lẻ nhựa pom tấm   bài viết mới
Quy trình cắt lẻ nhựa pom tấm bài viết mớiEC Việt Nam
 
Enforex Malaga Curso de formacion - Lucio Carlevalis
Enforex Malaga Curso de formacion - Lucio CarlevalisEnforex Malaga Curso de formacion - Lucio Carlevalis
Enforex Malaga Curso de formacion - Lucio CarlevalisPiero Pavanini
 

Destacado (20)

funciones
funciones funciones
funciones
 
To die for!
To die for!To die for!
To die for!
 
Derechos del franquiciador
Derechos del franquiciadorDerechos del franquiciador
Derechos del franquiciador
 
Kannan CV_IT Eng
Kannan CV_IT EngKannan CV_IT Eng
Kannan CV_IT Eng
 
Kata pengantar
Kata pengantarKata pengantar
Kata pengantar
 
CV 2016
CV 2016CV 2016
CV 2016
 
Tugasan 1 b profil pelajar
Tugasan 1 b   profil pelajarTugasan 1 b   profil pelajar
Tugasan 1 b profil pelajar
 
Daisuke
DaisukeDaisuke
Daisuke
 
Funciones
FuncionesFunciones
Funciones
 
Atletismoa
AtletismoaAtletismoa
Atletismoa
 
Tugasan 1 B - kehadiran pelajar
Tugasan 1 B -  kehadiran pelajarTugasan 1 B -  kehadiran pelajar
Tugasan 1 B - kehadiran pelajar
 
Blog
BlogBlog
Blog
 
Les voyelles orales composées
Les voyelles orales composéesLes voyelles orales composées
Les voyelles orales composées
 
Perencanaan pembelajaran pendidikan anak usia dini
Perencanaan pembelajaran pendidikan anak usia diniPerencanaan pembelajaran pendidikan anak usia dini
Perencanaan pembelajaran pendidikan anak usia dini
 
Staffing, pimpinan dan kepemimpinan lpi
Staffing, pimpinan dan kepemimpinan lpiStaffing, pimpinan dan kepemimpinan lpi
Staffing, pimpinan dan kepemimpinan lpi
 
Saravanan-SoftwareProfessional
Saravanan-SoftwareProfessionalSaravanan-SoftwareProfessional
Saravanan-SoftwareProfessional
 
Competencias comunicativas evaluacion final
Competencias comunicativas evaluacion finalCompetencias comunicativas evaluacion final
Competencias comunicativas evaluacion final
 
Quy trình cắt lẻ nhựa pom tấm bài viết mới
Quy trình cắt lẻ nhựa pom tấm   bài viết mớiQuy trình cắt lẻ nhựa pom tấm   bài viết mới
Quy trình cắt lẻ nhựa pom tấm bài viết mới
 
Annie's algorithm
Annie's algorithmAnnie's algorithm
Annie's algorithm
 
Enforex Malaga Curso de formacion - Lucio Carlevalis
Enforex Malaga Curso de formacion - Lucio CarlevalisEnforex Malaga Curso de formacion - Lucio Carlevalis
Enforex Malaga Curso de formacion - Lucio Carlevalis
 

Similar a LETRAS LETTERS BUCHSTABE

Similar a LETRAS LETTERS BUCHSTABE (20)

Manual del programador cap 5 al 8
Manual del programador cap 5 al 8Manual del programador cap 5 al 8
Manual del programador cap 5 al 8
 
Base de datos
Base de datosBase de datos
Base de datos
 
Base de datos
Base de datosBase de datos
Base de datos
 
Bases de datos
Bases de datosBases de datos
Bases de datos
 
Lenguaje de-programacion-iii-visual-fox-pro
Lenguaje de-programacion-iii-visual-fox-proLenguaje de-programacion-iii-visual-fox-pro
Lenguaje de-programacion-iii-visual-fox-pro
 
Lenguaje de-programacion-iii-visual-fox-pro
Lenguaje de-programacion-iii-visual-fox-proLenguaje de-programacion-iii-visual-fox-pro
Lenguaje de-programacion-iii-visual-fox-pro
 
Lenguaje de-programacion-iii-visual-fox-pro
Lenguaje de-programacion-iii-visual-fox-proLenguaje de-programacion-iii-visual-fox-pro
Lenguaje de-programacion-iii-visual-fox-pro
 
Base de datos "primera parte"
Base de datos "primera parte"Base de datos "primera parte"
Base de datos "primera parte"
 
TVCABLE
TVCABLE TVCABLE
TVCABLE
 
Informe del sistema ctas por cobrar
Informe del sistema ctas por cobrarInforme del sistema ctas por cobrar
Informe del sistema ctas por cobrar
 
Trucos en access
Trucos en accessTrucos en access
Trucos en access
 
Creación de base de datos
Creación de base de datosCreación de base de datos
Creación de base de datos
 
Herramientas de Analisis
Herramientas de AnalisisHerramientas de Analisis
Herramientas de Analisis
 
Diapositivas brandon
Diapositivas brandonDiapositivas brandon
Diapositivas brandon
 
Diapositivas brandon
Diapositivas brandonDiapositivas brandon
Diapositivas brandon
 
Diapositivas brandon
Diapositivas brandonDiapositivas brandon
Diapositivas brandon
 
Clase 8º
Clase 8ºClase 8º
Clase 8º
 
Ligializeth BD
Ligializeth BDLigializeth BD
Ligializeth BD
 
Base de datos-Primera Parte-
Base de datos-Primera Parte-Base de datos-Primera Parte-
Base de datos-Primera Parte-
 
Ligializeth
LigializethLigializeth
Ligializeth
 

Más de BELEN BAUTISTA MERUELO

LETRAS LETTERS BUCHSTABE: Till Eulenspiegel
LETRAS LETTERS BUCHSTABE: Till EulenspiegelLETRAS LETTERS BUCHSTABE: Till Eulenspiegel
LETRAS LETTERS BUCHSTABE: Till EulenspiegelBELEN BAUTISTA MERUELO
 
LETRAS LETTERS BUCHSTABE: Das Lerche aus Leipzig
LETRAS LETTERS BUCHSTABE: Das Lerche aus LeipzigLETRAS LETTERS BUCHSTABE: Das Lerche aus Leipzig
LETRAS LETTERS BUCHSTABE: Das Lerche aus LeipzigBELEN BAUTISTA MERUELO
 
LETRAS LETTERS BUCHSTABE: The Call of the Wild
LETRAS LETTERS BUCHSTABE: The Call of the WildLETRAS LETTERS BUCHSTABE: The Call of the Wild
LETRAS LETTERS BUCHSTABE: The Call of the WildBELEN BAUTISTA MERUELO
 
LETRAS LETTERS BUCHSTABE: Eine Geschichte
LETRAS LETTERS BUCHSTABE: Eine GeschichteLETRAS LETTERS BUCHSTABE: Eine Geschichte
LETRAS LETTERS BUCHSTABE: Eine GeschichteBELEN BAUTISTA MERUELO
 

Más de BELEN BAUTISTA MERUELO (6)

LETRAS LETTERS BUCHSTABE: Till Eulenspiegel
LETRAS LETTERS BUCHSTABE: Till EulenspiegelLETRAS LETTERS BUCHSTABE: Till Eulenspiegel
LETRAS LETTERS BUCHSTABE: Till Eulenspiegel
 
LETRAS LETTERS BUCHSTABE: Das Lerche aus Leipzig
LETRAS LETTERS BUCHSTABE: Das Lerche aus LeipzigLETRAS LETTERS BUCHSTABE: Das Lerche aus Leipzig
LETRAS LETTERS BUCHSTABE: Das Lerche aus Leipzig
 
LETRAS LETTERS BUCHSTABE: The Call of the Wild
LETRAS LETTERS BUCHSTABE: The Call of the WildLETRAS LETTERS BUCHSTABE: The Call of the Wild
LETRAS LETTERS BUCHSTABE: The Call of the Wild
 
LETRAS LETTERS BUCHSTABE: Eine Geschichte
LETRAS LETTERS BUCHSTABE: Eine GeschichteLETRAS LETTERS BUCHSTABE: Eine Geschichte
LETRAS LETTERS BUCHSTABE: Eine Geschichte
 
LETRAS LETTERS BUCHSTABE: Elefante
LETRAS LETTERS BUCHSTABE: ElefanteLETRAS LETTERS BUCHSTABE: Elefante
LETRAS LETTERS BUCHSTABE: Elefante
 
LETRAS LETTERS BUCHSTABE
LETRAS LETTERS BUCHSTABELETRAS LETTERS BUCHSTABE
LETRAS LETTERS BUCHSTABE
 

Último

Infografía EE con pie del 2023 (3)-1.pdf
Infografía EE con pie del 2023 (3)-1.pdfInfografía EE con pie del 2023 (3)-1.pdf
Infografía EE con pie del 2023 (3)-1.pdfAlfaresbilingual
 
ACTIVIDAD DIA DE LA MADRE FICHA DE TRABAJO
ACTIVIDAD DIA DE LA MADRE FICHA DE TRABAJOACTIVIDAD DIA DE LA MADRE FICHA DE TRABAJO
ACTIVIDAD DIA DE LA MADRE FICHA DE TRABAJOBRIGIDATELLOLEONARDO
 
ACERTIJO DE LA BANDERA OLÍMPICA CON ECUACIONES DE LA CIRCUNFERENCIA. Por JAVI...
ACERTIJO DE LA BANDERA OLÍMPICA CON ECUACIONES DE LA CIRCUNFERENCIA. Por JAVI...ACERTIJO DE LA BANDERA OLÍMPICA CON ECUACIONES DE LA CIRCUNFERENCIA. Por JAVI...
ACERTIJO DE LA BANDERA OLÍMPICA CON ECUACIONES DE LA CIRCUNFERENCIA. Por JAVI...JAVIER SOLIS NOYOLA
 
CALENDARIZACION DE MAYO / RESPONSABILIDAD
CALENDARIZACION DE MAYO / RESPONSABILIDADCALENDARIZACION DE MAYO / RESPONSABILIDAD
CALENDARIZACION DE MAYO / RESPONSABILIDADauxsoporte
 
Estrategia de prompts, primeras ideas para su construcción
Estrategia de prompts, primeras ideas para su construcciónEstrategia de prompts, primeras ideas para su construcción
Estrategia de prompts, primeras ideas para su construcciónLourdes Feria
 
Prueba libre de Geografía para obtención título Bachillerato - 2024
Prueba libre de Geografía para obtención título Bachillerato - 2024Prueba libre de Geografía para obtención título Bachillerato - 2024
Prueba libre de Geografía para obtención título Bachillerato - 2024Juan Martín Martín
 
Qué es la Inteligencia artificial generativa
Qué es la Inteligencia artificial generativaQué es la Inteligencia artificial generativa
Qué es la Inteligencia artificial generativaDecaunlz
 
Registro Auxiliar - Primaria 2024 (1).pptx
Registro Auxiliar - Primaria  2024 (1).pptxRegistro Auxiliar - Primaria  2024 (1).pptx
Registro Auxiliar - Primaria 2024 (1).pptxFelicitasAsuncionDia
 
SELECCIÓN DE LA MUESTRA Y MUESTREO EN INVESTIGACIÓN CUALITATIVA.pdf
SELECCIÓN DE LA MUESTRA Y MUESTREO EN INVESTIGACIÓN CUALITATIVA.pdfSELECCIÓN DE LA MUESTRA Y MUESTREO EN INVESTIGACIÓN CUALITATIVA.pdf
SELECCIÓN DE LA MUESTRA Y MUESTREO EN INVESTIGACIÓN CUALITATIVA.pdfAngélica Soledad Vega Ramírez
 
NUEVAS DIAPOSITIVAS POSGRADO Gestion Publica.pdf
NUEVAS DIAPOSITIVAS POSGRADO Gestion Publica.pdfNUEVAS DIAPOSITIVAS POSGRADO Gestion Publica.pdf
NUEVAS DIAPOSITIVAS POSGRADO Gestion Publica.pdfUPTAIDELTACHIRA
 
Abril 2024 - Maestra Jardinera Ediba.pdf
Abril 2024 -  Maestra Jardinera Ediba.pdfAbril 2024 -  Maestra Jardinera Ediba.pdf
Abril 2024 - Maestra Jardinera Ediba.pdfValeriaCorrea29
 
PINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).ppt
PINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).pptPINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).ppt
PINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).pptAlberto Rubio
 
Caja de herramientas de inteligencia artificial para la academia y la investi...
Caja de herramientas de inteligencia artificial para la academia y la investi...Caja de herramientas de inteligencia artificial para la academia y la investi...
Caja de herramientas de inteligencia artificial para la academia y la investi...Lourdes Feria
 
SEXTO SEGUNDO PERIODO EMPRENDIMIENTO.pptx
SEXTO SEGUNDO PERIODO EMPRENDIMIENTO.pptxSEXTO SEGUNDO PERIODO EMPRENDIMIENTO.pptx
SEXTO SEGUNDO PERIODO EMPRENDIMIENTO.pptxYadi Campos
 
6.-Como-Atraer-El-Amor-01-Lain-Garcia-Calvo.pdf
6.-Como-Atraer-El-Amor-01-Lain-Garcia-Calvo.pdf6.-Como-Atraer-El-Amor-01-Lain-Garcia-Calvo.pdf
6.-Como-Atraer-El-Amor-01-Lain-Garcia-Calvo.pdfMiNeyi1
 
Cuaderno de trabajo Matemática 3 tercer grado.pdf
Cuaderno de trabajo Matemática 3 tercer grado.pdfCuaderno de trabajo Matemática 3 tercer grado.pdf
Cuaderno de trabajo Matemática 3 tercer grado.pdfNancyLoaa
 

Último (20)

Tema 8.- PROTECCION DE LOS SISTEMAS DE INFORMACIÓN.pdf
Tema 8.- PROTECCION DE LOS SISTEMAS DE INFORMACIÓN.pdfTema 8.- PROTECCION DE LOS SISTEMAS DE INFORMACIÓN.pdf
Tema 8.- PROTECCION DE LOS SISTEMAS DE INFORMACIÓN.pdf
 
Medición del Movimiento Online 2024.pptx
Medición del Movimiento Online 2024.pptxMedición del Movimiento Online 2024.pptx
Medición del Movimiento Online 2024.pptx
 
Infografía EE con pie del 2023 (3)-1.pdf
Infografía EE con pie del 2023 (3)-1.pdfInfografía EE con pie del 2023 (3)-1.pdf
Infografía EE con pie del 2023 (3)-1.pdf
 
ACTIVIDAD DIA DE LA MADRE FICHA DE TRABAJO
ACTIVIDAD DIA DE LA MADRE FICHA DE TRABAJOACTIVIDAD DIA DE LA MADRE FICHA DE TRABAJO
ACTIVIDAD DIA DE LA MADRE FICHA DE TRABAJO
 
ACERTIJO DE LA BANDERA OLÍMPICA CON ECUACIONES DE LA CIRCUNFERENCIA. Por JAVI...
ACERTIJO DE LA BANDERA OLÍMPICA CON ECUACIONES DE LA CIRCUNFERENCIA. Por JAVI...ACERTIJO DE LA BANDERA OLÍMPICA CON ECUACIONES DE LA CIRCUNFERENCIA. Por JAVI...
ACERTIJO DE LA BANDERA OLÍMPICA CON ECUACIONES DE LA CIRCUNFERENCIA. Por JAVI...
 
CALENDARIZACION DE MAYO / RESPONSABILIDAD
CALENDARIZACION DE MAYO / RESPONSABILIDADCALENDARIZACION DE MAYO / RESPONSABILIDAD
CALENDARIZACION DE MAYO / RESPONSABILIDAD
 
Estrategia de prompts, primeras ideas para su construcción
Estrategia de prompts, primeras ideas para su construcciónEstrategia de prompts, primeras ideas para su construcción
Estrategia de prompts, primeras ideas para su construcción
 
Prueba libre de Geografía para obtención título Bachillerato - 2024
Prueba libre de Geografía para obtención título Bachillerato - 2024Prueba libre de Geografía para obtención título Bachillerato - 2024
Prueba libre de Geografía para obtención título Bachillerato - 2024
 
Presentacion Metodología de Enseñanza Multigrado
Presentacion Metodología de Enseñanza MultigradoPresentacion Metodología de Enseñanza Multigrado
Presentacion Metodología de Enseñanza Multigrado
 
Supuestos_prácticos_funciones.docx
Supuestos_prácticos_funciones.docxSupuestos_prácticos_funciones.docx
Supuestos_prácticos_funciones.docx
 
Qué es la Inteligencia artificial generativa
Qué es la Inteligencia artificial generativaQué es la Inteligencia artificial generativa
Qué es la Inteligencia artificial generativa
 
Registro Auxiliar - Primaria 2024 (1).pptx
Registro Auxiliar - Primaria  2024 (1).pptxRegistro Auxiliar - Primaria  2024 (1).pptx
Registro Auxiliar - Primaria 2024 (1).pptx
 
SELECCIÓN DE LA MUESTRA Y MUESTREO EN INVESTIGACIÓN CUALITATIVA.pdf
SELECCIÓN DE LA MUESTRA Y MUESTREO EN INVESTIGACIÓN CUALITATIVA.pdfSELECCIÓN DE LA MUESTRA Y MUESTREO EN INVESTIGACIÓN CUALITATIVA.pdf
SELECCIÓN DE LA MUESTRA Y MUESTREO EN INVESTIGACIÓN CUALITATIVA.pdf
 
NUEVAS DIAPOSITIVAS POSGRADO Gestion Publica.pdf
NUEVAS DIAPOSITIVAS POSGRADO Gestion Publica.pdfNUEVAS DIAPOSITIVAS POSGRADO Gestion Publica.pdf
NUEVAS DIAPOSITIVAS POSGRADO Gestion Publica.pdf
 
Abril 2024 - Maestra Jardinera Ediba.pdf
Abril 2024 -  Maestra Jardinera Ediba.pdfAbril 2024 -  Maestra Jardinera Ediba.pdf
Abril 2024 - Maestra Jardinera Ediba.pdf
 
PINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).ppt
PINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).pptPINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).ppt
PINTURA DEL RENACIMIENTO EN ESPAÑA (SIGLO XVI).ppt
 
Caja de herramientas de inteligencia artificial para la academia y la investi...
Caja de herramientas de inteligencia artificial para la academia y la investi...Caja de herramientas de inteligencia artificial para la academia y la investi...
Caja de herramientas de inteligencia artificial para la academia y la investi...
 
SEXTO SEGUNDO PERIODO EMPRENDIMIENTO.pptx
SEXTO SEGUNDO PERIODO EMPRENDIMIENTO.pptxSEXTO SEGUNDO PERIODO EMPRENDIMIENTO.pptx
SEXTO SEGUNDO PERIODO EMPRENDIMIENTO.pptx
 
6.-Como-Atraer-El-Amor-01-Lain-Garcia-Calvo.pdf
6.-Como-Atraer-El-Amor-01-Lain-Garcia-Calvo.pdf6.-Como-Atraer-El-Amor-01-Lain-Garcia-Calvo.pdf
6.-Como-Atraer-El-Amor-01-Lain-Garcia-Calvo.pdf
 
Cuaderno de trabajo Matemática 3 tercer grado.pdf
Cuaderno de trabajo Matemática 3 tercer grado.pdfCuaderno de trabajo Matemática 3 tercer grado.pdf
Cuaderno de trabajo Matemática 3 tercer grado.pdf
 

LETRAS LETTERS BUCHSTABE

  • 1. 1 28/12/2016 CREATING A BITMAP JOIN INDEXCREATING A BITMAP JOIN INDEXCREATING A BITMAP JOIN INDEXCREATING A BITMAP JOIN INDEX PROBLEMPROBLEMPROBLEMPROBLEM You’re working in a data warehouse environment. You have a fairly large dimension table that is often joined to an extremely large fact table. You wonder if there’s way to create a bitmap index in such a way that it can eliminate the need for the optimizer to access the dimension table blocks to satisfy the result of a query. SOLUTIONSOLUTIONSOLUTIONSOLUTION Here’s the basic syntax for creating a bitmap join index: Create bitmap index <index_name> On<fact_table> (dimension_table.dimension_column>) From <fact_table>, <dimension_table> Where <fact_table>.<foreign_key_column> = <dimension_table>.<primary_key_column>; Bitmap join indexes are apporopriate in situations where you’re joining two tables using the foreign key column(s) in one table that relate to primary key column(s) in another table. For example, suppose you tipically the CUST_NAME from the D_CUSTOMERS table while joining to a large F_SHIPMENTS fact table. This example creates a bitmap join index between the F_SHIPMENTS and D_CUSTOMERS tables: Create bitmap index f_shipments_bm_idx1 On f_shipments(d_customers.cust_name) From f_shipments, d_customers Where f_shipments.d_cust_id= d_customers.d_cust_id;
  • 2. 2 Now, consider a query such this: Select d_cust_name From f_shipments f, d_customers d Where f.d_cust_id= d.d_cust_id and d.cust_name =’Oracle’; The optimizer can choose to use the bitmap join index and thus avoid the expense of having to join the tables HOW IT WORKSHOW IT WORKSHOW IT WORKSHOW IT WORKS Bitmap join indexes store the results of a join between two tables in an index. Bitmap indexes are beneficial because they avoid joining tables to retrieve results. The syntax for a bitmap join index differs from a regular bitmap index in that it contains FROM and WHERE clauses. Bitmap join indexes are usually suitable on for data warehouse environments where you have tables that get loaded and then are not updated. When updating tables that have bitmap join indexes declared, this potentially results in several rows being locked. Therefore this type of an index is not suitable for an OLTP database.
  • 3. 3 28/12/2016 CREAR UNCREAR UNCREAR UNCREAR UN BITMAP JOIN INDEXBITMAP JOIN INDEXBITMAP JOIN INDEXBITMAP JOIN INDEX PROBLEMAPROBLEMAPROBLEMAPROBLEMA //// SITUACIONSITUACIONSITUACIONSITUACION Estas trabajando en un entorno de almacén de datos. Tienes una tabla larga de bastante dimensión que con frecuencia está unida con una tabla extremadamente larga. Te preguntas si hay una manera para crear un Bitmap index de tal manera que se puede eliminar por el optimizador si es necesario para acceder a los bloques de la tabla para un resultado satisfactorio de la query. SOLUCIÓNSOLUCIÓNSOLUCIÓNSOLUCIÓN La sintaxis básica para crear un bitmap join index es: Create bitmap index <index_name> On<fact_table> (dimension_table.dimension_column>) From <fact_table>, <dimension_table> Where <fact_table>.<foreign_key_column> = <dimension_table>.<primary_key_column>; Los Bitmap join indexes son apropiados cuando estas uniendo dos tablas usando la foreign key column(s) en una tabla que se relaciona con la primary key column(s) en otra tabla. Por ejemplo, suponga lo típico CUST_NAME de la tabla D_CUSTOMERS mientras unes a un largo F_SHIPMENTS tabla. Este ejemplo crea un bitmap join index entre las tablas F_SHIPMENTS y D_CUSTOMERS:
  • 4. 4 Create bitmap index f_shipments_bm_idx1 On f_shipments(d_customers.cust_name) From f_shipments, d_customers Where f_shipments.d_cust_id= d_customers.d_cust_id; Ahora considere una query como la siguiente: Select d_cust_name From f_shipments f, d_customers d Where f.d_cust_id= d.d_cust_id and d.cust_name =’Oracle’; El optimizador puede elegir usar el bitmap join index y así evitar el coste de tener que unir las tablas. COMO SE TRABAJACOMO SE TRABAJACOMO SE TRABAJACOMO SE TRABAJA Los Bitmap join indexes almacenan el resultado de una unión entre dos tablas en un índice. Bitmap indexes son beneficiosos porque ellos evitan unir tablas para obtener resultados. La sintaxis para un bitmap join index se diferencia de un regular bitmap index en que contiene las clausulas FROM y WHERE. Bitmap join indexes normalmente son adecuados para un entornos de almacenamiento de datos donde tienes tablas que cargas y no se actualizan. Cuando actualizas las tablas que tienen declarado un bitmap join indexes, potencialmente muestra el resultado de varias filas bloqueadas. Por lo tanto este tipo de índices no son adecuados para una base de datos OLTP. Traducción: B. Bautista
  • 5. 5