I'm Top Oracle DBA

Category Archives: Database security and planing

Step by Step to Switchover on Oracle Database 11G

This article shows the Step of switchover from Physical standby to primary database on Oracle Database 11G. Mention They have downtime actually do at primary first Step Check the archive and role database on both sites (Primary and Standby) Switchover (start with the primary) Test a little bit of Transaction on the New Primary Switchover […]

Data Guard Physical Standby Setup in Oracle Database 11g

Data guard is Technology by Oracle, used for disaster recovery and high availability so Data guard, They have many ways to implement but This article contains Manual steps and Duplicate steps. Step to set Data Guard the setting connection between primary and standby (listener.ora and tnsnames.ora) On Primary check archive log mode set up parameter […]

How to renaming and relocating datafiles on Oracle Database 11G

Renaming and Relocating Datafiles You can rename the datafile and change locate but be careful about data will be lost you can see these steps below. ***For undotbs tablespace and system tablespace, if you want to relocate or rename, you’ll have downtime*** Renaming Step ***Only Renaming alter tablaespace xxx offline; mv or cp datafile that […]

How to renaming and relocating redo log files on Oracle database 11G

steps to rename and relocate, they have a lot of ways to do so this blog gonna show you, How to rename and relocate redo log file without downtime. if you want to rename or add a member to redo log file, I suggest this step because it’s without downtime. Example You can check the […]

How to renaming and relocating  control files on Oracle Database 11G

You can rename and relocate them, but actually, they have downtime because control_files is an initial parameter. SQL> show parameter control NAME TYPE VALUE ———————————— ———– —————————— control_file_record_keep_time integer 7 control_files string /home/oracle/oradata/DB11G/con trol01.ctl, /home/oracle/flash _recovery_area/DB11G/control02 .ctl control_management_pack_access string DIAGNOSTIC+TUNING SQL> select name from v$controlfile NAME ——————————————————- /home/oracle/oradata/DB11G/control01.ctl /home/oracle/flash_recovery_area/DB11G/control02.ctl SQL> shutdown immediate; Database closed. Database […]

Auditing Oracle Database Activity

สรุปง่ายๆ ในรูปแบบความเข้าใจ เป็นภาษาไทย Auditing คือ การเก็บ รายละเอียดการเข้าใช้งาน ใน Database เก็บ เป็น record ลงใน table ที่มี ชื่อ ว่า SYS.AUD$ ซึ่งประเภทของรายละเอียดที่เก็บ มีหลากหลาย ประเภท เช่น SQL Statement, privileges, schemas, object, network ทั้งนี้ทั้งนั้น การทำ audit ให้กับฐานข้อมูลเป็นสิ่งจำเป็น ที่สุดเพื่อ ที่ Database ควรจะทำ (Database Security) เพื่อเอาไว้ วิเคราะห์ปัญหาที่เกิดขึ้น, สามารถระงับการเข้าใช้งาน กับบุคคลที่ไม่ต้องการให้เข้าใช้งาน, กำหนด สิทธิ์การเข้าถึง object ให้กับ user ได้, กำหนด พฤติกรรมการใช้งานได้ เพื่อความ ปลอดภัย ของข้อมูล เราต้อง enable […]

Generate script for Object Privilege and Synonym on Oracle Databases 10g onward

Database security Each database product like Oracle has a particular security model and the DBA should be well aware in order to control access to data. This is part of authorization, Authorization is granting permission on various parts of the database. Object privileges An object privilege is a right to perform a particular action on […]

error: Content is protected !!