Está en la página 1de 33

INFORME DE AJUSTE INSTANCIA DE BASE DE DATOS ORACLE 9i

Diciembre 2004 Consultor: Hermenegildo Romero

Database Technologies & Services

www.db-team.com

Tabla de contenidos

INSTANCIA DE BASE DE DATOS.......................................................................................3 OPCIONES DE BASE DE DATOS........................................................................................3 CONFIGURACIN DE SGA..................................................................................................5 FICHEROS DE DATOS .........................................................................................................6 GESTION DEL ALMACENAMIENTO...................................................................................7 OBJETOS MARCADOS COMO INVALIDOS.......................................................................8 USER HIT RATIO.................................................................................................................12 TABLAS CON NDICES CUESTIONABLES......................................................................12 FOREIGN KEYS SIN NDICE EN LA TABLA HIJA ...........................................................13 INCONSISTENCIAS EN EL TIPO DE DATOS...................................................................19 TABLAS ANALIZADAS .......................................................................................................20 TABLAS E INDICES PARTICIONADOS ............................................................................21 BUFFER HIT RATIO............................................................................................................21 LIBRARY CACHE HIT RATIO.............................................................................................22 DATA DICTIONARY HIT RATIO.........................................................................................22 ESTADISTICAS DEL SISTEMA..........................................................................................22 ESTADISTICAS DE SGA ....................................................................................................28 ESTADISTICAS DE ESPERAS ...........................................................................................30 ESTADISTICAS DE ORDENACION ...................................................................................30 ESTADISTICAS DE I/O A DISCO .......................................................................................31 REDO LOG...........................................................................................................................33

Database Technologies & Services

www.db-team.com

INSTANCIA DE BASE DE DATOS

Nombre de la Instancia de Base de Datos (ORACLE SID) Fecha de Creacin de la instancia Tipo de Archivado Versin Core Versin

PPL 24 de Septiembre de 2003 NOARCHIVELOG Oracle9i Enterprise Edition Release 9.2.0.5.1 Production CORE 9.2.0.6.0 Production

Recomendacin
Es muy recomendable la aplicacin de los ltimos parches de seguridad, ya que ltimamente se han detectado problemas de seguridad serios en las distintas versiones de Oracle.

OPCIONES DE BASE DE DATOS

Partitioning Objects Real Application Clusters Advanced Replication Bit-Mapped Indexes Connection Multiplexing Connection Pooling Database Queuing Incremental Backup And Recovery Instead-Of Triggers Parallel Backup And Recovery Parallel Execution Parallel Load Point-In-Time Tablespace Recovery Fine-Grained Access Control Proxy Authentication/Authorization Change Data Capture Plan Stability Online Index Build Coalesce Index Managed Standby

TRUE TRUE FALSE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE

Visual Information Retrieval Export Transportable Tablespaces Transparent Application Failover Fast-Start Fault Recovery Sample Scan Duplexed Backups Java Olap Window Functions Block Media Recovery Fine-Grained Auditing Application Role Enterprise User Security Oracle Data Guard Oracle Label Security Olap Heap Segment Compression Join Index Trial Recovery Oracle Data Mining Online Redefinition Streams

TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE FALSE TRUE TRUE TRUE TRUE TRUE TRUE TRUE

Database Technologies & Services

www.db-team.com

Materialized View Rewrite Materialized View Warehouse Refresh Database Resource Manager Spatial

TRUE TRUE TRUE TRUE

File Mapping

TRUE

Database Technologies & Services

www.db-team.com

CONFIGURACIN DE SGA

AREA Fixed Size Variable Size Database Buffers Redo Buffers TOTAL SGA

Tamao (bytes) 738.584 520.093.696 1.056.964.608 10.641.408 1.588.438.296

Fixed Size Variable Database Buffers Redo Buffers

Database Technologies & Services

www.db-team.com

FICHEROS DE DATOS
NOMBRE DEL FICHERO C:\ORACLE\ORADATA\PPL\CWMLITE01.DBF E:\ORACLE\ORADATA\PPL\DATA_E.ORA F:\ORACLE\ORADATA\PPL\DATA_F.ORA E:\ORACLE\ORADATA\PPL\INDEX_E.ORA F:\ORACLE\ORADATA\PPL\INDEX_F.ORA G:\ORACLE\ORADATA\PPL\DAT01.ORA C:\ORACLE\ORADATA\PPL\DAT02.ORA C:\ORACLE\ORADATA\PPL\DRSYS01.DBF C:\ORACLE\ORADATA\PPL\EXAMPLE01.DBF C:\ORACLE\ORADATA\PPL\INDX.DBF I:\ORACLE\ORADATA\PPL\INDX02.ORA C:\ORACLE\ORADATA\PPL\ODM01.DBF C:\ORACLE\ORADATA\PPL\SYSTEM01.DBF C:\ORACLE\ORADATA\PPL\TOOLS01.DBF C:\ORACLE\ORADATA\PPL\UNDOTBS01.DBF C:\ORACLE\ORADATA\PPL\USERS01.DBF C:\ORACLE\ORADATA\PPL\XDB01.DBF TOTAL TABLESPACE CWMLITE CWMLITE CWMLITE CWMLITE CWMLITE DAT01 DAT02 DRSYS EXAMPLE INDX INDX02 ODM SYSTEM TOOLS UNDOTBS1 USERS XDB N/A 6.442.450.944 2.147.483.648 20.971.520 155.975.680 1.073.741.824 4.294.967.296 20.971.520 440.401.920 10.485.760 1.541.406.720 26.214.400 46.530.560 16.242.573.312 TAMAO 20.971.520 BYTES USADOS 11.730.944 0 0 0 0 1.312.948.224 463.011.840 10.092.544 154.140.672 0 471.793.664 9.699.328 431.685.632 0 25.346.048 0 46.268.416 2.936.717.312 20.38 21.56 48.13 98.82 0 10.98 46.25 98.02 0 1.64 0 99.44 N/A % USO 55.94

Recomendacin
No es aconsejable que haya ficheros de datos alojados en los discos de sistema. en este caso adems es donde est alojado el tablespace SYSTEM. Lo mismo es aplicable para los ficheros que soportan a los tablespaces de ndices no deberan estar en la unidad donde est el sistema operativo. por otra parte para reducir la contingencia los ficheros de indices deben estar en unidades donde no estn alojados los ficheros de datos, si es posible en unidades de disco soportadas por diferentes canales SCSI. Por otra parte ORACLE recomienda no est usado ms de un 70% del disco donde se almacenen los ficheros de datos o ndices, nuestra recomendacin es del 50-60%.

Database Technologies & Services

www.db-team.com

GESTION DEL ALMACENAMIENTO Por tablespace


TABLESPACE CWMLITE DAT01 DAT02 DRSYS EXAMPLE INDX INDX02 ODM SYSTEM TEMP1 TEMP2 TOOLS UNDOTBS1 USERS XDB INITIAL EXTENT 65.536 65.536 65.536 65.536 65.536 65.536 65.536 65.536 65.536 1.048.576 1.048.576 65.536 65.536 65.536 65.536 1.048.576 1.048.576 NEXT EXTENT MIN EXTENTS 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2.147.483.645 2.147.483.645 2.147.483.645 2.147.483.645 MAX EXTENTS 2.147.483.645 2.147.483.645 2.147.483.645 2.147.483.645 2.147.483.645 2.147.483.645 2.147.483.645 2.147.483.645 2.147.483.645 0 0 PERCENT INCREASE MIN EXT SIZE 65.536 65.536 65.536 65.536 65.536 65.536 65.536 65.536 65.536 1.048.576 1.048.576 65.536 65.536 65.536 STATUS ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE CONTENTS PERMANENT PERMANENT PERMANENT PERMANENT PERMANENT PERMANENT PERMANENT PERMANENT PERMANENT TEMPORARY TEMPORARY PERMANENT UNDO PERMANENT

Por Objeto
Todos los objetos de la base de datos tienen un almacenamiento configurado con los parmetros por defecto de ORACLE

Recomendacin
Es aconsejable el uso de parmetros de Storage personalizados para cada tipo de objeto y tablespace. no es lo mismo un tablespace que almacene tablas que otro que almacene ndices. tampoco es lo mismo gestionar el almacenamiento con una tabla con muchos registros que para otra que tenga muy pocos... si se realizan muchas modificaciones sobre registros o pocas. etc... Es necesario hacer un estudio pormenorizado de los objetos para adecuar las caractersticas de almacenamiento de cada uno de ellos.

Database Technologies & Services

www.db-team.com

OBJETOS MARCADOS COMO INVALIDOS


OWNER CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD TIPO FUNCTION PACKAGE PACKAGE PACKAGE PACKAGE PACKAGE PACKAGE PACKAGE BODY PACKAGE BODY PACKAGE BODY PACKAGE BODY PACKAGE BODY PACKAGE BODY PACKAGE BODY PACKAGE BODY PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE NOMBRE DEL OBJETO DT_ADDUSEROBJECT DFTCONFIGPKGE DISTRIBUTIONPKGE INTERFACESDWPKGE LANLANGPKGE PACPKGE ROBINSON_PCK CD_CHECKMATRICULAS CD_DEDUPACCIONES DFTCONFIGPKGE DISTRIBUTIONPKGE LANLANGPKGE PACPKGE PKGNUEVO_RTA ROBINSON_PCK ACTUALIZA_ACCION14 ACTUALIZA_ROBINSON_AVV ACTUALIZA_ROBINSON_GATO ACTUALIZA_RTA ADDR_NUMVIA_QUITAR_CEROS ALLADDS_AFINADO ARREGLA_TELEFONOS ASIGNA_GRUPOS ASIGNA_GRUPOS_ADDR AV_POR_CONCESIONARIO CARGA_INICIAL CARGAR_CLEANSING CARGAR_CONSULTACLT CARGAR_PRECLEANSING CLEAN_ADDRESSES COMPARA_RTA DEDUP_CHECK_CAB DEDUP_CHECK_DUP DEDUP_CHECK_NOR DEDUP_CLEANSING ESTADO INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID

Database Technologies & Services

www.db-team.com

CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD

PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE

DEDUP_DIRECCIONES DEDUP_DIRECCIONES_CLTADD DEDUP_DUP_DUP DEDUP_FICHERO DEDUP_FICHERO_REDEDUPLICA DEDUP_MAIN DEDUP_MAIN_REDEDUPLICA DEDUP_MCONTACT DEDUP_MSERVICIO DEDUP_NACSEX DEDUP_NODUP DEDUP_NOR_DUP DEDUP_NOR_DUP_REDEDUPLICA DEDUP_NORMALIZA_DIRECCIONES DEDUP_NORMALIZA_NOMBRES DEDUP_NORMALIZA_SEXO DEDUP_NORM_CAB DEDUP_RCLTADD DEDUP_RCLTVIN DEDUP_ROL_RCLTVIN DEDUP_SERVICIO_SC DT_DROPUSEROBJECTBYID DT_SETPROPERTYBYID EXTRAE_ADRESSCP EXTRAE_FICHERO_SC EXTRAER_ADD EXTRAER_ADDR_SOLO EXTRAER_CLT_ADD EXTRAER_CLT_ADD_AON EXTRAER_CLT_ADD_AVV EXTRAER_CLT_ADD_GATO EXTRAER_CLT_ADD_MGZN EXTRAER_CLT_ADD_NIF EXTRAER_CLT_ADD_PARA_MINI EXTRAER_CLT_AVV_ROBINSON EXTRAER_CLT_INTERFACETD EXTRAER_INSERT_9 EXTRAER_RCLTVIN_SERVICIO EXTRAER_VIN_ACTIVO

INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID

Database Technologies & Services

www.db-team.com

CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD MFO MFO MFO MFO MFO MFO

PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE VIEW PACKAGE BODY PACKAGE BODY PROCEDURE PROCEDURE PROCEDURE PROCEDURE

INSERTA_ACCION INSERTA_ACCION19 INSERTA_ACCION20 INSERTA_ACCION21 INSERTA_ACCION22 INSERT_USER_CONC LIMPIA_SERVICIO_MSERVICIO LOAD_EXTRAS MARCAR_ROBINSON_AVV MATRICULA_AON_P NIF_IGUALES NIF_IGUALES_ADD_ACCIONES NIF_IGUALES_CARGAR_CLEAN NIF_IGUALES_CARGAR_CLEAN_EXT NIF_IGUALES_VER_ACCIONES NRESP_ACCION OBT_CAB ORGANIZA_CONTACTOS PONE_PREFIJOS PREPARA_FICHERO PROCESA_CRITERIUM RCLT_REP RESPUESTAS_CLT RESPUESTAS_CLT_MAG ROLLBACK_DEDUP RTA_DEDUP TIEMPO_PERMANENCIA_TRIOCAR UPDATE_MAILING_ERROR UPDATEMINI_EUROPCAR UPDATE_RCLTADD_ERROR UPDATE_SERV_WP ZE_RTA_ADDR_CLEAN V$VIN_ORS_TALLER BMW_UTL INTERFACEPKGE BORRAME CARGA_INICIAL CARGA_INICIAL_FILE_OLD ENUM_SCRIPT

INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID

Database Technologies & Services

www.db-team.com

MFO MFO MFO MFO MFO MFO MFO SYSTEM SYSTEM SYSTEM

PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE PROCEDURE VIEW PACKAGE PACKAGE BODY PACKAGE BODY

MFO_AJUSTA_COLORES MFO_HST_LOAD MFO_SCRIPT MIGRA_PERIODISTAS_MEDIOS MIGRA_POOL_DE_POOLES PASO_A_VENTAS INTPROCEXEC_VIEW DWDATAENTRYPKGE DWDATAENTRYPKGE UTL_RECOMP

INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID INVALID

Recomendacin
Comprobar cada uno de los objetos listados arriba y verificar su estado para que dejen de estar marcados como invlidos, en caso de no ser necesarios proceder a su borrado

Database Technologies & Services

www.db-team.com

USER HIT RATIO

Usernam e MFO SYSTEM SYSTEM SYSTEM CD MFO MFO SYSTEM MFO MFO

Consistent Gets 15 975 3.337.515 125 3.946 1.983.943 117.631.777 43 944 187

DB Blk Gets 0 126 0 119 0 998 16.287 3 0 0

Physical Reads 7 138 368.822 24 20 2.603 18.558 0 0 0

Hit Ratio (1) 53.33 87.47 88.95 90.16 99.49 99.87 99.98 100 100 100

TABLAS CON NDICES CUESTIONABLES


Owner CTXSYS MDSYS MDSYS MDSYS MFO MFO OE OE WKSYS WKSYS WKSYS WKSYS WKSYS WKSYS WKSYS WKSYS WKSYS WKSYS WMSYS XDB Tabla DR$INDEX_PARTITION SDO_GEOM_METADATA_TABLE SDO_LRS_METADATA_TABLE SDO_THEMES_TABLE DISDLRZONES INTDLRVHLDATA INVENTORIES ORDER_ITEMS WK$_ATTR_MAPPING WK$_CRAWLER_SCHED WK$_DATA_SOURCE WK$_DATA_SOURCE_PARAM WK$_DATA_SOURCE_TYPE WK$_DOC_ATTR WK$_MAILLIST WK$_PORTAL WK$_SEARCH_ATTR WK$_SOURCE_GROUP WM$RIC_TABLE XDB$CHECKOUTS Columna IXP_IDX_ID SDO_OWNER SDO_OWNER SDO_OWNER ZONEID LOAD_EXEC_ID PRODUCT_ID ORDER_ID WK$IID WK$IID WK$IID WK$IID WK$IID WK$IID WK$IID WK$IID WK$IID WK$IID CT_OWNER VCRUID

Database Technologies & Services

www.db-team.com

Recomendacin
Comprobar que los ndices listados arriba realmente son necesarios. realiza explain plans sobre las sentencias que atacan a estas tablas y verificar que los ndices son usados. en caso de que no sean usados borrar los ndices ya que estos penalizan las operaciones de insertado. modificacin y borrado de registros.

FOREIGN KEYS SIN NDICE EN LA TABLA HIJA


Owner MDSYS MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO Nombre de la Constraint FK_SRID BMWBRANDS_BMWSERIES_FK1 BMWCAMP_BMWVHLAFFECT_FK1 BMWENGINE_BMWMODELS_FK1 BMWFEATURES_BMWPACKFEAT_FK1 BMWFEATURES_BMWPACKFEAT_FK2 BMWFEATURES_BMWVHLFEATS_FK1 BMWFEATURETYPE_BMWFEATURES_FK1 BMWMDLCAT_BMWMDLCAT_FK1 BMWMDLCAT_BMWMDLELMTS_FK1 BMWMDLELMTS_BMWMDLELMTS_FK1 BMWMDLELMTS_DOPQUOTAINFO_FK1 BMWMDLELMTS_PACSTOCKINFO_FK1 BMWMDLELMTS_RDTSTR_FK1 BMWMDLGRP_BMWMDLCAT_FK1 BMWMODELS_BMWMDLELMTMDLS_FK1 BMWMODELS_BMWPRODUCTION_FK1 BMWPRODEVTS_BMWVEHICLES_FK1 BMWPRODSTATUS_BMWPRODEVTS_FK1 BMWPURCH_BMWPURCHDETAIL_FK1 BMWPURCH_BMWPURCHDETAIL_FK1 BMWSALEDOCS_BMWSALEDETAIL_FK1 BMWSERIES_BMWMODELS_FK1 BMWVEHICLES_BMWPURCHASES_FK1 BMWVEHICLES_BMWSALEDOCS_FK1 BMWVERSION_BMWMODELS_FK1 BMWVHLFEATS_BMWVHLFEATS_FK1 BMWVHLPROPDESC_BMWVHLPROPS_FK1 DFITEMTREE_DFACTIONAUDIT_FK1 DFITEMTREE_DFITEMTREE_FK1 DFMANITEMTYP_DFAUTODOWN_FK1 Columna SRID BRANDID CAMPID ENGINESERID PACKID FEATUREID FEATUREID FEATTYPEID PARENTCATEGORYID CATEGORYID PARENTELEMENTID ELEMENTID ELEMENTID ELEMENTID MODELGRPID MODELID MODELID PRODEVENTID PRODSTATUSID DOCNUM VEHICLEID DOCNUM SERIEID VEHICLEID VEHICLEID BMWVERSIONID PARENTPACK PROPERTYID ITEMID PARENTITEM ITEMTYPID Posicin Problema 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index

Database Technologies & Services

www.db-team.com

MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO

DFMANITEMTYP_DFITEMTREE_FK1 DISDEALER_BMWPRODEVTS_FK1 DISDEALER_BMWVHLAFFECT_FK1 DISDEALER_BMWVHLAFFECT_FK2 DISDEALER_DISINSTALLHST_FK1 DISPARTNERS_BMWSALEDOCS_FK1 DISPARTNERS_PACSTOCKINFO_FK1 DISPARTNERS_RPRTDTSTR_FK1 DISZONES_DISZONES_FK1 ENUMS_ENUMVALUES_FK1 ENUMVALUES_BMWMODELS_FK2 ENUMVALUES_BMWPURCHASES_FK1 ENUMVALUES_BMWSALEDOCS_FK1 ENUMVALUES_BMWUSERFIELDS_FK1 ENUMVALUES_BMWVH LPROPDESC_FK1 ENUMVALUES_DFACTIONAUDIT_FK1 ENUMVALUES_DISDEALERCODES_FK1 ENUMVALUES_DISRELSERVICES_FK1 ENUMVALUES_DISZONEMNGRS_FK1 ENUMVALUES_DISZONES_FK1 ENUMVALUES_FLTEVENTS_FK1 ENUMVALUES_FLTFLEETVHLS_FK1 ENUMVALUES_FLTLOCATIONS_FK1 ENUMVALUES_FLTSPECIALACTOR_FK1 ENUMVALUES_LCACTORADDR_FK1 ENUMVALUES_LCADDRESS_FK1 ENUMVALUES_LCCONTACTS_FK1 ENUMVALUES_MDMEDIA_FK1 ENUMVALUES_MDMEDIA_FK2 ENUMVALUES_MDMEDIA_FK3 ENUMVALUES_PRACTORRELS_FK1 ENUMVALUES_PRACTORS_FK1 ENUMVALUES_PRPERSONS_FK1 ENUMVALUES_PRPERSONS_FK2 ENUMVALUES_PRUSERS_FK1 ENUMVALUES_SCAPPROLES_FK1 ENUMVALUES_SCAPPS_FK1 ENUMVALUES_SCDOMAINS_FK1 ETAXVERSIONS_BMWMODELS_FK1

ITEMTYPID INSTALLATIONID SELLERID REPAIRERID INSTALLATIONID DISTRIBUTORID DISTRIBUTORID DISTRIBUTORID MAINZONE ENUMID BODYTYPEENUM PDOCTYPEENUM SDOCTYPEENUM FIELDTYPEENUM PROPERTYDATATYPEENUM AUDITACTIONENUM CODETYPEENUM SERVICETYPEENUM MNGRROLEENUM ZONETYPEENUM EVTCATEGORYENUM DELREASONENUM LOCATIONTYPEENUM SPECIALTYPEENUM ACTORADDRENUM ADDRTYPEENUM CONTACTTYPEENUM PERIODENUM SCOPEENUM MEDIATYPEENUM RELTYPEENUM ACTORTYPEENUM POSTALTYPEENUM TITLETYPEENUM USERTYPEENUM RESTRICTTYPEENUM RESTRICTTYPEENUM DOMTYPEENUM ETAXVERSIONSID

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index

Database Technologies & Services

www.db-team.com

MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO

FK_CAMCAMPANA FK_MATMODELO FK_MATPORGRU FK_MATSEGMEN_01 FK_MATSEGMEN_02 FK_MATSEGMOD_2 FK_MKTACC FK_MKTACCCC FK_MKTACCNCUE FK_MKTACCNORD FK_MKTACT FK_MKTPART FK_PAMIVALCRI FK_PAMIVALPRE FK_PAPVVALCRI FK_PAPVVALPRE FK_VEOBJETIVO FK_VETIPCLI FK_VETIPCLICAT FLDCONCES_FLDRELSZCON_FK1 FLDCONCES_FLDTALLER_FK1 FLDSUBZONA_FLDRELSZCON_FK1 FLDSUBZONA_FLDTALLER_FK1 FLDZONA_FLDSUBZONA_FK1 FLTEVENTS_FLTVHLEVTS_FK1 FLTFLEETVHLS_FLTFLEETVHLS_FK1 FLTFLEETVHLS_FLTVHLEVTS_FK1 FLTLOCATIONS_FLTFLEETVHLS_FK1 FLTLOCATIONS_FLTORDERTRANS_FK1 FLTLOCATIONS_FLTORDERTRANS_FK2 FLTLOCATIONS_FLTVHLEVTS_FK1 FLTLOCATIONS_FLTVHLEVTS_FK2 FLTLOCATIONS_FLTVHLEVTS_FK3 FLTLOCATOR_FLTLOCVHL_FK1 FLTPOOLS_FLTAUTHPERSONS_FK1 FLTPOOLS_FLTLOCATORCODES_FK1 FLTPOOLS_FLTPOOLS_FK1 FLTPOOLS_FLTPOOLVHLS_FK1 FLTVHLEVTS_FLTEVTSORDTR_FK1

IDGRUPO IDMARCA IDGRUSEG IDGRUSEG IDMARBMW IDSEGMEN IDPART NCENCOS NNUMCUENTA NNUMORD NNUMORD IDACT IDCODCRI IDCODPRE IDCODCRI IDCODPRE NCODVENESP NCODVENESP NCODCATEGO CONCESID CONCESID SUBZONAID SUBZONAID ZONAID FLTEVENTID REPLACESID VEHICLEID LOCATIONID LOCATIONDELIVERY LOCATIONRECEIVER DELIVERYLOC RECEPTLOC USELOC NUMBERCARD POOLID POOLID MAINPOOLID POOLID FLTVHLEVTID

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index

Database Technologies & Services

www.db-team.com

MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO

FLTVHLEVTS_FLTFLEETVHLS_FK1 FLTVHLTYPE_FLTFLEETVHLS_FK1 INTLOAD_INTLOADSEXEC_FK1 INTLOADSEXEC_INTPROCEXEC_FK1 LANLANG_LANPHRASES_FK1 LCADDRESS_FLTLOCATIONS_FK1 LCCOUNTRIES_PRPERSONS_FK1 LCREGIONS_LCADDRESS_FK1 LCREGIONS_LCADDRESS_FK1 MAILAREA_MAILDEFAULT_FK1 MAILAREA_MAILRELARDT_FK1 MAILDISTRIB_MAILRELARDT_FK1 MAILGROUP_MAILAREA_FK1 MAILGROUP_MAILDEFAULT_FK1 MAILTYPE_MAILRELARDT_FK1 MDPRESSCOMS_MDMEDIA_FK1 ORGCOMPANY_FLTFLEETVHLS_FK1 ORGCOMPANY_ORGDEPARTMENTS_FK1 ORGCOMPANY_ORGEMPCATEG_FK1 ORGCOMPANY_SCDOMAININFO_FK1 ORGCOMPTRANS_PRCARRIER_FK1 ORGDEPARTMENTS_FLTPOOLS_FK1 ORGDEPTS_ORGDEPTS_FK1 ORGDEPTWRKS_ORGAUTHORIZED_FK1 ORGEMPCATEG_ORGDEPTWRKS_FK1 PARAMHOURDELIVERY_FK PARAMHOURRECEIVER_FK PRACTORS_FLTEVTAUXACTS_FK1 PRACTORS_FLTFLEETVHLS_FK1 PRACTORS_FLTFLEETVHLS_FK2 PRACTORS_FLTVHLEVTS_FK1 PRACTORS_FLTVHLEVTS_FK2 PRACTORS_FLTVHLEVTS_FK3 PRACTORS_FLTVHLEVTS_FK4 PRACTORS_FLTVHLEVTS_FK5 PRACTORS_LCACTORADDR_FK1 PRACTORS_PRACTORRELS_FK2 PRCARRIER_FLTORDERTRAN S_FK1 PRCARRIER_FLTORDERTRANS_FK1

FLTVHLEVTID VEHICLETYPEID LOADID LOADEXECID LANGCODE ADDRID COUNTRYID COUNTRYID REGIONID AREAID AREAID RECIPIENTID GROUPID GROUPID TYPEID COMPANYID COMPANYID COMPANYID COMPANYID COMPANYID COMPANYID DEPTID MAINDEPT STARTDATE CATID PARAMHOURDELIVERY PARAMHOURRECEIVER ACTORID REQUESTBYID AUTHACTORID AUDITORACTORID DELIVER ACTUSER AUTHBY RECEIVER ACTORID ACTORID2 CARRIERID COMPTRANSPORTID

1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2

No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index

Database Technologies & Services

www.db-team.com

MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO ODM ODM ODM ODM ODM OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS

PRPERSONS_DISZONEMNGRS_FK1 PRPERSONS_MDJOURNALIST_FK1 PRPERSONS_ORGDEPTWRKS_FK1 PRPERSONS_SCACCOUNTINFO_FK1 SCACCOUNTS_INTNOTIFY_FK1 SCACCOUNTS_SCACSESSIONS_FK1 SCAPPROLES_SCACCOUNTROLES_FK1 SCAPPROLES_SCRESTROLEDOM_FK1 SCAPPS_SCAPPROLES_FK1 SCAPPS_SCRESTAPPDOM_FK1 SCDOMAINS_DFITEMTREE_FK1 LIFT_RESULT_ENTRY_FK LIFT_RESULT_FK MINING_TASK_STATE_FK MS_RESULT_FK TEST_RESULT_FK CWM$ARGUMENT_FK CWM$CLASSIFICATIONENTRY_FK CWM$CLASSIFICATION_FK CWM$CLASSIFICATIONTYPE_FK CWM$CUBE_FK CWM$DIMENSIONATTRIBUTE_FK CWM$DIMENSION_FK CWM$DOMAIN_FK CWM$FACTLEVELGROUP_FK CWM$FACTLEVELUSE_FK CWM$FUNCTION_FK CWM$HIERARCHY_FK CWM$LEVEL_FK CWM$MODEL_FK CWM$MODEL_FK_1 CWM$OBJECTTYPE_FK CWM$OBJECTTYPE_FK_1 CWM$PARAMETER_FK CWM2$CUBEDIMENSIONUSE_CUBE_FK CWM2$CUBEDIMENSIONUSE_DIM_FK CWM2$DIMATTR_DIM_FK CWM2$DIMHIERLVLMAP_DHL_FK CWM2$FACTDIMHIERMAP_CUBE_FK

PERSONID PERSONID PERSONID PERSONID ACCOUNTID ACCOUNTID ROLEID ROLEID APPID APPID DOMAINOWNERID LIFT_RESULT_ID LIFT_RESULT_NAME ID MODEL_SEEKER_RESULT_ID TEST_RESULT_NAME PARAMETER_IRID CLASSIFICATION_IRID PROJECT_IRID PROJECT_IRID DATAMODEL_IRID ITEMCONTAINER_IRID DATAMODEL_IRID DEFINITIONMODEL_IRID FACTUSE_IRID FACTLEVELGROUP_IRID PROCESSMODEL_IRID DIMENSION_IRID DIMENSION_IRID PROJECT_IRID MODEL_IRID PROJECT_IRID CLASSIFICA TIONTYPE_IRID OPERATION_IRID CUBE_IRID DIMENSION_IRID DIMENSION_IRID DIMHIERLVL_IRID CUBE_IRID

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index

Database Technologies & Services

www.db-team.com

OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS OLAPSYS SCOTT SH WKSYS WKSYS WKSYS WKSYS WKSYS WKSYS WKSYS WKSYS WKSYS

CWM2$FACTDIMHTD_CUBE_FK CWM2$FACTDIMHTD_FDHM_FK CWM2$FACTKEY DHLM_FKDHM_FK CWM2$FACTKEYDHM_FDHM_FK CWM2$HIERARCHY_DIM_FK CWM2$HIERLEVELREL_CLEVEL_FK CWM2$HIERLEVELREL_DIM_FK CWM2$HIERLEVELREL_HIER_FK CWM2$HIERLEVELREL_PLEVEL_FK CWM2$LEVELATTR_DIMATTR_FK CWM2$LEVELATTR_DIM_FK CWM2$LEVELATTR_LEVEL_FK CWM2$LEVEL_DIM_FK CWM2$LVLATTRMAP_HIERLVLREL_FK CWM2$LVLATTRMAP_LVLATTR_FK CWM2$MEASURE_CUBE_FK CWM2$MEASURETABLEMAP_FDHM_FK CWM2$MEASURETABLEMAP_MEAS_FK FK_DEPTNO CUSTOMERS_COUNTRY_FK SYS_C001717 SYS_C001728 SYS_C001746 SYS_C001760 SYS_C001789 SYS_C001802 SYS_C001803 SYS_C001804 SYS_C001804

CUBE_IRID FACTDIMHIER_IRID FACTKEYDIMHIER_IRID FACTDIMHIER_IRID DIMENSION_IRID CHILDLEVEL_IRID DIMENSION_IRID HIERARCHY_IRID PARENTLEVEL_IRID DIMATTR_IRID DIMENSION_IRID LEVEL_IRID DIMENSION_IRID HIERLVLREL_IRID LEVELATTR_IRID CUBE_IRID FACTDIMHIER_IRID MEASURE_IRID DEPTNO COUNTRY_ID WK$IID DS_TYPE_ID SG_ID SM_SCHED_ID AU_SEARCH_ATTR_ID WK$IID WK$IID PV_DS_ID WK$IID

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 1 1 2 1

No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index No Index

Recomendacin
Verificar cuales de estas foreign keys necesitara de un ndice sobre la tabla hija, sobre todo tener en cuenta las tablas que tengan un tamao ms considerable. Verificar luego las sentencias que atacan a las tablas implicadas mediante la generacin de planes de ejecucin y comprobar que se hace uso de los ndices creados.

Database Technologies & Services

www.db-team.com

INCONSISTENCIAS EN EL TIPO DE DATOS

OWNER MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO

COLUMNA ACC_DIFF ACC_DIFF ACC_OBJ ACC_OBJ ACC_REAL ACC_REAL AVERAGE_MARGIN AVERAGE_MARGIN BRANDID BRANDID BRANDID BRANDID BRANDID BRANDID BRANDID BRANDID BRANDNAME BRANDNAME BRANDNAME BRANDNAME BRANDNAME BRANDNAME BRANDNAME CDESCRI CDESCRI CDESGRUPO CDESGRUPO DESCRIPTION DESCRIPTION DESCRIPTION DESCRIPTION DESCRIPTION DESCRIPTION IDMODELO IDMODELO IDMODELO IDMODELO LIFE_DIFF LIFE_DIFF LIFE_OBJ LIFE_OBJ LIFE_REAL LIFE_REAL LOCALIDAD LOCALIDAD LOCALIDAD LOCALIDAD MODEL MODEL NAME NAME NAME NAME NAME NIMPORTE NIMPORTE NORM_ORD_EUROS NORM_ORD_EUROS NORM_ORD_LINES NORM_ORD_LINES OPT_TABLE OPT_TABLE

TABLA INTPOSTVENTADATA INTDLRPRTDATA INTDLRPRTDATA INTPOSTVENTADATA INTDLRPRTDATA INTPOSTVENTADATA INTDLRPRTDATA INTPOSTVENTADATA BMWBRANDS V_COMERCIAL_GROUPS V_DOPMODEL_GROUPS V_COMMODEL_GROUPS V_COMERCIAL_MODELS BMWSERIES V_MCOMERCIAL_GROUPS V_MCOMMODEL_GROUPS BMWBRANDS V_COMMODEL_GROUPS V_DOPMODEL_GROUPS V_COMERCIAL_MODELS V_COMERCIAL_GROUPS V_MCOMERCIAL_GROUPS V_MCOMMODEL_GROUPS PAMIDEFCRI PAPVDEFCRI CAMGRUPO PAMIGRUPO BMWCAMP BMWMDLCAT BMWMDLGRP BMWUSERTABLE BMWUSERFIELDS BMWMDLELMTS MATMODELO MATPORMOD MATSEGMOD FLDMODELO INTDLRPRTDATA INTPOSTVENTADATA INTDLRPRTDATA INTPOSTVENTADATA INTDLRPRTDATA INTPOSTVENTADATA FLDDATOS FLDDATOS_DUP RTA_PERIODISTAS FLDTALLER ETAXVERSIONS INTCIACARDATA FLTSPECIALACTOR LCADDRESS LCCOUNTRIES LCREGIONS PRPERSONS MKTGASCONC PAMIVALFIN INTDLRPRTDATA INTPOSTVENTADATA INTDLRPRTDATA INTPOSTVENTADATA INTCIACARDATA INTDLRVHLDATA

TIPO DE DATO NUMBER(6) NUMBER(14) NUMBER(14) NUMBER(9) NUMBER(14) NUMBER(9) NUMBER(14) NUMBER(6) VARCHAR2(10) VARCHAR2(20) VARCHAR2(20) VARCHAR2(20) VARCHAR2(20) VARCHAR2(10) VARCHAR2(20) VARCHAR2(20) VARCHAR2(25) VARCHAR2(50) VARCHAR2(50) VARCHAR2(50) VARCHAR2(50) VARCHAR2(50) VARCHAR2(50) VARCHAR2(25) VARCHAR2(50) VARCHAR2(100) VARCHAR2(25) VARCHAR2(100) VARCHAR2(512) VARCHAR2(512) VARCHAR2(1024) VARCHAR2(1024) VARCHAR2(512) NUMBER(6) NUMBER(6) NUMBER(6) VARCHAR2(5) NUMBER(14) NUMBER(6) NUMBER(14) NUMBER(9) NUMBER(14) NUMBER(9) VARCHAR2(75) VARCHAR2(75) VARCHAR2(26) VARCHAR2(75) VARCHAR2(40) VARCHAR2(4) VARCHAR2(75) VARCHAR2(50) VARCHAR2(50) VARCHAR2(50) VARCHAR2(50) NUMBER(12) NUMBER(15) NUMBER(14) NUMBER(6) NUMBER(14) NUMBER(6) VARCHAR2(1800) VARCHAR2(1600)

Database Technologies & Services

www.db-team.com

MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO MFO

PARTS_DIFF PARTS_DIFF PARTS_OBJ PARTS_OBJ PARTS_REAL PARTS_REAL SALES_EXT SALES_EXT SALES_TOTAL SALES_TOTAL SERIEID SERIEID SERIEID SERIEID SERIEID SERIEID SERIEID SERIEID STOCK_ROTATION STOCK_ROTATION STOCK_VALUE STOCK_VALUE TALLERID TALLERID TALLERID TALLERID URG_ORD_EUROS URG_ORD_EUROS URG_ORD_LINES URG_ORD_LINES VERSION VERSION VERSION ZEMAINID ZEMAINID

INTDLRPRTDATA INTPOSTVENTADATA INTDLRPRTDATA INTPOSTVENTADATA INTDLRPRTDATA INTPOSTVENTADATA INTDLRPRTDATA INTPOSTVENTADATA INTDLRPRTDATA INTPOSTVENTADATA BMWMODELS BMWSERIES V_COMERCIA L_MODELS V_MCOMERCIAL_GROUPS V_DOPMODEL_GROUPS V_COMMODEL_GROUPS V_COMERCIAL_GROUPS V_MCOMMODEL_GROUPS INTDLRPRTDATA INTPOSTVENTADATA INTDLRPRTDATA INTPOSTVENTADATA FLDDATOS FLDTALLER FLDDATOS_DUP FLDPARQUE INTDLRPRTDATA INTPOSTVENTADATA INTDLRPRTDATA INTPOSTVENTADATA ETAXVERSIONS INTLOAD INTPROCS DISPARTNERS USERSDWLOAD

NUMBER(14) NUMBER(6) NUMBER(14) NUMBER(9) NUMBER(14) NUMBER(9) NUMBER(14) NUMBER(6) NUMBER(14) NUMBER(11) VARCHAR2(10) VARCHAR2(10) VARCHAR2(20) VARCHAR2(20) VARCHAR2(20) VARCHAR2(20) VARCHAR2(20) VARCHAR2(20) NUMBER(14) NUMBER(6) NUMBER(14) NUMBER(11) VARCHAR2(10) VARCHAR2(10) VARCHAR2(10) VARCHAR2(5) NUMBER(14) NUMBER(6) NUMBER(14) NUMBER(6) VARCHAR2(40) VARCHAR2(10) VARCHAR2(10) VARCHAR2(10) VARCHAR2(5)

Recomendacin
Resolver las inconsistencias de tipo de dato mediante la actulizacin del modelo de datos.

TABLAS ANALIZADAS

Owner CTXSYS MDSYS MFO ODM ODM_MTR OE OLAPSYS ORDSYS OUTLN PM

Objetos analizados 0 0 0 0 0 7 0 0 0 2

Objetos no Analizados 36 18 182 25 12 2 86 5 3 0

Total 36 18 182 25 12 9 86 5 3 2

Database Technologies & Services

www.db-team.com

QS QS_CBADM QS_CS QS_ES QS_OS QS_WS SCOTT SH WKSYS WMSYS XDB

0 0 0 0 0 0 0 15 0 0 0

15 8 8 14 14 14 4 0 38 22 5

15 8 8 14 14 14 4 15 38 22 5

Recomendacin
Realizar el anlisis de todos los objetos de la base de datos. actualmente al no exisitir estadsticas sobre los objetos el optimizador basado en costes no est funcionando y todas las sentencias son ejecutadas con el optimizador basado en reglas. Hay que tener en cuenta que el optimizador basado en reglas esta ya obsoleto (no soportado) por ORACLE versin 10. Aunque en un principio presente problemas de rendimiento. lo mejor es analizar todas las tablas del entorno de desarrollo y testear para verificar que con el paso del tiempo la ejecucin de las distintas sentencias mejora. por otro lado hay que establecer una comparativa entre el rendimiento de costes y reglas a partir de la ejecucin de distintas sentencias y no de una sla o unas pocas ya que puede dar la casualidad que para determinadas sentencias sea mas optima la aplicacin del optimizador basado en reglas. establecer esta comparativa tambin introduciendo el hint RULE en las distintas sentencias para establecer las diferencias de ejecucin.

TABLAS E INDICES PARTICIONADOS


No estn siendo utilizadas tablas e ndices particionados

Recomendacin
Aunque el tamao de las tablas de la instancia no recomienda el uso de tablas e ndices particionados, si deben de ser tenidos en cuenta en el futuro cuando el tamao de las tablas empieze a ser considerable.

BUFFER HIT RATIO

Consistent Gets 14.249.331.494

DB Blk Gets 50.339.448

Physical Reads 81.670.861

Hit Ratio 99.429

Database Technologies & Services

www.db-team.com

LIBRARY CACHE HIT RATIO

Executions 178.968.382

Execution Hits 178.615.486

Hit Ratio 99.803

Misses 288.858

Hit Ratio 99.839

DATA DICTIONARY HIT RATIO

Gets 243.183.325

Cache Misses 18.219

Hit Ratio 99.993

ESTADISTICAS DEL SISTEMA


Stat# 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 logons cumulative logons current opened cursors cumulative opened cursors current user commits user rollbacks user calls recursive calls recursive cpu usage session logical reads session stored procedure space CPU used when call started CPU used by this session session connect time process last non-idle time session uga memory session uga memory max messages sent messages received background timeouts session pga memory session pga memory max enqueue timeouts enqueue waits enqueue deadlocks Name Class 1 1 1 1 1 1 1 1 1 1 1 128 1 1 128 1 1 128 128 128 1 1 4 4 4 Value 2.535 22 6.815.508 79 129.222 314 39.515.051 186.480.574 5.476.117 14.299.692.807 0 17.478.638 17.478.655 2.377.920.830.005 2.373.625.862.709 76.648.280 5.470.540.416 1.420.485 1.420.486 7.584.390 24.932.752 98.042.520 130 7 0

Database Technologies & Services

www.db-team.com

25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63

enqueue requests enqueue conversions enqueue releases global lock sync gets global lock async gets global lock get time global lock sync converts global lock async converts global lock convert time global lock releases total file opens opens requiring cache replacement opens of replaced files gcs messages sent ges messages sent db block gets consistent gets physical reads db block changes consistent changes recovery blocks read physical writes physical writes non checkpoint summed dirty queue length DBWR checkpoint buffers written DBWR transaction table writes DBWR undo block writes DBWR revisited being-written buffer DBWR make free requests DBWR free buffers found DBWR lru scans DBWR summed scan depth DBWR buffers scanned DBWR checkpoints DBWR cross instance writes DBWR fusion writes remote instance undo block writes remote instance undo header writes prefetch clients - keep

4 4 4 32 32 32 32 32 32 32 8 8 8 32 32 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 40 40 40 40 8

81.107.982 234.960.364 81.107.832 0 0 0 0 0 0 0 0 0 0 0 0 50.339.448 14.249.355.322 81.670.861 52.434.886 6.094.316 19 36.812.856 36.365.080 30.640 1.102.684 90.149 345.971 25 6.459 1.037.084 6.459 1.056.867 1.056.867 77 0 0 0 0 0

Database Technologies & Services

www.db-team.com

64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102

prefetch clients - recycle prefetch clients - default prefetch clients - 2k prefetch clients - 4k prefetch clients - 8k prefetch clients - 16k prefetch clients - 32k change write time redo synch writes redo synch time exchange deadlocks free buffer requested dirty buffers inspected pinned buffers inspected hot buffers moved to head of LRU free buffer inspected commit cleanout failures: write disabled commit cleanout failures: block lost commit cleanout failures: cannot pin commit cleanout failures: hot backup in progress commit cleanout failures: buffer being written commit cleanout failures: callback failure commit cleanouts commit cleanouts successfully completed recovery array reads recovery array read time CR blocks created current blocks converted for CR switch current to new buffer write clones created in foreground write clones created in background prefetched blocks prefetched blocks aged out before use physical reads direct physical writes direct physical reads direct (lob) physical writes direct (lob) cold recycle reads consistent gets - examination

8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8

0 1 0 0 0 0 0 22.375 126.413 170.507 0 49.373.689 10.791 1.086 29.156.419 13.430 0 57 0 0 1.747 9.478 8.696.800 8.685.518 0 0 192.190 0 2.574.501 1.959 0 24.434.090 3.412 35.390.230 35.669.526 0 0 0 12.585.838.416

Database Technologies & Services

www.db-team.com

103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141

shared hash latch upgrades - no wait shared hash latch upgrades - wait calls to kcmgcs calls to kcmgrs calls to kcmgas next scns gotten without going to GES Unnecesary process cleanup for SCN batching calls to get snapshot scn: kcmgss kcmgss waited for batching kcmgss read scn without going to GES kcmccs called get current scn redo entries redo size redo buffer allocation retries redo wastage redo writer latching time redo writes redo blocks written redo write time redo log space requests redo log space wait time redo log switch interrupts redo ordering marks global cache gets global cache get time global cache converts global cache convert time global cache cr blocks received global cache cr block receive time global cache current blocks received global cache current block receive time global cache cr blocks served global cache cr block build time global cache cr block flush time global cache cr block send time global cache current blocks served global cache current block pin time global cache current block flush time global cache current block send time

8 8 128 128 128 32 32 32 32 32 32 2 2 2 2 2 2 2 2 2 2 2 2 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40

260.913.794 185.669 854.655 0 8.460.847 0 0 191.565.049 0 0 0 26.772.255 7.323.836.024 212 354.793.348 1.279 1.267.869 15.485.852 1.446.010 290 7.547 0 728 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Database Technologies & Services

www.db-team.com

142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180

global cache freelist waits global cache defers global cache convert timeouts global cache blocks lost global cache claim blocks lost global cache blocks corrupt global cache prepare failures global cache skip prepare failures total number of slots instance recovery database freeze count background checkpoints started background checkpoints completed number of map operations number of map misses serializable aborts transaction lock foreground requests transaction lock foreground wait time transaction lock background gets transaction lock background get time transaction tables consistent reads - undo records applied transaction tables consistent read rollbacks data blocks consistent reads - undo records applied no work - consistent read gets cleanouts only - consistent read gets rollbacks only - consistent read gets cleanouts and rollbacks - consistent read gets RowCR attempts RowCR hits RowCR - row contention rollback changes - undo records applied transaction rollbacks immediate (CURRENT) block cleanout applications immediate (CR) block cleanout applications deferred (CURRENT) block cleanout applications commit txn count during cleanout active txn count during cleanout cleanout - number of ktugct calls immediate CR cleanouts (index blocks) deferred CUR cleanouts (index blocks)

40 40 40 40 40 40 40 40 8 32 8 8 8 8 1 128 128 128 128 128 128 128 128 128 128 128 128 128 128 128 128 128 128 128 128 128 128 128 128

0 0 0 0 0 0 0 0 0 0 75 75 0 0 0 0 0 0 0 5.034 84 6.081.546 1.400.159.855 32.180 585.536 69.744 0 0 0 31.670 1.896 61.854 101.924 5.398.564 68.085 552.345 578.837 0 0

Database Technologies & Services

www.db-team.com

181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219

Commit SCN cached Cached Commit SCN referenced number of auto extends on undo tablespace number of drop segment calls under space pressure total number of undo segments dropped table scans (short tables) table scans (long tables) table scans (rowid ranges) table scans (cache partitions) table scans (direct read) table scan rows gotten table scan blocks gotten table fetch by rowid table fetch continued row cluster key scans cluster key scan block gets rows fetched via callback leaf node splits leaf node 90-10 splits branch node splits native hash arithmetic execute native hash arithmetic fail index fast full scans (full) index fast full scans (rowid ranges) index fast full scans (direct read) index fetch by key index scans kdiixs1 session cursor cache hits session cursor cache count cursor authentications queries parallelized DML statements parallelized DDL statements parallelized DFO trees parallelized Parallel operations not downgraded Parallel operations downgraded to serial Parallel operations downgraded 75 to 99 pct Parallel operations downgraded 50 to 75 pct Parallel operations downgraded 25 to 50 pct

128 128 128 128 128 64 64 64 64 64 64 64 64 64 64 64 64 128 128 128 64 64 64 64 64 128 128 64 64 128 32 32 32 32 32 32 32 32 32

484 202.508.532 0 0 0 10.810.325 12.514 42 0 0 25.093.037.276 421.600.436 5.811.448.890 72.466.918 4.245.888 7.894.866 4.558.424.406 13.904 1.497 45 0 0 158 0 0 4.943.789.260 235.410.929 3.942.398 879 16.149 1 0 0 1 0 0 0 0 1

Database Technologies & Services

www.db-team.com

220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250

Parallel operations downgraded 1 to 25 pct PX local messages sent PX local messages recv'd PX remote messages sent PX remote messages recv'd buffer is pinned count buffer is not pinned count no buffer to keep pinned count table lookup prefetch client count workarea memory allocated workarea executions - optimal workarea executions - onepass workarea executions - multipass parse time cpu parse time elapsed parse count (total) parse count (hard) parse count (failures) execute count bytes sent via SQL*Net to client bytes received via SQL*Net from client SQL*Net roundtrips to/from client bytes sent via SQL*Net to dblink bytes received via SQL*Net from dblink SQL*Net roundtrips to/from dblink sorts (memory) sorts (disk) sorts (rows) OTC commit optimization attempts OTC commit optimization hits OTC commit optimization failure - setup

32 32 32 32 32 72 72 72 8 64 64 64 64 64 64 64 64 64 64 1 1 1 1 1 1 64 64 64 128 128 128

0 237 237 0 0 6.561.490.661 10.616.434.680 259 0 3.032 156.585.542 267 0 54.213 119.880 6.863.390 301.603 268.851 156.294.152 67.685.287.978 1.886.155.084 39.331.845 2.857.576.994 3.238.074.836 56.886.792 79.771.640 33.196 7.874.171.619 0 0 0

ESTADISTICAS DE SGA

Statistic Name buffer_cache Checkpoint queue

Pool

Bytes 1.056.964.608

shared pool

2.053.120

Database Technologies & Services

www.db-team.com

dictionary cache errors event statistics per sess fixed allocation callback fixed_sga free memory free memory free memory joxlod: in ehe joxs heap init KGK heap KGLS heap KQR L PO KQR M PO KQR S SO KQR X PO library cache log_buffer memory in use miscellaneous MTTR advisory parameters PLS non-lib hp PL/SQL DIANA PL/SQL MPCODE PL/SQL PPCODE PL/SQL SOURCE pl/sql source PX subheap sim memory hea sql area subheap table definiti trigger defini trigger inform trigger source type object de XDB Schema Cac 1M buffer

shared pool shared pool shared pool shared pool

3.229.952 62.176 1.904.000 552 738.584

java pool large pool shared pool shared pool shared pool shared pool shared pool shared pool shared pool shared pool shared pool shared pool

27.762.688 167.772.160 20.671.016 253.768 4.240 7.000 5.026.872 2.071.216 1.154.824 7.680 43.792 39.737.144 10.617.856

java pool shared pool shared pool shared pool shared pool shared pool shared pool shared pool shared pool shared pool shared pool shared pool shared pool shared pool shared pool shared pool shared pool shared pool shared pool shared pool shared pool

5.791.744 29.808.816 174.824 270.240 2.088 4.409.592 3.317.048 313.528 504 7.464 23.704 1.010.544 178.252.544 102.312 5.288 2.712 1.936 2.584 162.128 5.796.504 2.098.176

Database Technologies & Services

www.db-team.com

ESTADISTICAS DE ESPERAS

Clase bitmap block bitmap index block data block extent map file header block free list save undo block save undo header segment header sort block system undo block system undo header undo block undo header unused 1st level bmb 2nd level bmb 3rd level bmb

Nmero 0 0 240074 0 1 0 0 0 2 0 0 0 6 109 0 0 0 0

Tiempo 0 0 111972 0 0 0 0 0 9 0 0 0 0 22 0 0 0 0

Recomendacin
La contencin en bloques de datos es alta por lo que se recomienda aadir nuevos procesos DBWR que reduzcan esa contencin.

ESTADISTICAS DE ORDENACION
Sort Parameter sorts (memory) sorts (disk) sorts (rows) % of disk sorts Value 79.771.685 33.196 7.874.176.994 .04

Database Technologies & Services

www.db-team.com

ESTADISTICAS DE I/O A DISCO


Physical Reads 8.391.908 12.583.078 511.622 1.358 232.267 58.352 8.684 27.701 14.067 12.267 9.396 105 105 0 0 0 0 Physical Writes 168.724 371.361 112.182 438.123 47.793 77 4.707 77 77 77 77 77 77 0 0 0 0 Total Block I/O (1) 27.993.247 17.871.734 630.660 439.538 360.684 58.567 33.580 27.814 14.144 12.344 9.473 182 182 0 0 0 0

File Name C:\ORACLE\ORADATA\PPL\DAT02.ORA G:\ORACLE\ORADATA\PPL\DAT01.ORA I:\ORACLE\ORADATA\PPL\INDX02.ORA C:\ORACLE\ORADATA\PPL\UNDOTBS01.DBF C:\ORACLE\ORADATA\PPL\SYSTEM01.DBF C:\ORACLE\ORADATA\PPL\XDB01.DBF C:\ORACLE\ORADATA\PPL\INDX.DBF C:\ORACLE\ORADATA\PPL\EXAMPLE01.DBF C:\ORACLE\ORADATA\PPL\CWMLITE01.DBF C:\ORACLE\ORADATA\PPL\DRSYS01.DBF C:\ORACLE\ORADATA\PPL\ODM01.DBF C:\ORACLE\ORADATA\PPL\TOOLS01.DBF C:\ORACLE\ORADATA\PPL\USERS01.DBF E:\ORACLE\ORADATA\PPL\DATA_E.ORA F:\ORACLE\ORADATA\PPL\DATA_F.ORA E:\ORACLE\ORADATA\PPL\INDEX_E.ORA F:\ORACLE\ORADATA\PPL\INDEX_F.ORA

Reads % 38.41 57.59 2.34 .01 1.06 .27 .04 .13 .06 .06 .04 0 0 0 0 0 0

Writes % 14.76 32.48 9.81 38.32 4.18 .01 .41 .01 .01 .01 .01 .01 .01 0 0 0 0

File Name G:\ORACLE\ORADATA\PPL\DAT01.ORA C:\ORACLE\ORADATA\PPL\DAT02.ORA I:\ORACLE\ORADATA\PPL\INDX02.ORA C:\ORACLE\ORADATA\PPL\SYSTEM01.DBF C:\ORACLE\ORADATA\PPL\XDB01.DBF C:\ORACLE\ORADATA\PPL\EXAMPLE01.DBF C:\ORACLE\ORADATA\PPL\CWMLITE01.DBF C:\ORACLE\ORADATA\PPL\DRSYS01.DBF C:\ORACLE\ORADATA\PPL\ODM01.DBF C:\ORACLE\ORADATA\PPL\INDX.DBF C:\ORACLE\ORADATA\PPL\UNDOTBS01.DBF C:\ORACLE\ORADATA\PPL\TOOLS01.DBF C:\ORACLE\ORADATA\PPL\USERS01.DBF E:\ORACLE\ORADATA\PPL\DATA_E.ORA F:\ORACLE\ORADATA\PPL\DATA_F.ORA

Physical Reads (1) 12.583.078 8.391.908 511.622 232.267 58.352 27.701 14.067 12.267 9.396 8.684 1.358 105 105 0 0

Reads % 57.59 38.41 2.34 1.06 .27 .13 .06 .06 .04 .04 .01 0 0 0 0

Total Block I/O 17.871.734 27.993.247 630.660 360.684 58.567 27.814 14.144 12.344 9.473 33.580 439.538 182 182 0 0

Database Technologies & Services

www.db-team.com

E:\ORACLE\ORADATA\PPL\INDEX_E.ORA F:\ORACLE\ORADATA\PPL\INDEX_F.ORA File Name C:\ORACLE\ORADATA\PPL\UNDOTBS01.DBF G:\ORACLE\ORADATA\PPL\DAT01.ORA C:\ORACLE\ORADATA\PPL\DAT02.ORA I:\ORACLE\ORADATA\PPL\INDX02.ORA C:\ORACLE\ORADATA\PPL\SYSTEM01.DBF C:\ORACLE\ORADATA\PPL\INDX.DBF C:\ORACLE\ORADATA\PPL\CWMLITE01.DBF C:\ORACLE\ORADATA\PPL\TOOLS01.DBF C:\ORACLE\ORADATA\PPL\XDB01.DBF C:\ORACLE\ORADATA\PPL\USERS01.DBF C:\ORACLE\ORADATA\PPL\ODM01.DBF C:\ORACLE\ORADATA\PPL\DRSYS01.DBF C:\ORACLE\ORADATA\PPL\EXAMPLE01.DBF E:\ORACLE\ORADATA\PPL\DATA_E.ORA F:\ORACLE\ORADATA\PPL\DATA_F.ORA E:\ORACLE\ORADATA\PPL\INDEX_E.ORA F:\ORACLE\ORADATA\PPL\INDEX_F.ORA

0 0 Physical Writes (1) 438.123 371.361 168.724 112.182 47.793 4.707 77 77 77 77 77 77 77 0 0 0 0

0 0 Writes % 38.32 32.48 14.76 9.81 4.18 .41 .01 .01 .01 .01 .01 .01 .01 0 0 0 0

0 0 Total Block I/O 439.538 17.871.734 27.993.247 630.660 360.684 33.580 14.144 182 58.567 182 9.473 12.344 27.814 0 0 0 0

Recomendacin
Las estadsticas de entrada y salida a disco tambin refuerzan la recomendacin anterior de mover los ficheros a unidades distintas, intentando evitar el disco de sistema operativo, donde slo debera encontrarse los ficheros que soportan al tablespace SYSTEM.

Database Technologies & Services

www.db-team.com

REDO LOG
Miembro C:\ORACLE\ORADATA\PPL\REDO003.LOG E:\ORACLE\ORADATA\PPL\REDO001.LOG F:\ORACLE\ORADATA\PPL\REDO002.LOG Tamao (bytes) 104.857.600 1 104.857.600 1 104.857.600 1 Nmero de miembros Archivado NO NO NO

Recomendacin
Los grupos de redo log no tienen salvaguarda , esto es, no existe un espejo para cada uno de los grupos de REDO LOG, cada grupo de redo log debera al menos tener dos miembros (un espejo). En cualquier caso la distribucin de los distintos ficheros hace pensar que se ha producido una confusin entre lo que sera el grupo de redo log y los miembros. Los tres grupos de redo log pueden estar dispuestos en la misma unidad de disco, lo que debe ser colocado en distintas unidades son los miembros de cada grupo. Un esquema ms correcto sera: C:/GRUPO1-MIEMBRO1 D:/GRUPO1-MIEMBRO2 C:/GRUPO2-MIEMBRO1 D:/GRUPO2-MIEMBRO2 C:/GRUPO3-MIEMBRO1 D:/GRUPO3-MIEMBRO2

Parametro redo blocks written redo buffer allocation retries redo entries redo log space requests redo log space wait time redo ordering marks redo size redo synch time redo synch writes redo wastage redo write time redo writer latching time redo writes

Valor 15.486.203 212 26.772.753 290 7.547 728 7.323.975.364 170.720 126.539 354.828.076 1.446.250 1.279 1.267.998

Recomendacin
El valor de redo buffer allocation retries (212) indica el nmero de intentos para encontrar espacio en el buffer de redo, un valor mayor que 0 indica que el redo writer est fallando. Esto puede ser causado por log switches o checkpoints. Con el ajuste del parmetro LOG_CHECKPOINT_INTERVAL y LOG_CHECKPOINT_TIMEOUT en el fichero init.ora. se minimizar el nmero de checkpoints. Tambin es posible solucionar el problema aumentando el nmero de procesos LGWR mediante los parmetros LGWR_IO_SLAVES y ARCH_IO_SLAVES.

Database Technologies & Services

www.db-team.com