Digging the STAR_TRANSFORMATION_ENABLED parameter on Oracle database 12cR1 inside a PDB

When you think of a parameter that can help you out with star queries, this parameter is the STAR_TRANSFORMATION_ENABLED. According to the Oracle official documentation, it is described as the difference between a typical query and a star query, “A typical query in the access layer is a bond between the fact table and some number of dimension tables and is often referred to as a star query. In a star query, each dimension table is joined to the fact table using a primary key to foreign key join. Normally…

ORA-38342: heat map not enabled

I have had the brilliant idea to perform a test to be able to track the modification of database blocks, read and write access in segments made by DMLs and DDLS in one of my databases. I knew already that to do this I had just to enable the parameter heat_map from OFF to ON. So I did : Well, I have done what I thought. Now let’s create a table to check my enabled parameter: What? What happened? Am I crazy? I am 100% sure that I have the…

[Tuning Pack] ORA-13716: Diagnostic Package License is needed for using this feature

Estava efetuando uma análise da performance de um determinado banco de dados Oracle, quando na execução do ADDM obtive o seguinte erro :”ORA-13716: Diagnostic Package License is needed for using this feature.”. O erro por si só já reporta solução : é necessário a  licença do determinado pacote para a execução correta da tarefa. E, no meu caso, foi o pacote “Tuning Pack”. Após o cliente comprar a licença, habilitei o parâmetro  control_management_pack_access de NONE para DIAGNOSTIC+TUNING e, com isso, pude finalizar uma de minhas análises.   Assim, segue  a execução: Erro reportado durante  a execução do ADDM:…

ORA-10635: Invalid segment or tablespace type

Durante a execução de uma tentativa de desfragmentação de dados de uma tabela que continha um BLOB (um tipo de LOB), obtive o seguinte erro “ORA-10635: Invalid segment or tablespace type”. Durante a análise para verificar o erro, peguei o DDL da tabela verifiquei que possuía SECUREFILE. Sendo assim, não sendo possível o uso de SHRINK SPACE, somente efetuando um shrink no securefile LOB usando Online Redefinition (DBMS_REDEFINITION) [Doc ID 1394613.1]. É importante mencionar que o erro “ORA-10635: Invalid segment or tablespace type” também é comum quando a tabela possui…

Configurando o percentual de espaço de armazenamento para o SMB (SQL MANAGEMENT BASE) no Oracle 11g

O SQL Management Base (SMB) faz parte do dicionário de dados e , por isso, seu armazemento é efetuado na tablespace SYSAUX.  No SMB é armazenado o histórico de planos de execução SQL e , dentro deste se encontra o SQL Plan Baseline. Só aqui já é possível imaginar a importância do SMB nas suas análises diárias de tuning. No entanto, se o armazenamento for insuficente, é possível aumentar? Bom, pensando rapidamente a ideia inicial seria aumentar a SYSAUX … seguindo a lógica de que o SMB fica dentro da…