Database Mirroring - Kastech SSG - What Is PeopleSoft Test Framework
Database Mirroring - Kastech SSG - What Is PeopleSoft Test Framework
Database Mirroring - Kastech SSG - What Is PeopleSoft Test Framework
[email protected] www.kastechssg.com
Installation & Build v
Installation of single instance /multi- Applying patches ( Security patches, Service Packs,
instances (max 50) Cumulative Updates) on standalone and multiple
nodes cluster.
[email protected] www.kastechssg.com
Security Management v
Creating users and Assigning permissions based on level of databases Access.
Hardening of Operating System as mentioned below:
Remove unwanted users who are not Enable fire wall settings.
authorized to login and perform specific
task. Mode of Authentication (Windows
and SQL mode).
[email protected] www.kastechssg.com
High Availability v
Always On
[email protected] www.kastechssg.com
Database Maintenance and Monitoringv
Maintaining Data highly available for the customers. Migration of databases from Production to UAT/ DEV.
Regular database health checkup using automated scripts Deploying scripts on Production databases as per
for critical tier-1 applications. business need.
[email protected] www.kastechssg.com
Performance Tuning v
Interacting with Resolving space issue Resolving Performance monitoring Stats Maintenance
Application team to by adding space to Tempdb and resolving CPU,
resolve performance disks and shrinking Issues. Memory Utilization bottle
issues. Database Log space. necks.
10 09 08 07 06 05 04 03 02 01
Query Tuning for Dynamic Management Resolving I/O Resolving Index Maintenance
long running Views (DMV's), Stored , hardware, Blocking, Locking
queries and Procedures (SP’s) , Regular Network and Deadlock
execution plan to DBCC (Database issues. issues.
view the query Consistency Checks to
design. monitor performance
bottle necks.
[email protected] www.kastechssg.com
Third Party Tools v
Robo Copy : To copy data and files across SQL Spot light tool By Quest : To monitor performance of
the servers. SQL server
SCOM : Ticketing Tool. Light Speed by Quest : For backup and recovery
SQL COMPARE by Redgate : Deploy the NetBackup : To archive the backups and retrieve
changes with out need of database when needed.
recovery between the servers.
[email protected] www.kastechssg.com
Documentation v
[email protected] www.kastechssg.com
Log shipping v
Log backups
Copy Backup files secondary Restored Logs to
server secondary database
[email protected] www.kastechssg.com
Database Mirroring v
Network
Adventure Adventure
Principal Works DB Works DB
Server
translog translog
Witness
Server MSDB DB
[email protected] www.kastechssg.com
Database Mirroring v
[email protected] www.kastechssg.com
Always On v
SQL Server SQL Server SQL Server SQL Server SQL Server
Instance Instance Instance Instance Instance
[email protected] www.kastechssg.com
Always On v
The Always On Availability Groups feature is a high-availability and disaster-recovery solution that provides an enterprise-level
alternative to database mirroring.
Availability Group
[email protected] www.kastechssg.com
SQL SERVER 2016 new features v
TempDB : Multiple tempDB database files can configured at the time of installation which is nit supported in
previous versions.
Query Store : It stores query texts, execution plans, performance metrics with in the
database which allows to troubleshoot performance issue easily.
Temporal Tables : These are history tables which records complete data changes
with respective to date and time.
Stretch Database : It lets to store achieve data in to cloud (AZURE) and current data in Local
( On Premises).
Live Query Statistics : SQL server is providing ability to view execution plan when the query is in active state
which helps to find cause of long running queries.
[email protected] www.kastechssg.com
SQL SERVER 2016 new features v
Security Features
Row Level Security : Data access can be restricted at database engine level
Dynamic Masking :Masked data is hidden to users and users who is having UNMASK
permission can view it.
[email protected] www.kastechssg.com
Log shipping Vs Mirroring v
Log shipping is a manual failover process. Database mirroring is an automatic failover process.
There will not be an automatic application connection Application connection can be redirected automatically
redirection. It has to be redirected manually. with proper configuration.
Log shipping will have multiple secondary databases for the Database mirroring will not have multiple database
synchronization. destinations for mirroring
There will be data transfer latency. There will not be data transfer latency.
In log shipping, secondary database can be used for reporting In database mirroring, mirror database cannot be used for
solution. reporting solution.
Both committed and uncommitted transactions are transferred Only committed transactions are transferred to the mirror
to the secondary database. database.
Log shipping supports both bulk logged recovery model and full
recovery model. Mirroring supports only Full Recovery model.
[email protected] www.kastechssg.com
Windows Cluster v
[email protected] www.kastechssg.com
Windows Cluster v
Windows 2012
Active Node Passive Node Windows 2012
SQL 2012
SQL 2012
Heartbeat
Windows 2012
SQL 2012
Database Database
Shared Storage
[email protected] www.kastechssg.com
Windows Cluster v
Active/Passive
• One node controlling SQL Server resources at one time and the other node is continuously in
standby mode waiting for a failover to occur.
• In the event of a failover, the standby node will acquire control of the SQL Server resources.
Active/Active
• Each node in the cluster is running a separate and active instance of SQL Server.
• In the event of a node failure, the other node is able to take control of the failed node's SQL
Server instance. This healthy node will then be running both instances of SQL Server—its own
instance and the failed node's instance.
• This healthy node will then be running both instances of SQL Server—its own instance and the
failed node's instance.
[email protected] www.kastechssg.com
v
[email protected]
(832) 651 4843
www.kastechssg.com