Sunteți pe pagina 1din 17

Diseño de la bodega de datos.

Construcción de cubos de
datos.

INTEGRANTES

JENIFER SILVA LAGUNA


JHON ALEJANDRO CASTRO
CARLOS ANDRES BUITRAGO
Plan de Configuración SMDB
 Creación de la BD.
 Ingreso al espacio de trabajo.
Plan de Configuración SMDB
Instalación Avanzada: este método de instalación sirve para cualquiera de las siguientes
tareas:
 Realizar una instalación personalizada del software o seleccionar una configuración
diferente de la base de datos.
 Instalar o actualizar Oracle Real Application Clusters.
 Actualizar una base de datos existente.
 Seleccionar un juego de caracteres de la base de datos o idiomas de producto diferentes.
 Crear una base de datos en un sistema de archivos que sea distinto del sistema en el que
se copia el software.
 Configurar Gestión Automática de Almacenamiento.
 Especificar contraseñas diferentes para esquemas administrativos.
 Configurar copias de seguridad automáticas o notificaciones de Oracle Enterprise
Manager
• Tras iniciar sesión en la URL de administración de
APEX nos mostrará esta ventana:

 Tomaremos las opciones básicas que se encuentran


configuradas
• Seleccionaremos SQL Workshop para entrar al menú básico donde
ingresamos al SQL Scripts y montamos los scripts de los ejercicios
propuestos.
• Verificamos que nuestro scripts no tenga errores.
REQUERIMIENTOS

4. Identificar si hay alguna relación entre los datos registrados mes a


mes por la Secretaría de Ambiente, con los datos de consultas
médicas generadas en cada uno de los meses.

7. Precisar las personas que presentaron mora en el pago de


impuestos y posterior a dicha mora fueron atendidos por unidad de
urgencias, por cuidados intensivos, especialista o psiquiatría.
SECRETARIAS RELACIONADAS

Las secretarias que se relacionan para la


construcción del cubo son:

1. Secretaria de Ambiente
2. Secretaria de Salud
3. Secretaria de Hacienda
DIAGRAMA DE LA ALCALDÍA DE SAN ANTONIO

Estacion Muestreo EPS Persona


Relationship_16
Pago
Id_estacionmue <pi> Integer
Id_zona
Zona
<pi> Integer Relationship_17 Id_zona <fi1> Integer
Id_EPS <pi> Integer
Id_estadoEPS <fi2> Integer
Id_persona <pi> Integer
Id_tipidentifica <fi> Integer
Secretaria Id_pago <pi> Integer <M>
Id_Secretaria <fi2> Integer Relationship_24 Nme_factura <fi> Integer <M>
Nombre_zona
Tipo_zona
Variable characters (20)
Variable characters (20)
nombre Variable characters (20)
Id_Secretaria <fi1> Integer
Nom_EPS Variable characters (45)
nombre_perso
Apellido
Text (45)
Variable characters (20) detalle factura vigente
Hacienda. Fecha_pago Date
ubicacion Variable characters (20) valor_PAGO Decimal (20)
Identifier_1 <pi> estado Variable characters (45) fechaNacimiento Date
logitud Variable characters (20) id_DETALLE <pi> Integer <M>
Identifier_1 <pi> Direccion Variable characters (20) tipo_pago Characters (3)
Nme_factura <fi2> Integer <M>
Telefono Text (40) Identifier_1 <pi>
Codigo_concepto <fi1> Integer <M> Relationship_30
EMAIL Text (40)
Relationship_22 Sexo Characters (3) valor_base_gravable Decimal (30)
Muestra_Anual valor_factor Decimal (30)
Identifier_1 <pi>
Id_muestra <pi> Integer <M> Valor_total_concepto Decimal (30)
Servicio_EPS
Id_estacionmue <fi1> Integer <M> Relationship_31
Id_indicador <fi2> Integer <M> Id_tiposervicio <pi,fi2> Integer Identifier_1 <pi>
Fecha_mues Date Id_EPS <pi,fi1> Integer
Muestra_mensual
Valor Decimal (10) estado Variable characters (45)
Id_muestamen <pi> Integer <M> Valor Integer
Identifier_1 <pi> Id_indicador <fi> Integer <M> Relationship_33 Factura_vigente
Detalle Variable characters (45)
fecha Number (10)
mes Number (10) Identifier_1 <pi> Nme_factura <pi> Integer <M>
Ficha <fi> Integer <M>
Valor Decimal (10) Relationship_23
Secretaria
Relationship_26 concepto_pago referencia Variable characters (30)
Identifier_1 <pi> Relationship_25
Relationship_22
Salud. Codigo_concepto <pi> Integer
Nombre_concep Variable characters (30)
<M> Fecha_emision
Total_pagar
Characters (20)
Decimal (30)
Total_descuento Decimal (10)
Identifier_1 <pi>
Relationship_39
Identifier_1 <pi>
Tipo_servicio
Id_tiposervicio <pi> Integer <M>
Indicador Descripcion Text (30)
Tipo_usuario
Id_indicador <pi> Integer <M> Identifier_1 <pi> Tipo_identificacion Propietario
Id_recursos <fi> Integer <M> Cod_tipousu <pi> Integer <M>
Id_tipidentifica <pi> Integer <M> Cedula <pi> Integer <M>
Nombre_indi Variable characters (20) Ficha <fi> Integer <M>
Historial_persona Abreviatura Text (30) Ficha <fi> Integer <M> Relationship_32
Sigla Characters (4) Relationship_35 Nom_tipousu Text (20)
Relationship_40 Descripcion Text (30) Nom_propi Variable characters (30)
Tipo_indicador Characters (5) Id_historialperso <pi> Integer <M>
Ambito Variable characters (10) Identifier_1 <pi> Ape_propi Variable characters (30) Identifier_1 <pi>
Id_EPS <fi1> Integer <M>
Descripcion Text (30) Estado_EPS
Id_persona <fi2> Integer <M> Identifier_1 <pi>
Identifier_1 <pi> Id_estadoEPS <pi> Integer <M> Id_tipoafilia <fi3> Integer <M> Relationship_36
Descripcion Text (30) Id_estadopersona <fi4> Integer <M>
Identifier_1 <pi> fecha_ingreso Date
Predio
fecha_retiro Date
Relationship_20
Identifier_1 <pi> Ficha <pi> Integer <M>
Secretaria Estrato Codi_estrato <fi2> Integer <M>
Estado_persona Codi_estrato <pi> Integer <M> Relationship_34 Id_Secretaria <fi1> Integer
Ambiente. Recursos Tipo_afiliado Relationship_28
Id_estadopersona <pi> Integer <M> Nomb_estrato Text (20) Direccion Variable characters (20)
Descripcion Text (30) Identifier_1 <pi> matricula Variable characters (20)
Id_recursos <pi> Integer <M> Id_tipoafilia <pi> Integer <M>
Relationship_27 area Variable characters (20)
Nombre_recur Variable characters (20)
Descripcion Text (30) Identifier_1 <pi>
Identifier_1 <pi> Identifier_1 <pi>
Identifier_1 <pi>
ESQUEMA PARA LA CONSTRUCCIÓN DEL CUBO

Para el primer cubo se utilizo el


esquema de Copo de Nieve.

Para el segundo cubo se utilizo el


esquema en Copo de Nieve.
Modelo relación cubo 1
Estacion Muestreo
Muestra_mensual Historial_persona
Id_estacionmue <pi> Integer EPS
Id_zona <fi> Integer Id_muestamen <pi> Integer <M> Id_historialperso <pi> Integer <M> Id_EPS <pi> Integer
Id_indicador <fi> Integer <M>
nombre Variable characters (20) Id_EPS <fi1> Integer <M> Relationship_24 Nom_EPS Variable characters (45)
fecha Number (10) Id_persona <fi2> Integer <M>
ubicacion Variable characters (20) estado Variable characters (45)
Zona mes Number (10)
Relationship_16 logitud Variable characters (20) Relationship_19 Relationship_21 fecha_ingreso Date
Id_zona <pi> Integer Valor Decimal (10) Identifier_1 <pi>
fecha_retiro Date
Identifier_1 <pi>
Nombre_zona Variable characters (20) Identifier_1 <pi> Identifier_1 <pi>
Tipo_zona Variable characters (20)
Identifier_1 <pi>
Relationship_39 Relationship_22
Relationship_25
Relationship_17

Indicador Persona
Id_indicador <pi> Integer <M> Hechos Id_persona <pi> Integer Servicio_EPS
Id_recursos <fi> Integer <M> Id_historialperso <fi1> Integer Id_tipidentifica <fi> Integer Id_tiposervicio <pi,fi2> Integer
Nombre_indi Variable characters (20) Id_muestamen <fi2> Integer nombre_perso Text (45) Id_EPS <pi,fi1> Integer
Muestra_Anual
Sigla Characters (4) fecha_muestre Date Apellido Variable characters (20) estado Variable characters (45)
Id_muestra <pi> Integer <M> Tipo_indicador Characters (5) fecha_historial Date fechaNacimiento Date Valor Integer
Id_estacionmue <fi1> Integer <M> Relationship_40
Ambito Variable characters (10) Direccion Variable characters (20) Detalle Variable characters (45)
Id_indicador <fi2> Integer <M> Descripcion Text (30) Telefono Text (40)
Fecha_mues Date Identifier_1 <pi>
Identifier_1 <pi> EMAIL Text (40)
Valor Decimal (10) Sexo Characters (3)
Identifier_1 <pi> Identifier_1 <pi>
Relationship_20 Relationship_22
Relationship_26

Recursos Tipo_identificacion
Tipo_servicio
Id_recursos <pi> Integer <M> Id_tipidentifica <pi> Integer <M>
Abreviatura Text (30) Id_tiposervicio <pi> Integer <M>
Nombre_recur Variable characters (20) Descripcion Text (30)
Descripcion Text (30)
Identifier_1 <pi> Identifier_1 <pi>
Identifier_1 <pi>
Modelo relación cubo 2
Propietario
detalle factura vigente Historial_persona
Cedula <pi> Integer <M> EPS
id_DETALLE <pi> Integer <M> Ficha <fi> Integer <M> Id_historialperso <pi> Integer <M>
Nme_factura <fi> Integer <M> Id_EPS <pi> Integer
Nom_propi Variable characters (30) Id_EPS <fi1> Integer <M> Relationship_24
valor_base_gravable Decimal (30) Nom_EPS Variable characters (45)
Ape_propi Variable characters (30) Id_persona <fi2> Integer <M>
valor_factor Decimal (30) estado Variable characters (45)
fecha_ingreso Date
Identifier_1 <pi>
Valor_total_concepto Decimal (30) fecha_retiro Date Identifier_1 <pi>
Identifier_1 <pi> Identifier_1 <pi>
Relationship_10
Relationship_11
Relationship_30

Relationship_25
Factura_vigente Relationship_22
Nme_factura <pi> Integer <M> Relationship_32 hecho
Ficha <fi> Integer <M> Id_historialperso <fi1> Integer
referencia Variable characters (30) Cedula <fi2> Integer
Relationship_35 Servicio_EPS
Fecha_emision Characters (20) Fecha_emision_fact Date Persona
Total_pagar Decimal (30) Fecha_ingreso Date Id_tiposervicio <pi,fi2> Integer
Id_persona <pi> Integer
Id_EPS <pi,fi1> Integer
Total_descuento Decimal (10) Id_tipidentifica <fi> Integer
estado Variable characters (45)
Identifier_1 <pi> nombre_perso Text (45)
Valor Integer
Apellido Variable characters (20)
Detalle Variable characters (45)
fechaNacimiento Date
Predio Direccion Variable characters (20) Identifier_1 <pi>
Relationship_31 Ficha <pi> Integer <M> Telefono Text (40)
Direccion Variable characters (20) EMAIL Text (40)
matricula Variable characters (20) Sexo Characters (3) Relationship_22
area Variable characters (20) Identifier_1 <pi>
Pago
Identifier_1 <pi>
Id_pago <pi> Integer <M>
Nme_factura <fi> Integer <M> Relationship_26 Tipo_servicio
Fecha_pago Date Id_tiposervicio <pi> Integer <M>
valor_PAGO Decimal (20) Descripcion Text (30)
tipo_pago Characters (3) Tipo_identificacion
Identifier_1 <pi>
Identifier_1 <pi> Id_tipidentifica <pi> Integer <M>
Abreviatura Text (30)
Descripcion Text (30)
Identifier_1 <pi>
Instalación y configuración de Cubos Olap

Los cubos OLAP contienen información de


compromisos, tarea, recurso, proyecto,
asignación, problemas y riesgos que los
integrantes del grupo pueden examinar
fácilmente mediante los datos de Tabla dinámica
y las vistas de Gráfico dinámico.
Instalación y configuración de cubos olap

 Instalación del OLAPCUBE.


Instalación y configuración de cubos olap

 iniciamos la instalación y configuración del programa olap cube

Configuramos los parámetros básicos para conectar a nuesta base


de datos de ORACLE
Instalación y configuración de cubos olap

• Después de conectar el olap cube a nuestra base de datos creada,


seleccionamos las tablas de las cuales vamos a relacionar para crear
nuestro cubo de datos.
Esquema Relacional del cubo

• De esta forma se obtiene y se seleccionan las tablas, las


que posteriormente relacionaremos de acuerdo a nuestro
diseño.

• Al final obtendremos el diseño deseado para corres el


cubo con los datos que se tienen en cada tabla.

S-ar putea să vă placă și