terça-feira, 24 de novembro de 2009

Oracle Application Development Tools Statement of Direction: Oracle Forms, Oracle Reports and Oracle Designer

http://www.oracle.com/technology/products/forms/pdf/10g/ToolsSOD....

sábado, 21 de novembro de 2009

Invalid Objects After Removing OLAP or Migration of a Database to 64 Bit

Doc Id: 565773.1-> conn / as sysdbaSQL> @?/olap/admin/catnoamd.sqlSQL> @?/olap/admin/olapidrp.plbSQL> @?/olap/admin/catnoaps.sqlSQL> @?/olap/admin/catnoxoq.sqlDetermine all PUBLIC synonyms referring to objects in the OLAPSYS schema:SQL>spool olapdrop.sqlSQL> select 'drop public synonym ' || synonym_name || ';' from dba_synonyms where owner='PUBLIC' and table_owner='OLAPSYS';SQL>spool offModify the datapump handler table to remove handlers used to export OLAP data:SQL>select * from sys.exppkgact$ where package...

quinta-feira, 19 de novembro de 2009

PL/SQL Web - File Upload and Download Procedures

http://www.oracle-base.com/articles/9i/FileUploadDownloadProcedures9i....

quinta-feira, 12 de novembro de 2009

Oradebug - Diagnosing Library Cache Latch Contention

http://arup.blogspot.com/2008/08/diagnosing-library-cache-latch.h...

segunda-feira, 9 de novembro de 2009

RAC One Node tips

http://www.dba-oracle.com/t_rac_one_node....

Oracle Enterprise Manager Desktop Widgets

http://blogs.oracle.com/emwidge...

quarta-feira, 28 de outubro de 2009

String Aggregation Techniques

http://www.oracle-base.com/articles/10g/StringAggregationTechniques....

Database Point in Time Recovery failed ORA-01841

Doc ID: 370500.1RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-03002: failure of recover command at 05/10/2006 11:43:56RMAN-11003: failure during parse/execution of SQL statement: alter database recover if neededstart until time 'MAY 10 2006 06:40:04'ORA-01841 (full) year must be between -4713 and +4713 / +9999 and must not be 0Causeo NLS_LANG was not set (empty)SolutionTo implement...

Problem : iAS Discovery/Monitoring Fails If Agent Is Installed Under Another OS User Than iAS

Doc ID: 437078.1cd $IAS_HOMEchmod g+rx $IAS_HOMEchmod g+rx $IAS_HOME/binchmod g+rx $IAS_HOME/bin/emtgtctlchmod ug+s $IAS_HOME/bin/emtgtctl2chmod g+rx $IAS_HOME/perlchmod g+rx $IAS_HOME/perl/binchmod g+rx $IAS_HOME/perl/bin/perlchmod g+rx $IAS_HOME/sysmanchmod g+rx $IAS_HOME/sysman/emdchmod g+rw $IAS_HOME/sysman/emd/targets.xmltouch $IAS_HOME/sysman/emd/centralagents.lstchmod g+rw $IAS_HOME/sysman/emd/centralagents.lstchmod g+rx $IAS_HOME/sysman/configchmod g+rw $IAS_HOME/sysman/config/*.properties chmod g+rx $IAS_HOME/opmnchmod g+rx $IAS_HOME/opmn/confchmod...

terça-feira, 27 de outubro de 2009

Oracle Database 11g Release 2 New Features Summary

http://www.dbasupport.com/oracle/ora11g/11gR2-new-features-01.sh...

sexta-feira, 16 de outubro de 2009

Linux Error: 104: Connection reset by peer when starting Oracle Listener

Make sure the loopback entry in /etc/hosts is not missing when you start the listener:127.0.0.1 localhost.localdomain localh...

What happens during oracle database hot backup

http://arjudba.blogspot.com/2009/08/what-happens-during-oracle-database-hot.h...

quinta-feira, 15 de outubro de 2009

Scheduler Enhancements in Oracle Database 11g

Scheduler Enhancements in Oracle Database 11g Release 1http://www.oracle-base.com/articles/11g/SchedulerEnhancements_11gR1.phpScheduler Enhancements in Oracle Database 11g Release 2http://www.oracle-base.com/articles/11g/SchedulerEnhancements_11gR2.phpRemote Scheduler Agent Installation for Oracle 11g Release 2http://www.oracle-base.com/articles/11g/SchedulerAgentInstallation_11gR2....

quarta-feira, 14 de outubro de 2009

Monitorando o progresso do RMAN

SELECT SID, SERIAL#, CONTEXT, SOFAR, TOTALWORK, ROUND(SOFAR/TOTALWORK*100,2) "%_COMPLETE"FROM V$SESSION_LONGOPSWHERE OPNAME LIKE 'RMAN%'AND OPNAME NOT LIKE '%aggregate%'AND TOTALWORK != 0AND SOFAR <> TOTALWO...

ORA-28112 (select * from mgmt_targets)

grant exempt access policy to USER;Metalink DOC ID: 77886...

Migrating a Microsoft SQL Server Database to Oracle Database 11g

http://www.oracle.com/technology/obe/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn....

Fine Grained Dependency (11G)

Improved PL/SQL stored procedure invalidation mechanism - A new 11g features will be fine grained dependency tracking, reducing the number of objects which become invalid as a result of DDL.In previous releases, object dependencies were managed at the object level, so altering an object automatically invalidated all dependent objects. Oracle 11g has more granular dependency management, so only changes that directly affect an object will cause an invalidation.http://www.oracle-base.com/articles/11g/EnhancedFinerGrainedDependencyManagement_11gR1...

Moving ASM Database Files from one Diskgroup to Another

http://www.idevelopment.info/data/Oracle/DBA_tips/Automatic_Storage_Management/ASM_36.sh...

Delete the old ASM database file from its original location

$ ORACLE_SID=+ASM; export ORACLE_SID$ sqlplus "/ as sysdba"SQL> ALTER DISKGROUP TESTDB_DATA2 DROP FILE '+TESTDB_DATA2/testdb/datafile/app_data.256.598127837';http://www.idevelopment.info/data/Oracle/DBA_tips/Automatic_Storage_Management/ASM_36.sh...

Resetting the Administrator (oc4jadmin) Password

1 - Stop OC4J and the Application Server Control.2 - Locate and open the following file in a text editor:(UNIX)ORACLE_HOME/j2ee/home/config/system-jazn-data.xml3 - Locate the line that defines the credentials property for the oc4jadmin user.{903}4L50lHJWIFGwLgHXTub7eYK9e0AnWLUH4 - Replace the existing encrypted password with the new password.!mynewpassword1235 - Delete cached password data by deleting the contents of the following directory:ORACLE_HOME/j2ee/oc4jinstance/persistence/ascontrol/ascontrol/securestore/6 - Start OC4J and the Application...

quarta-feira, 30 de setembro de 2009

Oracle's Block Browser and Editor tool

Oracle's Block Browser and Editor toolhttp://www.dbasupport.com/oracle/ora10g/bbed.shtmlhttp://www.dbasupport.com/oracle/ora10g/bbed02.sh...

terça-feira, 29 de setembro de 2009

Tuning Reports Server Configuration

<'engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="10" maxEngine="150" minEngine="10" engLife="50" maxIdle="30" callbackTimeOut="60000" engineResponseTimeOut="60" jvmOptions="-Xms128m -Xmx1024m">Mais detalhes em:http://download-west.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_tune.htm#i1006...

Result Cache - PL/SQL 11G

“Result Cache” é uma feature do 11g que possibilita manter o resultado de uma função em CACHE.Muito útil, por exemplo, para funções que são constantemente utilizadas pelas aplicações.Mais detalhes em:http://www.oracle.com/technology/oramag/oracle/07-sep/o57asktom.htmlhttp://www.oracle.com/technology/oramag/oracle/07-sep/o57plsql.htmlhttp://www.oracle-base.com/articles/11g/CrossSessionPlsqlFunctionResultCache_11gR1....

sexta-feira, 25 de setembro de 2009

Response-Time Analysis

http://www.oracle.com/technology/pub/articles/schumacher_analysis.h...

quinta-feira, 24 de setembro de 2009

Oracle licensing

http://www.orafaq.com/wiki/Oracle_licens...

quarta-feira, 23 de setembro de 2009

ORA-24247 When Executing UTL_HTTP

When executing UTL_INADDR (or) UTL_HTTP (or) any UTL packages after upgrading to 11gR1, fails with following error:declare*ERROR at line 1:ORA-29273: HTTP request failedORA-6512: at "SYS.UTL_HTTP", line 1029ORA-24247: network access denied by access control list (ACL)ORA-6512: at line 6Utilizar a package DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE para atribuir privilégios de connect e resolve ao usuário.Mais detalhes em : Metalink Doc ID: 45378...

Copiando as senhas de uma base LDAP para outra

ldapsearch -h 192.168.244.131 -p 389 -D "cn=orcladmin" -w PASSWORD -L -b "cn=users,dc=oracle,dc=com,dc=br" -s sub "objectclass=*" userpassword > portal_users.ldifexemplo de arquivo gerado:dn: cn=alex.zaballa,cn=users,dc=oracle,dc=com,dc=bruserpassword: {SHA}BnaRkBbuGYJWeIxqI25m075ZBs0=alterar o arquivo da seguinte forma:dn: cn=alex.zaballa,cn=users,dc=oracle,dc=com,dc=brchangetype: modifyreplace: userpassworduserpassword: {SHA}BnaRkBbuGYJWeIxqI25m075ZBs0=Aplicar alterações:ldapmodify -h 192.168.245.131 -p 389 -D "cn=orcladmin" -w PASSWORD -f...

Integração do Application Server 10.1.3 com SSO

http://download.oracle.com/docs/cd/B32110_01/core.1013/b32196/reconfig.htm#BHCIA...

Oracle Portal com Database 11g

How to upgrade the Portal Database to 11g?Metalink Doc ID: 465968.1Master Note for OracleAS Portal Upgrade IssuesMetalink Doc ID: 26262...

How to Add a Watermark to Oracle Reports PDF Output

Documento que mostra como adicionar uma marca d'agua nos relatórios.Metalink Doc ID: 40081...

Beehive + Linux + Portas Baixas

Uso de portas baixas no Beehive:chown root hasbindchmod a+x hasbindchmod a+s hasbind/etc/cap.ora+user user1: bind port 20+user user1: bind port 21+user user1: bind port 23+user user1: bind port 80+user user1: bind port 25+user user1: bind port 443+user user1: bind port 143+user user1: bind port 993+user user1: bind port 465Para poder utilizar o Apache na porta 443:chown root .apachectlchmod a+x .apachectlchmod a+s .apachectlExemplo de mudança de porta do SMTP no Beehive:beectl modify_port --protocol SMTP --port 25beectl activate_configurat...

Beehive + Imap + SSL

Para "colocar" um certificado digital para oIMAP no Beehive, basta alterar a propriedade WalletDir, apontando para o caminho está está seu Wallet.beectl list_property --component beehive_instance_OrionInstance.your_domain.com --name WalletDirbeectl modify_property --component beehive_instance_OrionInstance.your_domain.com --name WalletDir --value /u01/app/oracle/product/1.5.1.0.0/beehive/Apache/Apache/conf/ssl.wlt/portal/beectl activate_configurat...

Adicionar um email externo a um grupo de Emails do Beehive

Infelizmente até a versão 1.5 do Beehive, não é possível adicionar um email externo a um grupo de emails utilizando o Beekeeper.Existe uma solução via Beectl:add_external_contact --family_name Silva --display_name "Joao da Silva" --address BUSINESS_1:mailto:joao.silva@yourdomain.comCriar um arquivo xml com estrutura conforme a imagem:beectl modify_group --file yourxmlname.xmlConsultando os membros do grupo:beectl list_groups --name EMPRESA --show...

Proxy Reverso + Application Server + Ip errado nos logs

Para quem utiliza solução de proxy reverso juntamente com application server, já deve ter tido problemas com os logs. O IP que aparece é o do Proxy e não de quem fez a requisição HTTP.Segue uma solução encontrada para o problema:Criar o arquivo AdjustRemoteAddrAccordingToHeader.pmpackage Apache::AdjustRemoteAddrAccordingToHeader;sub handler{ my $r = shift; my $configuredValue = $r->dir_config ("UseIPFromHeader"); if ($configuredValue) { my $ip = $r->header_in($configuredValue); if...

Installing Oracle Enterprise Manager 10g Grid Control Rel 5 on Oracle Database 11g and Linux

Passo-a-passo interessante para instalação do GRID Versão 10.2.0.5 em um banco 11G.http://www.oracle.com/technology/pub/articles/revitt-oem.h...

Converting Your Oracle Forms Applications to Application Express 3.2

Artigo interessante para quem já trabalhou com o bom e velho FORMS.http://www.oracle.com/technology/obe/apex32/apex32frmmigr....

BULK COLLECT

Artigo interessante sobre o uso da cláusula LIMIT.http://www.oracle.com/technology/oramag/oracle/08-mar/o28plsql.h...

Oracle Audit

Como muitos DBA's, também gosto de guardar meus LOG's de auditoria dentro do banco de dados.Para isso, o primeiro passo é criar uma tablespace que irá manter os logs (Isto server apenas para não inflar a tablespace System).CREATE TABLESPACE TBSDAT_AUDITORIA DATAFILE SIZE 10M AUTOEXTEND ON NEXT 10M MAXSIZE 8192MLOGGINGONLINEPERMANENTEXTENT MANAGEMENT LOCAL AUTOALLOCATEBLOCKSIZE 8KSEGMENT SPACE MANAGEMENT AUTOFLASHBACK ON;select TABLESPACE_NAME from dba_segments where SEGMENT_NAME='AUD$'Para alterar a tablespace, podemos proceder de 2 formas, dependendo...