Download Backup, recovery and replication solutions for

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Entity–attribute–value model wikipedia , lookup

Microsoft Access wikipedia , lookup

Tandem Computers wikipedia , lookup

Database wikipedia , lookup

Extensible Storage Engine wikipedia , lookup

Microsoft Jet Database Engine wikipedia , lookup

Btrieve wikipedia , lookup

Team Foundation Server wikipedia , lookup

Oracle Database wikipedia , lookup

Relational model wikipedia , lookup

Database model wikipedia , lookup

Clusterpoint wikipedia , lookup

Open Database Connectivity wikipedia , lookup

SQL wikipedia , lookup

Microsoft SQL Server wikipedia , lookup

PL/SQL wikipedia , lookup

Transcript
Backup, recovery and replication
solutions for relation data bases
Ivan Rudnytskyi
Sales Engineer
Bakotech
Say Thank you to Volunteers:
 They spend their FREE time to give you this
event.
 Because they are love our COMMUNITY.
 Because they want YOU
to learn from the BEST IN THE WORLD.
 If you see one of these guys in the hall – buy
them a beer/wine, they deserve it.
Vitaliy Popovych
Olena Smoliak
Maksim Garnets
Yevhen Nedashkivskyi
Oksana Borysenko
3 Sponsor Sessions at 12:30
 Don’t miss them, they might be
providing some interesting and
valuable information!
 Bakotech (Dell) – Room “AE”
 Intapp – Room “F”
 DevArt – Room “Lazurny”
Our Sponsors:
Dell ™ LiteSpeed ™
High-speed SQL Server backup, compression
and restore
Challenges





Raw data exceeds available storage space
Improper use and management of differential backups
Too many backup jobs and maintenance plans
Backups impacting database applications
Not testing all restore scenarios
LiteSpeed Architecture
User Interface
Faster and smaller backups with
LiteSpeed’s Fast Compression
 Determining the best differential backup
schedule is challenging and poses risks for
restore time objectives (RTOs)
 Needing more than one backup for a restore
operation is a management challenge
 Backup retention on disk is more difficult
 Smart Cleanup technology
Easy backup job management
with backup templates
 Configuring hundreds or thousands of backup
jobs
 Backup templates to ease the pain
Maintenance Plan Designer
Adaptive Compression for small
and fast backups
 Which compression level should you select?
 Finding the best compression level can be a
difficult task.
 Backup Analyzer
 Adaptive Compression to the rescue
Automated Restore for easy refreshes, restore
testing and checking database consistency
DBAs often contend with three restore scenarios that can be quite time
consuming to implement:
• Keeping a secondary database instance refreshed with production database
backups
• Testing backups to ensure they can be restored and running DBCC
CHECKDB on the restored database
• Restoring multiple databases in a single pass
Automated Restore
LiteSpeed offers three restore types:
• Restore only the most recent full backup
• Restore the most recent full backup plus the most recent differential
backup, if one exists
• Restore the most recent full backup, the most recent differential if
one exists, and any transaction logs
Optionally, you can tell LiteSpeed to run a database consistency check (DBCC
CHECKDB) against each restored database and automatically drop the database upon a
successful restore (restore testing) for automatic cleanup.
Object, data, transaction-level
recovery to minimize downtime
 DBAs are often asked to restore individual
objects to a database, restore old data or simply
undo a recent T SQL “event.”
 The problem with this solution is not that it
doesn’t work — it does, the problem is quite
time-consuming
Object, data, transaction-level
recovery to minimize downtime
LiteSpeed includes a few different ways:
 Object-Level Recovery (OLR) to recover objects and
data.
 SELECT from backup to query backups directly
 Transaction Log Reader to undo and redo
transactions
Object Level Recovery
Load a backup or a set of related backups, review the list of tables,
views, functions, procedures, etc. and quickly generate the DDL script to recreate the object. If it’s data you’re interested in, you can preview the data
from any table or recover these objects to a database.
Transaction Log Reader
Encryption to protect your data



Companies might also have compliance regulations in place that require
their data to be
protected.
Encryption occurs after compression, in memory, so backups remain small,
but secure
0.5 percent increase in CPU using AES-256
40-128-bit RC2
168-bit 3DES
128-bit RC4
128-256 bit AES
Protect backup and restore
operations with Network Resilience
 A problem with your network or disk can easily
cause a backup or restore to fail immediately.
 LiteSpeed’s Network Resilience
 No need to restart the backup.
 No need to restart the restore.
 LiteSpeed’s copy resilience for Log Shipping
Log Shipping Monitor
Supported SQL Server’s versions




SQL Server 2000 32-bit and 64-bit (Itanium) (All Service Packs)
SQL Server 2005 32-bit and 64-bit (x64, Itanium) (All Service Packs)
SQL Server 2008 32-bit and 64-bit (x64, Itanium) (All Service Packs)
SQL Server 2008 R2 32-bit and 64-bit (x64, Itanium) (All Service
Packs)
 SQL Server 2012 32-bit and 64-bit (All Service Packs)
 SQL Server 2014 32-bit and 64-bit (x64) (All Service Packs)
Supported Cluster Environments
Microsoft Cluster Service 2003
Windows Server 2008 Failover Cluster
Windows Server 2008 R2 Failover Cluster
Windows Server 2012 Failover Cluster
Windows Server 2012 R2 Failover Cluster
HP PolyServe Matrix Sever 3.6.1
Veritas Storage Foundation HA for Windows 5.0
Questions
Dell™ SharePlex™
How to Easily and Continuously Replicate
Oracle® Data to SQL Server®
SharePlex: empower your real-time enterprise with
24-hour operations and dynamic business adaptability
Available in v8.6
ASE
ODBC
JMS Queue, Available in
v8.6
SQL or
XML
XML
File
File
Custom
app
Other DB’s
SharePlex for SQL Server – use cases
Affordably replicate Oracle data to Microsoft SQL Server on-premises,
remotely or in-the-cloud for special purposes:
• Improve performance of Oracle OLTP systems by offloading reporting
• Harness real-time reporting and data warehousing
• Affordably archive historical data
• Optimize analytics and the use of business intelligence applications
• Minimize downtime associated with migrations
Offload reporting,
archiving, data
warehousing
Centralized reporting
(Consolidation)
Data distribution/
Distributed
processing
Data integration
SQL Server
Oracle
Migrations
Offload operational reporting for better
performance
• Optimized SQL Server reporting
environment with different storage layouts,
indexing, and more.
• Selective down to:
– Schemas and/or tables
– Columns and/or rows
Operational reporting/Archiving/
Data warehousing
• Archive to SQL Server systems to allow the
OLTP to run lean with high performance
• Load isolation provides more consistent
response time experience than possible
with any vertical upgrade
Effective and efficient centralized reporting
and consolidation
• Simple consolidation to supply downstream
extract processing
• Archiving, data store, data warehouse, or
business intelligence repository
• Custom database configuration
– Different indexes
Centralized reporting
(Consolidation)
– Optimized block size
– Partitioning
– Other optimizations
Reliable data distribution and distributed
processing
• Optimized SQL Server environment with
different storage layouts, indexing, and
more.
• Provide only the data required in the select
locations
• Selective down to:
– Schemas and/or tables
– Columns and/or rows
Data distribution/
Distributed processing
• Unlimited number of targets and scaling
• Provides local copies
• Provide better response times
Near real-time integration with change data
capture (CDC)
• Provides near real-time access to Oracle data
in a SQL Server database configured for BI
Analytics or reporting
• Separates operational and analytical systems
thus improving performance
Oracle
SQL Server
Data integration
• Cost effectively grow and expand
infrastructure
• Integrate applications that run Oracle and SQL
Server with SharePlex passing data near realtime from Oracle to SQL Server.
Heterogeneous migrations:
Oracle to SQL Server
Traditional cross-platform
migration methods require
downtime:
Value of SharePlex in
migrations:
• Dramatically reduce downtime
• Export/Import data
• Rebuild the database
• Return control of schedule to
users
• Verify the migration
• Automatically validate data
SharePlex replication
Solaris, HP-UX, Linux,
Windows, Exadata
Oracle 9i, 10g, 11g or
12c Standard or
Enterprise RAC or nonRAC
Windows Server
SQL Server 2008R2,
2012
Staging DB
SharePlex migration steps
from Oracle to SQL Server
Export
queue
Reconcile
Post
Replication
Post
queue
New SQL Server
environment
Capture
queue
Backup from Prod,
Restore to New Production
Current Oracle
environment
(Recover to SCN or LOG
Number)
Intermediat
e
Oracle
server
Export from Intermediate,
import to New Platform.
SQL Server Integration Services (SSIS),
SQL Server Migration Assistant (SSMA),
Flat file, etc.
SharePlex + Toad Data Point
Finance
CRM
HR
SharePlex
replication
Data staging,
archiving, &
warehousing
Reports
Toad Data Point
Desktop – compare & synchronize

Business Intelligence/
Analytics
Dashboard
s
Manufacturing
SharePlex for SQL Server architecture
Replication on-premises, remote, or in-the-cloud
Export
Export
queue
Import
Post
queu
e
SQL
Redo / Archive logs
Read
Post
Capture
Oracle
Source
Capture
queue
SQL Server
Target
SharePlex capture process
• Hi-speed, real-time, log-based capture
process
• Processes online redo logs and if necessary
archive logs
• ASM supported with OS connection or ASM
Admin login and TNS alias
• Supports both RAC and non-RAC
Redo / Archive
logs
• Supports Unix, Linux, Windows and
Exadata environments , Oracle Standard &
Enterprise Edition
Capture
Oracle Source
Capture
queue
SharePlex reader process
• Responsible for batching groups of DML
statements
Export
queue
Redo / Archive
logs
• Primary/unique keys not required for
replication
Read
Capture
Oracle
Source
• Addresses transaction to one or many
targets
– SharePlex will use all columns if there are no
keys
– Or key column(s) can be defined
Capture
queue
SharePlex export / import process
Export
Export
queue
• Responsible for moving SharePlex
messages from the source to target
system
Read
Redo / Archive
logs
Import
• At least one pair of export/import
processes for each source-target
machine pair
Capture
Oracle Source
Capture
queue
– Can have more then one export/import
pair for a given source-target machine
pair
• Minimal network impact
SharePlex poster process
Export
Export
queue
Read
Redo / Archive
logs
Import
• Converts the SharePlex message into SQL
to apply to the SQL Server database via
ODBC.
Post
queu
e
SQL
• DML and DDL are supported.
Post
– ALTER TABLE ADD or DROP COLUMN
• Supports SQL Server 2008R2, 2012 and
2014
Capture
Oracle Source
Capture
queue
SQL Server
Target
SharePlex for SQL Server datatype support
• Supported Oracle datatypes that will
replicate to SQL Server:
BLOB, CHAR, CLOB, DATE,
TIMESTAMP, TIMESTAMP WITH ZONE,
FLOAT, LONG, LONG RAW, NUMBER,
INTEGER, RAW, VARCHAR,
VARCHAR2, and ANYDATA.
• Default datatype mapping for ALTER
TABLE ADD column for SQL Server.
• SQL Server 2008R2, 2012, 2014 on
Windows 2003, 2008, 2012 and 2012R2
• For a complete list of supported
datatypes, operations & platform support,
see the SharePlex 8.6 Release Notes
Posting to SQL Server: datatype mapping
• The target config has
default datatype
mappings for SQL
Server:
Oracle
SQL Server
anydata
sql_variant
blob
image
char
char
clob
text
date
datetime2
double
float
float
float
long
text
longraw
image
number
numeric
raw
varbinary
timestamp
datetime2
timestamp_tz
datetimeoffset
varchar
varchar
SharePlex replication to ODBC enabled
targets
Non-Oracle database(s)
ODBC
• SharePlex can connect to a database that supports Open Database Connectivity
(ODBC).
• Configuration file syntax:
Datasource: o.SID
src_owner.table tgt_owner.table
host[:queuename]@r.database_name
SharePlex new target: XML file
Non-Oracle database(s)
XML
File
Custom
app
• Replication to file now supports XML records
– In version 8.5, SharePlex supported replication to files only formatted as SQL statements.
– In version 8.6, file data can be formatted as either SQL statements or XML records.
• Default type is XML when output file type is configured
• Syntax in config file (specifies capture and routing information to file):
Datasource: o.SID
src_owner.table
!file
host
Questions