You are on page 1of 34

ONLINE REPLICATION AND

DATA SECURITY

NAME :D.ARUN KUMAR


PROJECT MANAGER : S.SASHI KUMAR
PROJECT GUIDE : MR. S.RAVI M.C.A
(Dept Of MCA)
COMPANY NAME : EMINENT TECHNOLOGY

St PETER’S ENGINEERING
COLLEGE, AVADI,CHENNAI-
600054
EMINENT TECHNOLOGY
 Eminent Technology founded in 1999
with the power of a software giant and
the direction and flow of a dot-com.
 It uses as a powerful UNIX server with
a user-friendly windows front end also.
 Our various services include
development, hardware solutions,
software solutions, and eCommerce
portals.
 It offer career development, stability,
and a true team environment
What is replication?
• Initial copying of data & synchronization of
updating
• It improves performance and time
• Is not a Backup
– Not automatically overwritten when the
original data is modified
– Normally, cannot directly access
ABSTRACT
• Replicating the data in the online.
• Database online replication is a critical
data replication and integration feature.
• It provides a flexible infrastructure that
meets a wide variety of information
sharing needs.
• DBOR enables the propagation of data,
transaction and events in a data stream
either within a database, or from one
database to another.
Existing system

 In this system we have predefined


online replication tool that is object
specific.
 This is done by using DBMS_REP
packages.
This has more control over database
at their object level.
 But this cant be applied to row or
data.
Proposed system

 This project is created to customize the


replication through data level
 Do any kind of manipulation.
 We have incorporated data security on
the objects and rows that is transferred
to different systems.
 Data is sent to the source database
through secured manner.
Tools

• PL/SQL (Procedural
Language/Structured Query Language)
is Oracle Corporation's proprietary
procedural extension to the SQL database
language, used in the Oracle database.

• DBMS_JOB package allows a user to


schedule a job to run at a specified time.

• Database Links is to communicate


between different databases.
FRONT END

PL/SQL
ORACLE INBUILT
PACKAGES
BACK END

ORACLE DB 10G

Minimum requirements

RHE LINUX 5
1 GB RAM
20GB HARD DISK
PENTIUM(R) 4 CPU 3.00
GHZ
MODULES

DATA PROPAGATION
DB/OBJECT AUDIT
PRECONFIGURED REPORTS
TRANSPARENT DATA ENCRYPTION (TDE)
AUTOMATIC DATA TRANSFER
DATA PROPAGATION

 The mechanism that sends or distributes any actions to


all other master sites.
 To view and manage the data in the table.
 Stores large amount of data in a oracle database.
 Retrieval of particular data what we want.
DB/OBJECT AUDIT

 Captures the unauthorized user id and stores in


separate table.
 No data loss.
 TRIGGERING event is used which is created by
PL/SQL.
 TRIGGERING event occurs when we insert ,update
and delete the data.
 Error will be occurred when unauthorized user
update the data in the table.
PRECONFIGURED REPORTS
 Job scheduling is done within in the time.
 Gives the reports what are the data is sent and
received.
 It shows the database growth and status.
 DBMS_JOB shows the
what are the job
Time and date of the job
Interval time
TRANSPARENT DATA ENCRYPTION(TDE)

 Request the data by the user to the database


administrator.
 Encrypted data is sent to the user to avoid
hacking.
 User generation algorithm is used for the
encryption and decryption.
 Function is written in the PL/SQL procedure by
finding the ASCII value for the data.
 The data is sent from the production database
to remote user in a secured manner.
Automatic data transfer

 Two databases are used in different servers.


 Transfer the data from the production database to
the remote user.
 Database links is given between production database
and remote user database.
 Through DB link we can get the data from production
database and stores in remote user database.
DATAFLOW DIAGRAM
LEVEL 0 : DATA PROPAGATION

USER DATA APLLICATION DATA

ORACLE DATABASE

INTERNET DATA
PRODUCTION DATABASE
LEVEL 1: DB/OBJECT AUDIT

ORACLE DATABASE

TABLE

DBLINK

AUDITING TABLE TRIGGER

USER
LEVEL 2: PRECONFIGURED REPORT

PRODUCTION SOURCE
JOB SCHEDULING
DATABASE DATABASE

MAINTAINS REPORT
LEVEL 3: TRANSPARENT DATA ENCRYPTION(TDE)

REQUEST
PRODUCTION
USER DATA DATABASE

DECRYPTION USER GENERATION ALGORITHM ENCRYPTION

RESPONSE
LEVEL 4 : AUTOMATIC DATA TRANSFER

REMOTE USER

TABLE: T1
DATABASE LINK
MATERIALIZED
LOG VIEW

PRODUCTION DATABASE SOURCE DATABASE


(TARGET)
ER DIAGRAM
BANK DATABASE
Steps for replication

DATABASE SHOULD BE OPEN


STARTING THE LISTENER CONNECTION
USER CREATION

sql>create user siva identified by siva ;


sql>grant connect,resource,select any
table to siva;
CREATING TRIGGER
JOB SCHEDULING
ENCRYPTION

ENCRYPTED DATA IS SENT IN THE


NETWORK LINK
DECRYPTION

DATA IS DECRYPTED FROM THE NETWORK


LINK
CREATING MATERIALIZED VIEW

SQL>create materialized view log on siva.bank;


MATERIALIZED VIEW CREATED

 Creating materialized view on remote user


side.
 Materialized view is getting the snapshot from
the production database.

SQL>create database link qqq connect to


arun identified by arun using ‘DBNAME’;
CREATION OF DBLINK
DATA IS REPLICATED
REFERENCES

ORACLE DATABASE 10G (KEVIN


LONEY
AND BOB BRYLA)
ORACLE DBA ON UNIX AND LINUX
BY MICHAEL WESSLER
THANKING YOU

You might also like