https://www.mbtn.net/?p=2gu3j8i74 Abaixo vou exemplificar o uso desta feature:
https://alldayelectrician.com/4y7a893s1wh Primeiramente iremos criar e popular uma tabela e realizar a criação do índice invisible, para que possamos realizar os testes com o uso da feature invisible index.
https://www.marineetstamp.com/2px2n8065 SQL> conn lamim/lamim SQL> create table tst_invisible_ix ( Connected. SQL> numero number ); SQL> BEGIN 2 3 Table created. INSERT INTO tst_invisible_ix VALUES (i); FOR i IN 1 .. 10000 LOOP END LOOP; COMMIT; PL/SQL procedure successfully completed. END; / 2 3 4 5 6 7 SQL> SQL> SQL>
https://geolatinas.org/lvghjfadf6 Antes de efetivamente realizar os testes, irei realizar uma coleta de estatística da tabela recém criada.
https://onlineconferenceformusictherapy.com/2025/02/22/zuzat9ip0yk SQL> EXEC DBMS_STATS.gather_table_stats(USER, 'tst_invisible_ix', cascade=> TRUE); PL/SQL procedure successfully completed.
see url Agora vamos validar o comportamento do plano de execução com e sem um índice em modo invisible.
Tramadol Overnight Delivery Visa SQL> show parameter invisible; NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ optimizer_use_invisible_indexes boolean FALSE SQL> select * from tst_invisible_ix where numero=123; NUMERO ---------- 123 Execution Plan ---------------------------------------------------------- Plan hash value: 978504830 -------------------------------------------------------------------------------------- | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | -------------------------------------------------------------------------------------- | 0 | SELECT STATEMENT | | 1 | 4 | 6 (0)| 00:00:01 | |* 1 | TABLE ACCESS FULL| TST_INVISIBLE_IX | 1 | 4 | 6 (0)| 00:00:01 | -------------------------------------------------------------------------------------- Predicate Information (identified by operation id): --------------------------------------------------- 1 - filter("NUMERO"=123) Statistics ---------------------------------------------------------- 1 recursive calls 0 db block gets 23 consistent gets 0 physical reads 0 redo size 525 bytes sent via SQL*Net to client 524 bytes received via SQL*Net from client 2 SQL*Net roundtrips to/from client 0 sorts (memory) 0 sorts (disk) 1 rows processed SQL>
click here No exemplo acima é possível perceber que a consulta realiza um acesso full a tabela e não utiliza o índice criado com o invisible. Para testarmos a utilização do índice, podemos usar um hint na query ou alterar o parâmetro optimizer_use_invisible_indexes a nível de sessão, evitando assim que o índice impacte em outros processos e/ou aplicações.
https://www.brigantesenglishwalks.com/sgyuau6jnd9 SQL> select * from tst_invisible_ix where numero=123; NUMERO ---------- 123 Execution Plan ---------------------------------------------------------- Plan hash value: 1674343203 ------------------------------------------------------------------------------------------ | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | ------------------------------------------------------------------------------------------ | 0 | SELECT STATEMENT | | 1 | 4 | 1 (0)| 00:00:01 | |* 1 | INDEX RANGE SCAN| IX_TST_INVISIBLE_IX01 | 1 | 4 | 1 (0)| 00:00:01 | ------------------------------------------------------------------------------------------ Predicate Information (identified by operation id): --------------------------------------------------- 1 - access("NUMERO"=123) Statistics ---------------------------------------------------------- 1 recursive calls 0 db block gets 3 consistent gets 0 physical reads 0 redo size 525 bytes sent via SQL*Net to client 524 bytes received via SQL*Net from client 2 SQL*Net roundtrips to/from client 0 sorts (memory) 0 sorts (disk) 1 rows processed
go here SQL> conn lamim/lamim Connected. SQL> alter index LAMIM.IX_TST_INVISIBLE_IX01 visible; Index altered. SQL> set autotrace on SQL> select * from lamim.tst_invisible_ix where numero=123; NUMERO ---------- 123 Execution Plan ---------------------------------------------------------- Plan hash value: 1674343203 ------------------------------------------------------------------------------------------ | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | ------------------------------------------------------------------------------------------ | 0 | SELECT STATEMENT | | 1 | 4 | 1 (0)| 00:00:01 | |* 1 | INDEX RANGE SCAN| IX_TST_INVISIBLE_IX01 | 1 | 4 | 1 (0)| 00:00:01 | ------------------------------------------------------------------------------------------ Predicate Information (identified by operation id): --------------------------------------------------- 1 - access("NUMERO"=123) Statistics ---------------------------------------------------------- 24 recursive calls 0 db block gets 35 consistent gets 0 physical reads 0 redo size 525 bytes sent via SQL*Net to client 524 bytes received via SQL*Net from client 2 SQL*Net roundtrips to/from client 6 sorts (memory) 0 sorts (disk) 1 rows processed
click Afim de validar se um índice está visivel ou invisível, podemos consultar a coluna visibility da dba/user_indexes.
https://penielenv.com/tds6shb62j SQL> select index_name, visibility from dba_indexes where index_name='IX_TST_INVISIBLE_IX01'; INDEX_NAME VISIBILIT ------------------------------ --------- IX_TST_INVISIBLE_IX01 VISIBLE

Autor: Jhonata Lamim
https://mocicc.org/agricultura/vq8vyulz
https://www.yolascafe.com/tnpt9u5dkws MBA em Banco de Dados Oracle, formado pelo Centro Universitário de Araraquara (UNIARA), graduado em Sistemas de Informação pelo Centro Universitário de Brusque (UNIFEBE).
Tramadol Medication Online Atua com Banco de Dados Oracle desde Junho de 2010. Atualmente é DBA Senior na Exímio Soluções em TI (www.eximioti.com.br)
see url source Principais atividade:
https://dcinematools.com/lji9eqp7ej5 Implementação, migração, gerenciamento e suporte a produtos Oracle (10g, 11g, 12c, RAC), multiplataforma;
Monitoramento de ambientes 24×7;
Backup e Recovery;
Performance e Tuning;
Alta disponibilidade (HA);
EM database/grid/cloud control 12c/13c;
Conversão de databases;
Standby database / Oracle Data Guard;
Migração de dados para Oracle;
https://www.mreavoice.org/gwo4u57bs9 https://lpgventures.com/2voigk659 Experiência:
https://www.marineetstamp.com/e3zwcpzr8 DBA Oracle Teiko Soluções em TI – Jun/2010 – Abr/2018
DBA Oracle, Outsourcing – Marfrig Group – Set/2013 – Abr/2018
DBA Oracle, Outsourcing – Grupo Notre Dame – Intermédica – Mar/2017 – Abr/2018
DBA Oralce, Outsourcing – Hospital Beneficiência Portuguesa de São Paulo – Set/2015 – Abr/2018
DBA Oracle, Outsourcing – Fundação São Francisco Xavier – Set/2015 – Fev/2017
DBA Oracle, Outsourcing – Unimed Grande Florianopolis – Set/2014 – Jul/2016
DBA Oracle, Outsourcing – Hospital Moinhos de Vento – Set/2014 – Set/2015
DBA Oracle, Outsourcing – Santa Casa de Misericórdia de Porto Alegre – 2013
see url go here Certificações:
https://purestpotential.com/366k3l3 OCS 12C – Oracle Real Application Clusters 12c Certified Implementation Specialist
OCS 12C – Oracle Database 12c Certified Implementation Specialist
OCE 11G – Oracle Database 11g: Performance Tuning
OCA 11G – Oracle Certified Associate Administrator
OCP 11G/12C – Oracle Certified Professional Administrator
OCS 11G – Oracle Certified Specialist
OPNCS 11G – Oracle Partner Network Certified Specialist
OCS – Oracle Linux 6 Implementation Essentials
https://www.mbtn.net/?p=uz3at0tu Linkedin: https://www.linkedin.com/in/jhonata-lamim-dba-oracle-61366484/