Criando um database 10g via SQL (sqlplus)

Este artigo mostra como criar uma base de dados sem precisar usar interface grafica e e útil quando se está por trás de um firewall que não permite que a interface gráfica possa brotar no seu desktop. 1) Crie as pastas no Sistema Operacional mkdir -p /u01/app/oracle/admin/orcl/udumpmkdir -p /u01/app/oracle/admin/orcl/adumpmkdir -p /u01/app/oracle/admin/orcl/cdumpmkdir -p /u01/app/oracle/admin/orcl/bdumpmkdir -p /u01/app/oracle/oradata/orcl/[…]

Uso de profiles no Oracle — Limite de Tempo inativo da Sessão

Usando profiles para eliminar sessões que ficam inativas por um longo tempoconsumindo recursos do servidor Oracle. 1). Altere o parâmetro de inicialização RESOURCE_LIMIT para TRUE, vem default FALSE ALTER SYSTEM SET RESOURCE_LIMIT=TRUE SCOPE=BOTH; 2). Crie um profile com um nome desejado por você Create profile Meu_profile limit idle_time 1 — Tempo em Minutos (1 minuto);[…]

Solving EM daylight issues

When your sysadmins change the TZ from your Oracle server to adjust daylight, follow the steps here to correct EM hour. By example, in Rio de Janeiro the normal time zone is equivalent to Etc/GMT+3. This solutions works for my production environment without patching anything. 1. Setting TZ environment variable TZ=Etc/GMT+3 export TZ 2 –[…]

Clarify about traces files…

In yesterday I was asked about the possibility of Oracle Database generate a trace file of 122 Gb only cause this is work in archivelog mode. My answer was “not”, it is one process totally independent of other. Maybe this trace was generated by DBA monitoring some user session and forgot DBMS_MONITOR tracing for ever.[…]

Managing Oracle 10g R2 Clusterware Services (CRS) on Linux or Unix env.

On the Clusterware 10g R2 (10.2.0) was introduced a powerful tool called “crsctl”,this important script must be used by “root” user and allow (start/stop/enable/disable/check). The CRS daemon starts automatically when on node managed by Clusteware comes up. This behavior can be changed by using enable and disables arguments. The arguments “start” and “stop” are useful[…]