DBMS_NETWORK_ACL_ADMIN.CREATE_ACL returns ORA-30992
The problem – issueing CREATE_ACL for a new ACL list results in ORA-30992. …
SQL> BEGIN 2 DBMS_NETWORK_ACL_ADMIN.CREATE_ACL ( 3 aclRead more →
The problem – issueing CREATE_ACL for a new ACL list results in ORA-30992. …
SQL> BEGIN 2 DBMS_NETWORK_ACL_ADMIN.CREATE_ACL ( 3 aclRead more →
it’s not who you are underneath, it’s what you do that defines you. …
Some code for plsql_code_type below; …
Current setting …
select * from v$parameter where name = 'plsql_code_type' /
breakdown per plsql_code_type …
col owner for a18 col plsql_code_type for a18 select owner,Read more →
Using UTL_SMTP to send email from your oracle database has changed in Oracle 11g. Or – to be more precise – accessing the remote network has changed. …
Using UTL_SMTP will typically result in error below if you did not configure your …
Read more →Whenever you want to duplicate (copy/scp) a database and place all datafiles into one single directory you always have to check if there are no duplicate filenames. …
Eg like; …
/m001/oradata/oracle_sid/filename1.dbf
/m002/oradata/oracle_sid/filename1.dbf …
scp /m*/oradata/oracle_sid/*dbf remote_host:/m001/oradata/dup_oracle_sid/. …
SQL> select substr ( file_name, instr( file_name,Read more →
Third party asked for a restart of one of our testing databases that was having issues. Although I’m always a bit skeptical on simple restart requests I think in this case it actually turned out to shed some light; one …
Read more →For debugging … Make sure the session has a direct execute grant on dbms_system package. …
Level 12 makes sure to include the waits and bind data. dbms_system …
begin
for i in (select sid, serial# from v$session where audsid=SYS_CONTEXT('USERENV','SESSIONID'))
loop
sys.dbms_system.set_ev ( si Read more →
I was notifed by developer team that they get a whole lot of ORA-01114 errors. …
********_ora_17587.trc:ORA-01114: IO error writing block to file 201 (block # 96000) ********_ora_17587.trc:ORA-01114: IO error writing block to file 201 (block # 96000) ********_ora_17587.trc:2012-07-26 <!--more-->19:02:32.484306*:9C82F5B9:sql_mon_query:keswx.c@3633:keswxWriteEndInfoToStream(): doneRead more →
While testing our silent Oracle Grid agents installs I ran into error below when (re-)installing into a non-empty Oracle home directory. …
$ ./runInstaller -silent -responseFile /home/oracle/additional_agent.rsp -invPtrLoc /var/opt/oracle/oraInst.loc
.
.
ERROR: Error:"${ORACLE_HOME}/agent11g" subdirectory already exists in Oracle Inventory. Specify another home location.
.
.
This …
Read more →SQL query below displays a tables / indexes breakdown of your tablespaces. …
SELECT tablespaces.tablespace_name, NVL( tables, 0) as tables, NVL( indexes, 0) as indexes FROM dba_tablespaces tablespaces LEFT OUTER JOIN ( SELECT COUNT(*) tables, tablespace_name FROM dba_segments WHERE segment_type = 'TABLE'Read more →
We’re hitting a lot of ORA-19815, ORA-19809, ORA-00257, ORA-16038 these days on some of our development databases – see here. …
Script below displays percentage used in in your recoveryarea(s) as defined in init parameter ‘db_recovery_file_dest_size’. …
col name for a32 colRead more →
You can use RMAN to transport tablespaces across platforms with different endian formats. You can also use RMAN to transport an entire database to a different platform so long as the two platforms have the same endian format. …
– From “27 …
Read more →When your database hangs with a ORA-00257 error while you notice there is plenty of space in the /recoveryarea mountpoint you’re likely to have reached the maximum size defined by the new ** initialization parameter ‘db_recovery_file_dest_size‘. Fast solution is to …
Read more →http://pandodaily.com/2012/02/11/why-oracle-may-really-be-doomed-this-time/
I was laying awake early this morning thinking about Oracle. …
O my …
Typically I think big public companies are inept, but I would not count Oracle out. Ellison has long shown he viscerally gets where the stock market, the customer and …
Read more →Gesponsord door http://historiek.net/blogs. …
Read more →Script below generates RMAN newname file where database A is copied to database B AND database B has ‘conflicting’ mountpoints set up. …
Mountpoints setup on database A is like /m001/, /m002/, /m003/, /m004/ but mountpoints on database B side is just …
Read more →Need to transfer a bunch of databases with pattern {a…9} to {t…8}. …
Please copy databases below; …
adummy19 to tdummy18 – server070 (*)
adummy29 to tdummy28 – server526
adummy39 to tdummy38 – server526
adummy49 to tdummy48 – server526
adummy59 to tdummy58 – server526
Dump of running segment advisor in Oracle 10.1 …
@See:
http://download.oracle.com/docs/cd/B14117_01/appdev.101/b10802/d_advis.htm
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:2049277600346543592
http://www.oracle-base.com/articles/10g/SpaceObjectTransactionManagement10g.php / …
For tablespace …
create or replace procedure sa_tablespace ( piv_tablespace in varchar2, piv_task in varchar2 default null ) authid current_user as obj_id number; taskRead more →
Some expdp impdp commands.
Quotes in ‘/as sysdba’ needs escape slashes …
/m001/oradata/EXPORT>expdp \'/ as sysdba\' schemas=owner1,owner2,owner3 directory=EXP_DIR2 dumpfile=<filename> logfile=<filename>Read more →
ORAENV_ASK=no …
export ORAENV_ASK=NO;export ORACLE_SID=********;. /usr/local/bin/oraenv;sqlplus '/ as sysdba' @batch.sql export ORAENV_ASK=NO;export ORACLE_SID=********;. /usr/local/bin/oraenv;sqlplus '/ as sysdba' @batch.sql export ORAENV_ASK=NO;export ORACLE_SID=********;. /usr/local/bin/oraenv;sqlplus '/ as sysdba' @batch.sql export ORAENV_ASK=NO;export ORACLE_SID=********;. /usr/local/bin/oraenv;sqlplus '/ as sysdba' @batch.sql export ORAENV_ASK=NO;export ORACLE_SID=********;. /usr/local/bin/oraenv;sqlplus '/ as sysdba'Read more →