Unified Auditing in Oracle 12c

Unified Auditing is new audit feature came with Oracle 12c version. You have to do enable Unified Auditing to use after install database. Unified Auditing come as disabled by default. In previous releases of Oracle Database, there were separate audit trails for individual components: SYS.AUD$ for the database audit trail, SYS.FGA_LOG$ for fine-grained auditing, DVSYS.AUDIT_TRAIL$ […]

5,800 total views, 8 views today

PostgreSQL Hot Standby (Streaming Replication) Database Installation and Failover Operations

PostgreSQL has few feature for standby technology. I generally use streaming replication. This is very easy and confident. Streaming replication use a replication user for replication operations.Streaming replication allows a standby server to stay more up-to-date than is possible with file-based log shipping. The standby connects to the primary, which streams WAL records to the […]

15,108 total views, 8 views today

Oracle 11g R2 Resize Redo Log Size on Data Guard and Primary Database

Sometimes, you may need to change redo log size to perform optimum size for performance. If you want to change redo log size of both standby side and primary side, you can use below commands. Current Status Of Redo Logs Primary Side SQL> select group#,sum(bytes/1024/1024)”Size in MB” from v$log group by group#; GROUP# Size in […]

22,675 total views, 25 views today

Oracle 11g R2 Open Data Guard Read Write Mode With Flashback Technology And Revert Restore Point

You can use flashback technology on standby side. If you want to make application test on database, you can use data guard as read write mode temporarily with flashback technology. You can create a restore point on standby side then you can do any transaction on standby side to test or any other purpose. After […]

8,460 total views, 20 views today

Oracle 11g R2 Data Guard Manual Switchover Steps

You can use the same steps to switchover for single data guard or multiple data guard configuration. Switchover operation will convert primary side to data guard and data guard to primary side. You have to control listeners whether it is running before switchover steps. Switchover Steps Primary Side SQL> alter system archive log current; SQL> […]

7,291 total views, 36 views today

Oracle 11g R2 Multi Real Time Apply Data Guard Configuration Steps

Oracle 11g R2 database supports multi standby database structure up to 30 standby databases. We can use remote destinations for real time apply standby structures with todays network technologies. If your remote destination network is not good, you can use archivelog apply for remote destination with some delay. System informations are like below. System Informations […]

3,077 total views, 16 views today

Oracle 11g R2 Cascade Standby Data Guard Installation and Configuration Steps

Oracle 11g R2 database supports cascade standby database structure. If you are using RAC on primary side, your database version has to be least 11.2.0.2 to support cascade standby structure. You can use to reduce the load on your primary database with using cascade standby database structure. Primary database redo is written to the standby […]

4,115 total views, 10 views today

How to Create Linked Server From SQL Server To SQL Server Database

You can connect another SQL Server database or different type database from SQL Server database with Linked Server feature. You can use below operations to create new linked server for SQL Server database to SQL Server database. Create Linked Server Steps Create a user on remote database to use connection and give permission on which […]

3,610 total views, 5 views today

Obtain Surname, Last Name and Mid Name From Full Name in Oracle

If you have a column with full name data and you want to split this data, you can use below function to split operation. Split Name ve Surname Table : test Data1 : Emin Fatih Acar Data2 : Fatih Acar SQL> select fullname, substr(fullname,0,instr(fullname,’ ‘,Instr(fullname,’ ‘,-1))-1) name, substr(fullname,Instr(fullname,’ ‘,-1)+1) surname from test; Result: Data1 name […]

5,891 total views, no views today

SQL Server 2012 AlwaysOn Availability Groups Insallation and Configuration

Always On Availability Group is a new feature in SQL Server Database with 2012 release. Before this feature, we was using database mirroring feature in SQL Server 2005. But, mirroring has some limitations and weaknesses. and mirroring feature will be disabled near future. AlwaysOn Availability Groups Features Multi or Single Database Failovers Multiple Secondaries Active […]

4,223 total views, no views today