Bugra Canbakal's Oracle Blog

  • Home
  • Contact
  • SITE MAP
You are here: Home / Archives for 2012

Archives for 2012

UTL MAIL: Installation of package which helps to send email through database

08:45 AM By Bugra Canbakal 2 Comments

1.PURPOSE AND SCOPE

We need to install utlmail and prvtmail scripts to send email through databases,with help of these script we are going to create some synonyms and packages. After installation of script  we need to set smtp server parameter and grants.

2.PRACTICE

2.1. Going to connect database through sqlplus and starting utlmail.sql script.

2.1.1. Content of utlmail.sql

[Read more…]

Share this:

  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on X (Opens in new window) X

Filed Under: Oracle, Single Node Tagged With: CES, database email, ORA-06502, ORA-06512, UTL_MAIL

Installation of Logical Standby

11:46 AM By Bugra Canbakal Leave a Comment

1.PURPOSE AND SCOPE
At another article of mine ,I explained  installation of Physical standby and this article we are going to convert physical standby database to logical standby.

2.PRACTICE

2.1. At primary database we need to execute a query to see which tables are not supported by logical standby

[Read more…]

Share this:

  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on X (Opens in new window) X

Filed Under: Oracle, Standby - Dataguard Tagged With: dataguard, logical dataguard, logical standby

Add a new disk to asm diskgroup

12:43 PM By Bugra Canbakal 4 Comments

1.PURPOSE AND SCOPE

In this article i am going to explation how to add new disk to the diskgroup which used by database.Before starting i wanted to give some informations about our steps. In this practice we had got a disk named DISK4 and this isnt belong to single diskgroup.First of all i am going to check the stability of DISK4, if disk success i am going to create a different diskgroup and try to add it there.If this step also succeed we are going to add this disk to diskgroup which used by production diskgroup.

2.PRACTICE

2.1. Time to control stability of  DISK4 . (If you have got RAC env, you need to do this every single node)

[Read more…]

Share this:

  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on X (Opens in new window) X

Filed Under: Oracle, RAC - Real Application Cluster, Single Node Tagged With: asm, disk, diskgroup, new diskgroup

Moving datafile local disk to ASM

11:36 AM By Bugra Canbakal 2 Comments

1.PURPOSE AND SCOPE

In some cases   we accidentally  forget and create datafiles on local disk while using.In this article i am going to explain how to move datafile local disk to ASM.

2.PRACTICE

2.1. I use 2 node RAC system for this practice. And create 2 tablespace on node 1 local disk.

[Read more…]

Share this:

  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on X (Opens in new window) X

Filed Under: Oracle, RAC - Real Application Cluster, Single Node Tagged With: asm, move local datafile to asm, oracle, rman

Installation of Oracle RMAN Catalog

07:52 AM By Bugra Canbakal 5 Comments

1.PURPOSE AND SCOPE

When using RMAN for taking backup, database records to backup informations to controlfile. Oracle suggest to use RMAN catalog option because of probability to losing controlfile.With help of RMAN catalog we can save rman informations at catalog database.Also it can use for saving rman scripts and information about rman backups.For to use this product we also need another database which act like a catalog database.

In this artichle i am going to explain how to install oracle RMAN catalog,how to register your database to catalog database and how to control backups.

[Read more…]

Share this:

  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on X (Opens in new window) X

Filed Under: Oracle, RMAN Tagged With: catalog, oracle, rman, rman catalog

RAC Impdp ORA-31693, ORA-29913, ORA-31640, ORA-19505, ORA-27037 fixing problems

06:42 AM By Bugra Canbakal 6 Comments

1.PURPOSE AND SCOPE

If  the dumpfile located on non-shared area and  dba try to start impdp operation with parallel on RAC servers (version 11gR2),dba would receive  ORA-31693, ORA-29913, ORA-31640, ORA-19505, ORA-27037 errors. The reason behind it oracle try to import using all RAC nodes for this operation and if the dumpfile is located on non-shared place , it could no reach it.

[Read more…]

Share this:

  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on X (Opens in new window) X

Filed Under: RAC - Real Application Cluster Tagged With: cluster=n, impdp, ORA-19505, ORA-27037, ORA-29913, ORA-31640, ORA-31693, oracle, parallel, rac

Virtual Indexes

10:51 AM By Bugra Canbakal 5 Comments

1.AMAÇ VE KAPSAM

Productıon olarak çalışan veritabanlarında querylere göre index oluşturup performans testleri yapmak oldukça riskli bir çalışmadır, bundan dolayı oracle bize virtual index özelliğini sağlamış. Bu özellik sayesinde index oluşturmadan querylerinizin performanslarını kontrol edebilirsiniz ve  bu esnada  uygulamadan gelen quer

[Read more…]

Share this:

  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on X (Opens in new window) X

Filed Under: Oracle Tagged With: index, oracle, virtual index

Oracle Table Redefinition

09:44 AM By Bugra Canbakal Leave a Comment

1.AMAÇ VE KAPSAM

Redefinition production ortamlarda veritabaninda kesinti yaratmadan tablo’nun storage parametrelerini degiştirmek,farkli bir tablespace taşimak veya yeni kolonlar eklemek,silmek ve degiştirmek için kullanilabilir.
Aşağıdaki çalışmamda bir tabloyu partition’li hale getirip 2009,2010,2011 yıllarına ayit partition’larını exadatanin özelliği olan “archive high” compress’liyecem,2012 yılının aylarınıda OLTP compress yapicam.Bu esnada veritabanı operasyonel olarak çalişmaya devam edicek.
Kisaca redefinition nasil çalıştığını anlatayım: yeni tablonuzu redefinitiona tanımladığınızda redef. bu tablonuzu materialized view çeviriyor ve datayı bu mv’un içine aktarıyor bu esnada orjinal tablonuzda da materialized view log olusturup tablonuza gelen insert,delete ve update işlemlerini kayit altina aliyor.

[Read more…]

Share this:

  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on X (Opens in new window) X

Filed Under: Oracle Tagged With: oracle, redefinition, table redefinition

Export alirken alinan EXP-00003 hatasınin çözümü

09:45 AM By Bugra Canbakal Leave a Comment

1.AMAÇ VE KAPSAM

Tablo ve Partitionlı tablolarda export alınırken alınan  EXP-00003: no storage definition found for segment(0, 0) hatasının çözümü.

2.UYGULAMA

2.1. Tablo ve partitionlı tablo üstünde exportu başlatıyoruz.

bash-3.2$ exp bcanbakal/bcanbakal TABLES=('BCANBAKAL.BIG_TABLE', 'BCANBAKAL.BIG_TABLE2:BIG_TABLE_2003') file=/home/oracle/big_table_exp.dmp log=/home/oracle/big_table_exp.log
Export: Release 11.2.0.1.0 - Production on Wed Jan 25 11:28:22 2012

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, Oracle Label Security,
OLAP, Data Mining,
Export done in WE8MSWIN1252 character set and UTF8 NCHAR character set
server uses WE8ISO8859P9 character set (possible charset conversion)
About to export specified tables via Conventional Path ...
. . exporting table                      BIG_TABLE
EXP-00003: no storage definition found for segment(0, 0)

[Read more…]

Share this:

  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on X (Opens in new window) X

Filed Under: Oracle, Single Node Tagged With: EXP-00003, export, oracle

About Me



Language:

  • English
  • Turkish

Categories

  • Oracle
    • RAC – Real Application Cluster
    • RMAN
    • Single Node
    • Standby – Dataguard
  • OS
    • Linux

Blogroll

  • Emre Baransel
  • Gökhan Atıl
  • H. Tonguc Yılmaz
  • Kamil Türkyılmaz
  • Tanel Poder
  • Turkce Oracle
  • Turkish Oracle User Group
  • Uwe Hesse
  • Zekeriya Beşiroğlu

Archives

  • April 2014
  • March 2014
  • August 2013
  • June 2013
  • March 2013
  • January 2013
  • December 2012
  • November 2012
  • July 2012
  • June 2012
  • May 2012
  • January 2012
  • November 2011
  • October 2011
  • August 2011
  • July 2011
  • June 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • June 2010
OCP
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

[footer_backtotop]

Copyright © 2010-2014 Bugra Canbakal. All rights reserved.