SlideShare a Scribd company logo
In the beginning, 
there was the log 
Martin Hubel 
+ 1 905-764-7498 
martin@mhubel.com 
1
Agenda 
1. 
The role of the database recovery log 
2. 
How backups fit in 
3. 
Recovery scenarios 
4. 
Planning for recovery 
2
Disclaimer 
• 
Every attempt has been made to be accurate with product information. Trademarks are the property of their respective owners. 
• 
I work mainly on DB2, but have used and supported other products. 
• 
All DBMS mentioned in today’s webinar are commercial grade, used by hundreds of companies to manage their enterprises. No attempt is made here to compare DBMS products for functionality. Copyright©2014 Martin Hubel Consulting Inc. 3
Assumptions 
• 
This presentation is about OLTP applications 
• 
The need for backups is known 
• 
The need for recovery is also understood 
• 
Databases are enabled for recovery 
• 
BI / DW have different recovery requirements 
• 
Data is recovered / rebuilt / reload from another source 
Copyright©2014 Martin Hubel Consulting Inc. 4
The database recovery log 
• 
Log contains information necessary to: 
• 
Redo completed units of work 
• 
Undo incomplete units of work 
• 
Rebuild system status 
• 
Today’s presentation will deal mainly with units of work (transactions) and their effect on the recovery log 
Copyright©2014 Martin Hubel Consulting Inc. 5
A successful transaction 
• 
Single transaction can contain many update actions 
• 
All updates must complete 
• 
Then a commit makes changes permanent 
• 
Successful termination is recorded in the recovery log 
• 
Any failure rolls changes back to beginning 
• 
The DB is considered consistent before the transaction and after the commit 
Copyright©2014 Martin Hubel Consulting Inc. 6 
•Begin UR •End UR 
•INS A 
•UPD B 
•UPD C 
•INS A 
•DEL D 
•INS E 
• 
One Business Transaction
Unit of work 
• 
Updates performed in the subsystem between two points of consistency 
• 
Point of consistency (commit point) is a point where all recoverable data for an application is consistent with other data 
• 
Equivalent terms: Synchpoint, Logical Unit of Work or Unit of Recovery (UR) 
• 
Some environments require a 2 phase commit 
Copyright©2014 Martin Hubel Consulting Inc. 7
Batch transactions 
• 
Batch jobs handle transaction can contain many update actions 
• 
Many business transactions are included in a single unit of work 
• 
The commit makes changes permanent for all transactions 
• 
Any failure rolls changes back to beginning 
• 
Many tens, hundreds or even thousands of transactions are processed in a single UR 
Copyright©2014 Martin Hubel Consulting Inc. 8 
•Begin UR •End UR
Rollback 
Copyright©2014 Martin Hubel Consulting Inc. 9 
• During rollback, data changes are not removed 
•The log is read and the changes reversed 
•The data is returned to its last consistent state (last commit) 
• Some badly designed applications issue rollback statements following 
if validation fails 
•Can be a lot of log activity for nothing 
•Always complete all validation prior to performing first update 
•Begin UR 
• 
End UR 
•INS A 
•UPD B 
•UPD C 
•INS E 
•One Business Transaction 
•DEL E 
•UPD C` 
•UPD B` 
•DEL A 
• 
Failure
Performance of new application 
• 
A new financial application had a light transaction processing load 
• 
Transactions were complex and had a lot of validation and updates to perform 
• 
Users regularly had to correct input before the transaction was ready for processing 
• 
Performance was poor. Design showed: 
• 
After each validation check, the SQL updates to that point were performed 
• 
If a further check failed, the updates were reversed via rollback 
• 
This problem was found via a high volume of log activity 
• 
Much of it for no benefit 
Copyright©2014 Martin Hubel Consulting Inc. 10
Transaction Recovery/Backout 
• 
Some DBMS products default to this type of recovery (rollback of incomplete URs only) 
• 
Logging (log retain) in these products must be turned on for full recovery 
Copyright©2014 Martin Hubel Consulting Inc. 11 
TIMEOUTWorkRollbackWaitWorkRollbackDEADLOCKWorkWaitContinueabba
Log files 
• 
“In the beginning, there was the log” 
• 
DBMS writes to the active log file 
• 
May be dual logs or mirrored by DBMS 
 
May be on RAID devices at hardware level 
• 
Logs use buffered I/O 
 
For changes to data 
• 
Logs are written synchronously at commit time 
• 
In this way, the log is close to being correct if failure occurs 
• 
Design I/O system to avoid waits for log writes 
• 
DBMS must be able to write changes to the log 
Copyright©2014 Martin Hubel Consulting Inc. 12
Archiving logs 
• 
Current log is called the active log 
• 
Log files fill up and switch automatically to new files 
• 
Called archive logs 
• 
Archive files may remain in same directory for some period 
• 
May be automatically offloaded to some facility like TSM 
• 
Problems can occur in the archival process 
• 
If log file system fills, the DBMS stops! 
Active log 
Copyright©2014 Martin Hubel Consulting Inc. 13 
Other 
storage 
Archive logs
Batch, long running, and large transactions 
• 
Thousands (or more) updates can be performed, e.g. by: 
• 
A batch job 
• 
A single SQL statement 
• 
Long-running transactions cause problems: 
• 
Many locks taken during the updates 
• 
Many log records and log files written before a commit 
• 
Commit frequency must be managed 
• 
Rollback is also problematic 
• 
Requires log to be read, and to write the opposite action to reverse the change 
Copyright©2014 Martin Hubel Consulting Inc. 14
“The audit table is too big” 
• 
The new DBA/Linux sysadminnotices the size of the audit table is 30 million rows 
• 
Issues a DELETE FROM AUDIT_TABLE WHERE DATE < ‘60 days ago’ 
• 
10M rows will be deleted 
• 
The effect: 
• 
All users locked out of the application 
• 
No estimate of completion time 
Copyright©2014 Martin Hubel Consulting Inc. 15
“The audit table is too big” -2 
• 
After many complaints and about 2 hours, the DBA cancels the Delete 
• 
Rollback starts: 
• 
Rollback has to read the log to finds the updates and write the opposite 
• 
As such, rollback typically takes twice as long 
• 
The users continue to be unhappy and are now more vocal 
Copyright©2014 Martin Hubel Consulting Inc. 16
“The audit table is too big” -3 
• 
The DBA, using his sysadminkills, starts killing DB2 processes 
• 
Kill -9 has immediate effects to stop DB2 and the rollback 
• 
But now, the rollback is incomplete 
• 
At restart, DB2 must remove the effect of the incomplete rollback and start the full rollback afterwards 
• 
Estimated full recovery time is 24 hours 
• 
Some behind-the-scenes involvement reduces the outage to 8 hours on a 24x7 system 
• 
CIO asks: “What should we do with the DBA?” 
Copyright©2014 Martin Hubel Consulting Inc. 17
... And Now 
• 
A word from Embarcadero... 
Copyright©2014 Martin Hubel Consulting Inc. 18
Can the log be kept forever? 
• 
Hypothetically yes, the answer is no 
• 
Not practical 
• 
Recovery would take too long for one thing 
• 
Log retention would also be impractical 
• 
Backups taken within the DBMS are recorded and provide starting points for recovery 
• 
Once all databases or tables (tablespaces) have been copied, the oldest logs can be deleted 
Copyright©2014 Martin Hubel Consulting Inc. 19
Backup copies 
• 
Backups provide a starting point for the recovery process 
• 
Need at least one full backup 
• 
Two generations are safer 
• 
DBMS options for backups: 
• 
Database 
• 
Table or tablespace 
• 
Incremental or delta 
• 
Online or offline 
• 
Once all databases have a valid backup, the older log files can be deleted 
• 
Set generous retention periods 
Copyright©2014 Martin Hubel Consulting Inc. 20
Gaps in the log 
• 
A big recovery consideration is to ensure there are no gaps within the log range 
• 
A gap indicates that some log records are missing, and DBMS is unable to determine what those records might have contained 
• 
As such, forward log processing stops 
• 
It is advantageous to turn logging off for certain situations or operations 
• 
E.g, large loads 
Copyright©2014 Martin Hubel Consulting Inc. 21
Implications of turning off logging 
• 
Logging is not free 
• 
Significant performance impact for certain operations such as batch updates or load operations 
• 
Not logged operations affect the ability to forward recover objects using the log 
• 
DBMS does not know what or how data was changed 
• 
Therefore, DBMS requires a backup following not logged operations to re-establish a recovery point 
Copyright©2014 Martin Hubel Consulting Inc. 22
Production mortgage system 
• 
DBA group was responsible for backups 
• 
Forgot to take regular backups 
• 
Last backup was January 26 
• 
System group managed the logs 
• 
Set a “reasonable” retention period of 60 days 
• 
On April 1, they deleted the logs older than Feb 1 
• 
On April 8, a hardware problem occurred 
• 
Production was recovered to January 26 
Copyright©2014 Martin Hubel Consulting Inc. 23
Application recovery scenarios 
• 
Transaction recovery/backout 
• 
Application backout 
• 
Point-in-time recovery 
• 
Checkpoint restart 
• 
Data synchronization 
• 
Data inconsistencies 
• 
Out of space 
• 
Media failure 
• 
Accidentally deleted data 
Copyright©2014 Martin Hubel Consulting Inc. 24
Recovery guidelines 
• 
Test your recovery procedures 
• 
Make a backup copy prior to recovery -things can get worse 
• 
Make a copy after recovery if you think it might happen again 
• 
Make two copies using the DBMS backup utility 
• 
Periodically run integrity checking utilities to ensure recoverability 
Copyright©2014 Martin Hubel Consulting Inc. 25
Common user errors -1 
• 
Delete or write over archive log or image copy 
• 
Without necessary backups, recovery may be impossible 
• 
Possible storage management issue 
• 
Misuse of disk level dump/restore 
• 
Valid for disaster planning, but dump everything – 
 
Logs 
 
DBMS system objects 
 
User data 
Copyright©2014 Martin Hubel Consulting Inc. 26
Common user errors -2 
• 
Common Programming Errors 
• 
Logical unit of work identification 
• 
Commit/CHKP placed incorrectly 
• 
Too many commits 
• 
Coding methods may vary throughout application, e.g. 
 
Use of separate read and write routines 
 
Checking of SQL return code codes 
Copyright©2014 Martin Hubel Consulting Inc. 27
Application Backout 
• 
Required when multiple jobs running concurrently against same database 
• 
Work was committed against database 
• 
Backoutmay not be possible or practical in all cases 
Copyright©2014 Martin Hubel Consulting Inc. 28 
Startof Job TimeNormalJob End Job 1Job 2Job 3Job 4Backout, repair, and rerun
SQL change in production 
• 
“Oops, we thought that was the test system” 
• 
An SQL error changed all addresses to the same value 
• 
780,000 rows in table 
• 
“Martin, please change them back” 
• 
No, you can’t restore from a backup 
 
New customers have signed up 
 
Old customers may have updated their information 
Copyright©2014 Martin Hubel Consulting Inc. 29
SQL change in production 
• 
While this was pressing, it was not a “show stopper” 
• 
Fortunately, I had unloaded this table for some reason 
• 
This became a source for the correct addresses 
• 
Alternatives might have been a redirected restore / transportable tablespace 
• 
We were able to load the backup table 
• 
Found SQL on internet and adapted it 
• 
Ultimately updated 362,000 addresses 
Copyright©2014 Martin Hubel Consulting Inc. 30
Summary 
• 
All update activity is recorded in the DBMS log 
• 
Log performance is part of overall DBMS performance 
• 
Backups and logs are both used for recovery 
• 
Plan and test recovery scenarios prior to needing them 
Copyright©2014 Martin Hubel Consulting Inc. 31
Martin Hubel 
Martin Hubel Consulting Inc. 
martin@mhubel.com 
905-764-7498 
In the beginning, there was the log 
32

More Related Content

What's hot

VMworld 2013: Deep Dive into vSphere Log Management with vCenter Log Insight
VMworld 2013: Deep Dive into vSphere Log Management with vCenter Log InsightVMworld 2013: Deep Dive into vSphere Log Management with vCenter Log Insight
VMworld 2013: Deep Dive into vSphere Log Management with vCenter Log Insight
VMworld
 
Aaron Robinson by COLLABERA True value edition LNKEDIN
Aaron Robinson by COLLABERA  True value edition LNKEDINAaron Robinson by COLLABERA  True value edition LNKEDIN
Aaron Robinson by COLLABERA True value edition LNKEDINAARON ROBINSON
 
Nicholas king oracle epm migration and upgrade
Nicholas king   oracle epm migration and upgradeNicholas king   oracle epm migration and upgrade
Nicholas king oracle epm migration and upgrade
nking821
 
Monitoring a Dynamics CRM Infrastructure
Monitoring a Dynamics CRM InfrastructureMonitoring a Dynamics CRM Infrastructure
Monitoring a Dynamics CRM Infrastructure
Stéphane Dorrekens
 
Enterprise Process Automation Suite
Enterprise Process Automation SuiteEnterprise Process Automation Suite
Enterprise Process Automation Suite
HelpSystems
 
IMS04 BMC Software Strategy and Roadmap
IMS04   BMC Software Strategy and RoadmapIMS04   BMC Software Strategy and Roadmap
IMS04 BMC Software Strategy and Roadmap
Robert Hain
 
Interconnect session 1888: Rational Team Concert Process Customization: What ...
Interconnect session 1888: Rational Team Concert Process Customization: What ...Interconnect session 1888: Rational Team Concert Process Customization: What ...
Interconnect session 1888: Rational Team Concert Process Customization: What ...
Rosa Naranjo
 
Sample Solution Blueprint
Sample Solution BlueprintSample Solution Blueprint
Sample Solution BlueprintMike Alvarado
 
VMworld 2013: VMware Mirage Storage and Network Deduplication, DEMYSTIFIED
VMworld 2013: VMware Mirage Storage and Network Deduplication, DEMYSTIFIED VMworld 2013: VMware Mirage Storage and Network Deduplication, DEMYSTIFIED
VMworld 2013: VMware Mirage Storage and Network Deduplication, DEMYSTIFIED
VMworld
 
Collaborate 2014 OAUG - EBS 11i Upgrade to R12 - Compare versions 12.2 vs 12.1
Collaborate 2014 OAUG - EBS 11i Upgrade to R12 - Compare versions 12.2 vs 12.1Collaborate 2014 OAUG - EBS 11i Upgrade to R12 - Compare versions 12.2 vs 12.1
Collaborate 2014 OAUG - EBS 11i Upgrade to R12 - Compare versions 12.2 vs 12.1
Biju Thomas
 
COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT
COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPTCOLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT
COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPTPreet Kamal Singh
 
VMworld 2013: Demystifying VMware Mirage: Tips and Tricks for Success
VMworld 2013: Demystifying VMware Mirage: Tips and Tricks for Success VMworld 2013: Demystifying VMware Mirage: Tips and Tricks for Success
VMworld 2013: Demystifying VMware Mirage: Tips and Tricks for Success
VMworld
 
Interconnect session 3498: Deployment Topologies for Jazz Reporting Service
Interconnect session 3498: Deployment Topologies for Jazz Reporting ServiceInterconnect session 3498: Deployment Topologies for Jazz Reporting Service
Interconnect session 3498: Deployment Topologies for Jazz Reporting Service
Rosa Naranjo
 
Collaborate 2011-tuning-ebusiness-416502
Collaborate 2011-tuning-ebusiness-416502Collaborate 2011-tuning-ebusiness-416502
Collaborate 2011-tuning-ebusiness-416502
kaziul Islam Bulbul
 
Mastering SAP Monitoring - Workload Monitoring
Mastering SAP Monitoring - Workload MonitoringMastering SAP Monitoring - Workload Monitoring
Mastering SAP Monitoring - Workload Monitoring
Linh Nguyen
 
Speakers slidedeck sp-biz laporte
Speakers slidedeck   sp-biz laporteSpeakers slidedeck   sp-biz laporte
Speakers slidedeck sp-biz laporte
Paul LaPorte
 
11. operating-systems-part-1
11. operating-systems-part-111. operating-systems-part-1
11. operating-systems-part-1
Muhammad Ahad
 
How to Turn New Recruits Into Oracle EPM Infrastructure Gurus
How to Turn New Recruits Into Oracle EPM Infrastructure GurusHow to Turn New Recruits Into Oracle EPM Infrastructure Gurus
How to Turn New Recruits Into Oracle EPM Infrastructure Gurus
nking821
 
Mastering SAP Monitoring - Determining the Health of your SAP Environment
Mastering SAP Monitoring - Determining the Health of your SAP EnvironmentMastering SAP Monitoring - Determining the Health of your SAP Environment
Mastering SAP Monitoring - Determining the Health of your SAP Environment
Linh Nguyen
 
VMworld 2013: VMware Horizon Mirage Image Deployment Deep Dive
VMworld 2013: VMware Horizon Mirage Image Deployment Deep DiveVMworld 2013: VMware Horizon Mirage Image Deployment Deep Dive
VMworld 2013: VMware Horizon Mirage Image Deployment Deep Dive
VMworld
 

What's hot (20)

VMworld 2013: Deep Dive into vSphere Log Management with vCenter Log Insight
VMworld 2013: Deep Dive into vSphere Log Management with vCenter Log InsightVMworld 2013: Deep Dive into vSphere Log Management with vCenter Log Insight
VMworld 2013: Deep Dive into vSphere Log Management with vCenter Log Insight
 
Aaron Robinson by COLLABERA True value edition LNKEDIN
Aaron Robinson by COLLABERA  True value edition LNKEDINAaron Robinson by COLLABERA  True value edition LNKEDIN
Aaron Robinson by COLLABERA True value edition LNKEDIN
 
Nicholas king oracle epm migration and upgrade
Nicholas king   oracle epm migration and upgradeNicholas king   oracle epm migration and upgrade
Nicholas king oracle epm migration and upgrade
 
Monitoring a Dynamics CRM Infrastructure
Monitoring a Dynamics CRM InfrastructureMonitoring a Dynamics CRM Infrastructure
Monitoring a Dynamics CRM Infrastructure
 
Enterprise Process Automation Suite
Enterprise Process Automation SuiteEnterprise Process Automation Suite
Enterprise Process Automation Suite
 
IMS04 BMC Software Strategy and Roadmap
IMS04   BMC Software Strategy and RoadmapIMS04   BMC Software Strategy and Roadmap
IMS04 BMC Software Strategy and Roadmap
 
Interconnect session 1888: Rational Team Concert Process Customization: What ...
Interconnect session 1888: Rational Team Concert Process Customization: What ...Interconnect session 1888: Rational Team Concert Process Customization: What ...
Interconnect session 1888: Rational Team Concert Process Customization: What ...
 
Sample Solution Blueprint
Sample Solution BlueprintSample Solution Blueprint
Sample Solution Blueprint
 
VMworld 2013: VMware Mirage Storage and Network Deduplication, DEMYSTIFIED
VMworld 2013: VMware Mirage Storage and Network Deduplication, DEMYSTIFIED VMworld 2013: VMware Mirage Storage and Network Deduplication, DEMYSTIFIED
VMworld 2013: VMware Mirage Storage and Network Deduplication, DEMYSTIFIED
 
Collaborate 2014 OAUG - EBS 11i Upgrade to R12 - Compare versions 12.2 vs 12.1
Collaborate 2014 OAUG - EBS 11i Upgrade to R12 - Compare versions 12.2 vs 12.1Collaborate 2014 OAUG - EBS 11i Upgrade to R12 - Compare versions 12.2 vs 12.1
Collaborate 2014 OAUG - EBS 11i Upgrade to R12 - Compare versions 12.2 vs 12.1
 
COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT
COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPTCOLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT
COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT
 
VMworld 2013: Demystifying VMware Mirage: Tips and Tricks for Success
VMworld 2013: Demystifying VMware Mirage: Tips and Tricks for Success VMworld 2013: Demystifying VMware Mirage: Tips and Tricks for Success
VMworld 2013: Demystifying VMware Mirage: Tips and Tricks for Success
 
Interconnect session 3498: Deployment Topologies for Jazz Reporting Service
Interconnect session 3498: Deployment Topologies for Jazz Reporting ServiceInterconnect session 3498: Deployment Topologies for Jazz Reporting Service
Interconnect session 3498: Deployment Topologies for Jazz Reporting Service
 
Collaborate 2011-tuning-ebusiness-416502
Collaborate 2011-tuning-ebusiness-416502Collaborate 2011-tuning-ebusiness-416502
Collaborate 2011-tuning-ebusiness-416502
 
Mastering SAP Monitoring - Workload Monitoring
Mastering SAP Monitoring - Workload MonitoringMastering SAP Monitoring - Workload Monitoring
Mastering SAP Monitoring - Workload Monitoring
 
Speakers slidedeck sp-biz laporte
Speakers slidedeck   sp-biz laporteSpeakers slidedeck   sp-biz laporte
Speakers slidedeck sp-biz laporte
 
11. operating-systems-part-1
11. operating-systems-part-111. operating-systems-part-1
11. operating-systems-part-1
 
How to Turn New Recruits Into Oracle EPM Infrastructure Gurus
How to Turn New Recruits Into Oracle EPM Infrastructure GurusHow to Turn New Recruits Into Oracle EPM Infrastructure Gurus
How to Turn New Recruits Into Oracle EPM Infrastructure Gurus
 
Mastering SAP Monitoring - Determining the Health of your SAP Environment
Mastering SAP Monitoring - Determining the Health of your SAP EnvironmentMastering SAP Monitoring - Determining the Health of your SAP Environment
Mastering SAP Monitoring - Determining the Health of your SAP Environment
 
VMworld 2013: VMware Horizon Mirage Image Deployment Deep Dive
VMworld 2013: VMware Horizon Mirage Image Deployment Deep DiveVMworld 2013: VMware Horizon Mirage Image Deployment Deep Dive
VMworld 2013: VMware Horizon Mirage Image Deployment Deep Dive
 

Viewers also liked

Improve Agility and Collaboration with ER/Studio XE7
Improve Agility and Collaboration with ER/Studio XE7Improve Agility and Collaboration with ER/Studio XE7
Improve Agility and Collaboration with ER/Studio XE7
Embarcadero Technologies
 
Is This Really a SAN Problem? Understanding the Performance of Your IO Subsy...
Is This Really a SAN Problem? Understanding the Performance of  Your IO Subsy...Is This Really a SAN Problem? Understanding the Performance of  Your IO Subsy...
Is This Really a SAN Problem? Understanding the Performance of Your IO Subsy...
Embarcadero Technologies
 
These Are The Data You Are Looking For
These Are The Data You Are Looking ForThese Are The Data You Are Looking For
These Are The Data You Are Looking For
Embarcadero Technologies
 
Metadata Melodies Webinar with David Loshin Presentation
Metadata Melodies Webinar with David Loshin PresentationMetadata Melodies Webinar with David Loshin Presentation
Metadata Melodies Webinar with David Loshin Presentation
Embarcadero Technologies
 
Find it. Fix it. Real-World SQL Tuning Cases with Karen Morton
Find it. Fix it. Real-World SQL Tuning Cases with Karen MortonFind it. Fix it. Real-World SQL Tuning Cases with Karen Morton
Find it. Fix it. Real-World SQL Tuning Cases with Karen Morton
Embarcadero Technologies
 
Secure Your Data Assets
Secure Your Data AssetsSecure Your Data Assets
Secure Your Data Assets
Embarcadero Technologies
 
RAD studio XE7 first look webinar
RAD studio XE7 first look webinarRAD studio XE7 first look webinar
RAD studio XE7 first look webinar
Embarcadero Technologies
 
Introducing ER/Studio Team Server
Introducing ER/Studio Team ServerIntroducing ER/Studio Team Server
Introducing ER/Studio Team Server
Embarcadero Technologies
 
Understanding Hardware: The Right Fights for the DBA to Pick with the Server ...
Understanding Hardware: The Right Fights for the DBA to Pick with the Server ...Understanding Hardware: The Right Fights for the DBA to Pick with the Server ...
Understanding Hardware: The Right Fights for the DBA to Pick with the Server ...
Embarcadero Technologies
 
Model Confidence for Master Data with David Loshin
Model Confidence for Master Data with David LoshinModel Confidence for Master Data with David Loshin
Model Confidence for Master Data with David Loshin
Embarcadero Technologies
 
Embarcadero ER/Studio Enterprise Team Edition Overview
Embarcadero ER/Studio Enterprise Team Edition OverviewEmbarcadero ER/Studio Enterprise Team Edition Overview
Embarcadero ER/Studio Enterprise Team Edition Overview
Embarcadero Technologies
 
The Future of ER/Studio: Better with Team Server
The Future of ER/Studio: Better with Team ServerThe Future of ER/Studio: Better with Team Server
The Future of ER/Studio: Better with Team Server
Embarcadero Technologies
 
7 Dangerous Myths DBAs Believe about Data Modeling
7 Dangerous Myths DBAs Believe about Data Modeling7 Dangerous Myths DBAs Believe about Data Modeling
7 Dangerous Myths DBAs Believe about Data Modeling
Embarcadero Technologies
 
Dan Hotka’s PL SQL Tips and Techniques, Part II
Dan Hotka’s PL SQL Tips and Techniques, Part IIDan Hotka’s PL SQL Tips and Techniques, Part II
Dan Hotka’s PL SQL Tips and Techniques, Part II
Embarcadero Technologies
 
Congratulations, You’re a DBA... Now What?
Congratulations, You’re a DBA... Now What?Congratulations, You’re a DBA... Now What?
Congratulations, You’re a DBA... Now What?
Embarcadero Technologies
 
Data Architecture Success Stories
Data Architecture Success StoriesData Architecture Success Stories
Data Architecture Success Stories
Embarcadero Technologies
 
PL/SQL Tips and Techniques Webinar Presentation
PL/SQL Tips and Techniques Webinar PresentationPL/SQL Tips and Techniques Webinar Presentation
PL/SQL Tips and Techniques Webinar Presentation
Embarcadero Technologies
 
Managing a Multi-Platform Environment
Managing a Multi-Platform EnvironmentManaging a Multi-Platform Environment
Managing a Multi-Platform Environment
Embarcadero Technologies
 
In Search of Plan Stability Part 2 with Karen Morton
In Search of Plan Stability Part 2 with Karen MortonIn Search of Plan Stability Part 2 with Karen Morton
In Search of Plan Stability Part 2 with Karen Morton
Embarcadero Technologies
 
Working With Different Kinds of Data
Working With Different Kinds of DataWorking With Different Kinds of Data
Working With Different Kinds of Data
Embarcadero Technologies
 

Viewers also liked (20)

Improve Agility and Collaboration with ER/Studio XE7
Improve Agility and Collaboration with ER/Studio XE7Improve Agility and Collaboration with ER/Studio XE7
Improve Agility and Collaboration with ER/Studio XE7
 
Is This Really a SAN Problem? Understanding the Performance of Your IO Subsy...
Is This Really a SAN Problem? Understanding the Performance of  Your IO Subsy...Is This Really a SAN Problem? Understanding the Performance of  Your IO Subsy...
Is This Really a SAN Problem? Understanding the Performance of Your IO Subsy...
 
These Are The Data You Are Looking For
These Are The Data You Are Looking ForThese Are The Data You Are Looking For
These Are The Data You Are Looking For
 
Metadata Melodies Webinar with David Loshin Presentation
Metadata Melodies Webinar with David Loshin PresentationMetadata Melodies Webinar with David Loshin Presentation
Metadata Melodies Webinar with David Loshin Presentation
 
Find it. Fix it. Real-World SQL Tuning Cases with Karen Morton
Find it. Fix it. Real-World SQL Tuning Cases with Karen MortonFind it. Fix it. Real-World SQL Tuning Cases with Karen Morton
Find it. Fix it. Real-World SQL Tuning Cases with Karen Morton
 
Secure Your Data Assets
Secure Your Data AssetsSecure Your Data Assets
Secure Your Data Assets
 
RAD studio XE7 first look webinar
RAD studio XE7 first look webinarRAD studio XE7 first look webinar
RAD studio XE7 first look webinar
 
Introducing ER/Studio Team Server
Introducing ER/Studio Team ServerIntroducing ER/Studio Team Server
Introducing ER/Studio Team Server
 
Understanding Hardware: The Right Fights for the DBA to Pick with the Server ...
Understanding Hardware: The Right Fights for the DBA to Pick with the Server ...Understanding Hardware: The Right Fights for the DBA to Pick with the Server ...
Understanding Hardware: The Right Fights for the DBA to Pick with the Server ...
 
Model Confidence for Master Data with David Loshin
Model Confidence for Master Data with David LoshinModel Confidence for Master Data with David Loshin
Model Confidence for Master Data with David Loshin
 
Embarcadero ER/Studio Enterprise Team Edition Overview
Embarcadero ER/Studio Enterprise Team Edition OverviewEmbarcadero ER/Studio Enterprise Team Edition Overview
Embarcadero ER/Studio Enterprise Team Edition Overview
 
The Future of ER/Studio: Better with Team Server
The Future of ER/Studio: Better with Team ServerThe Future of ER/Studio: Better with Team Server
The Future of ER/Studio: Better with Team Server
 
7 Dangerous Myths DBAs Believe about Data Modeling
7 Dangerous Myths DBAs Believe about Data Modeling7 Dangerous Myths DBAs Believe about Data Modeling
7 Dangerous Myths DBAs Believe about Data Modeling
 
Dan Hotka’s PL SQL Tips and Techniques, Part II
Dan Hotka’s PL SQL Tips and Techniques, Part IIDan Hotka’s PL SQL Tips and Techniques, Part II
Dan Hotka’s PL SQL Tips and Techniques, Part II
 
Congratulations, You’re a DBA... Now What?
Congratulations, You’re a DBA... Now What?Congratulations, You’re a DBA... Now What?
Congratulations, You’re a DBA... Now What?
 
Data Architecture Success Stories
Data Architecture Success StoriesData Architecture Success Stories
Data Architecture Success Stories
 
PL/SQL Tips and Techniques Webinar Presentation
PL/SQL Tips and Techniques Webinar PresentationPL/SQL Tips and Techniques Webinar Presentation
PL/SQL Tips and Techniques Webinar Presentation
 
Managing a Multi-Platform Environment
Managing a Multi-Platform EnvironmentManaging a Multi-Platform Environment
Managing a Multi-Platform Environment
 
In Search of Plan Stability Part 2 with Karen Morton
In Search of Plan Stability Part 2 with Karen MortonIn Search of Plan Stability Part 2 with Karen Morton
In Search of Plan Stability Part 2 with Karen Morton
 
Working With Different Kinds of Data
Working With Different Kinds of DataWorking With Different Kinds of Data
Working With Different Kinds of Data
 

Similar to In the Beginning, There Was the Log - Webinar with Martin Hubel

Topic 4 database recovery
Topic 4 database recoveryTopic 4 database recovery
Topic 4 database recovery
acap paei
 
Why retail companies can't afford database downtime
Why retail companies can't afford database downtimeWhy retail companies can't afford database downtime
Why retail companies can't afford database downtime
DBmaestro - Database DevOps
 
Sql server tips from the field
Sql server tips from the fieldSql server tips from the field
Sql server tips from the field
JoAnna Cheshire
 
Presentation maximizing database performance performance tuning with db time
Presentation    maximizing database performance performance tuning with db timePresentation    maximizing database performance performance tuning with db time
Presentation maximizing database performance performance tuning with db time
xKinAnx
 
Lean Business Intelligence: Achieve Better, Faster, Cheaper Business Intellig...
Lean Business Intelligence: Achieve Better, Faster, Cheaper Business Intellig...Lean Business Intelligence: Achieve Better, Faster, Cheaper Business Intellig...
Lean Business Intelligence: Achieve Better, Faster, Cheaper Business Intellig...
Kurt Solarte
 
LandsEnd TechEd2016 (1)
LandsEnd TechEd2016 (1)LandsEnd TechEd2016 (1)
LandsEnd TechEd2016 (1)Lisa Lawver
 
Extreme Makeover OnBase Edition
Extreme Makeover OnBase EditionExtreme Makeover OnBase Edition
Extreme Makeover OnBase Edition
DataBank, A KYOCERA Group Company
 
Planning For Catastrophe with IBM WAS and IBM BPM
Planning For Catastrophe with IBM WAS and IBM BPMPlanning For Catastrophe with IBM WAS and IBM BPM
Planning For Catastrophe with IBM WAS and IBM BPMWASdev Community
 
Backing Up and Recovery
Backing Up and RecoveryBacking Up and Recovery
Backing Up and Recovery
Maham Huda
 
2016 09-dev opsjourney-devopsdaysoslo
2016 09-dev opsjourney-devopsdaysoslo2016 09-dev opsjourney-devopsdaysoslo
2016 09-dev opsjourney-devopsdaysoslo
Jon Arild Tørresdal
 
ICON UK 2013 - Only a Domino Server can take this much..
ICON UK 2013 - Only a Domino Server can take this much..ICON UK 2013 - Only a Domino Server can take this much..
ICON UK 2013 - Only a Domino Server can take this much..
Belsoft
 
ICON UK - Only an IBM Domino Server can take this much beating and still run
ICON UK - Only an IBM Domino Server can take this much beating and still runICON UK - Only an IBM Domino Server can take this much beating and still run
ICON UK - Only an IBM Domino Server can take this much beating and still run
Andreas Ponte
 
Oracle R12 Upgrade Lessons Learned
Oracle R12 Upgrade Lessons LearnedOracle R12 Upgrade Lessons Learned
Oracle R12 Upgrade Lessons Learned
bpellot
 
Adm07 The Health Check Extravaganza for IBM Social and Collaboration Environm...
Adm07 The Health Check Extravaganza for IBM Social and Collaboration Environm...Adm07 The Health Check Extravaganza for IBM Social and Collaboration Environm...
Adm07 The Health Check Extravaganza for IBM Social and Collaboration Environm...
Kim Greene
 
The 5S Approach to Performance Tuning by Chuck Ezell
The 5S Approach to Performance Tuning by Chuck EzellThe 5S Approach to Performance Tuning by Chuck Ezell
The 5S Approach to Performance Tuning by Chuck Ezell
Datavail
 
What is Database Backup? The 3 Important Recovery Techniques from transaction...
What is Database Backup? The 3 Important Recovery Techniques from transaction...What is Database Backup? The 3 Important Recovery Techniques from transaction...
What is Database Backup? The 3 Important Recovery Techniques from transaction...
Raj vardhan
 
SQLBits XIV - The Big Backup Theory
SQLBits XIV - The Big Backup TheorySQLBits XIV - The Big Backup Theory
SQLBits XIV - The Big Backup Theory
Richard Douglas
 
Sql server logshipping
Sql server logshippingSql server logshipping
Sql server logshipping
Zeba Ansari
 
How to Stabilise and Improve an SAP BusinessObjects BI 4.2 Enterprise Shared ...
How to Stabilise and Improve an SAP BusinessObjects BI 4.2 Enterprise Shared ...How to Stabilise and Improve an SAP BusinessObjects BI 4.2 Enterprise Shared ...
How to Stabilise and Improve an SAP BusinessObjects BI 4.2 Enterprise Shared ...
Nicolas Henry
 
Best Practices for Becoming an Exceptional Postgres DBA
Best Practices for Becoming an Exceptional Postgres DBA Best Practices for Becoming an Exceptional Postgres DBA
Best Practices for Becoming an Exceptional Postgres DBA
EDB
 

Similar to In the Beginning, There Was the Log - Webinar with Martin Hubel (20)

Topic 4 database recovery
Topic 4 database recoveryTopic 4 database recovery
Topic 4 database recovery
 
Why retail companies can't afford database downtime
Why retail companies can't afford database downtimeWhy retail companies can't afford database downtime
Why retail companies can't afford database downtime
 
Sql server tips from the field
Sql server tips from the fieldSql server tips from the field
Sql server tips from the field
 
Presentation maximizing database performance performance tuning with db time
Presentation    maximizing database performance performance tuning with db timePresentation    maximizing database performance performance tuning with db time
Presentation maximizing database performance performance tuning with db time
 
Lean Business Intelligence: Achieve Better, Faster, Cheaper Business Intellig...
Lean Business Intelligence: Achieve Better, Faster, Cheaper Business Intellig...Lean Business Intelligence: Achieve Better, Faster, Cheaper Business Intellig...
Lean Business Intelligence: Achieve Better, Faster, Cheaper Business Intellig...
 
LandsEnd TechEd2016 (1)
LandsEnd TechEd2016 (1)LandsEnd TechEd2016 (1)
LandsEnd TechEd2016 (1)
 
Extreme Makeover OnBase Edition
Extreme Makeover OnBase EditionExtreme Makeover OnBase Edition
Extreme Makeover OnBase Edition
 
Planning For Catastrophe with IBM WAS and IBM BPM
Planning For Catastrophe with IBM WAS and IBM BPMPlanning For Catastrophe with IBM WAS and IBM BPM
Planning For Catastrophe with IBM WAS and IBM BPM
 
Backing Up and Recovery
Backing Up and RecoveryBacking Up and Recovery
Backing Up and Recovery
 
2016 09-dev opsjourney-devopsdaysoslo
2016 09-dev opsjourney-devopsdaysoslo2016 09-dev opsjourney-devopsdaysoslo
2016 09-dev opsjourney-devopsdaysoslo
 
ICON UK 2013 - Only a Domino Server can take this much..
ICON UK 2013 - Only a Domino Server can take this much..ICON UK 2013 - Only a Domino Server can take this much..
ICON UK 2013 - Only a Domino Server can take this much..
 
ICON UK - Only an IBM Domino Server can take this much beating and still run
ICON UK - Only an IBM Domino Server can take this much beating and still runICON UK - Only an IBM Domino Server can take this much beating and still run
ICON UK - Only an IBM Domino Server can take this much beating and still run
 
Oracle R12 Upgrade Lessons Learned
Oracle R12 Upgrade Lessons LearnedOracle R12 Upgrade Lessons Learned
Oracle R12 Upgrade Lessons Learned
 
Adm07 The Health Check Extravaganza for IBM Social and Collaboration Environm...
Adm07 The Health Check Extravaganza for IBM Social and Collaboration Environm...Adm07 The Health Check Extravaganza for IBM Social and Collaboration Environm...
Adm07 The Health Check Extravaganza for IBM Social and Collaboration Environm...
 
The 5S Approach to Performance Tuning by Chuck Ezell
The 5S Approach to Performance Tuning by Chuck EzellThe 5S Approach to Performance Tuning by Chuck Ezell
The 5S Approach to Performance Tuning by Chuck Ezell
 
What is Database Backup? The 3 Important Recovery Techniques from transaction...
What is Database Backup? The 3 Important Recovery Techniques from transaction...What is Database Backup? The 3 Important Recovery Techniques from transaction...
What is Database Backup? The 3 Important Recovery Techniques from transaction...
 
SQLBits XIV - The Big Backup Theory
SQLBits XIV - The Big Backup TheorySQLBits XIV - The Big Backup Theory
SQLBits XIV - The Big Backup Theory
 
Sql server logshipping
Sql server logshippingSql server logshipping
Sql server logshipping
 
How to Stabilise and Improve an SAP BusinessObjects BI 4.2 Enterprise Shared ...
How to Stabilise and Improve an SAP BusinessObjects BI 4.2 Enterprise Shared ...How to Stabilise and Improve an SAP BusinessObjects BI 4.2 Enterprise Shared ...
How to Stabilise and Improve an SAP BusinessObjects BI 4.2 Enterprise Shared ...
 
Best Practices for Becoming an Exceptional Postgres DBA
Best Practices for Becoming an Exceptional Postgres DBA Best Practices for Becoming an Exceptional Postgres DBA
Best Practices for Becoming an Exceptional Postgres DBA
 

More from Embarcadero Technologies

PyTorch for Delphi - Python Data Sciences Libraries.pdf
PyTorch for Delphi - Python Data Sciences Libraries.pdfPyTorch for Delphi - Python Data Sciences Libraries.pdf
PyTorch for Delphi - Python Data Sciences Libraries.pdf
Embarcadero Technologies
 
Android on Windows 11 - A Developer's Perspective (Windows Subsystem For Andr...
Android on Windows 11 - A Developer's Perspective (Windows Subsystem For Andr...Android on Windows 11 - A Developer's Perspective (Windows Subsystem For Andr...
Android on Windows 11 - A Developer's Perspective (Windows Subsystem For Andr...
Embarcadero Technologies
 
Linux GUI Applications on Windows Subsystem for Linux
Linux GUI Applications on Windows Subsystem for LinuxLinux GUI Applications on Windows Subsystem for Linux
Linux GUI Applications on Windows Subsystem for Linux
Embarcadero Technologies
 
Python on Android with Delphi FMX - The Cross Platform GUI Framework
Python on Android with Delphi FMX - The Cross Platform GUI Framework Python on Android with Delphi FMX - The Cross Platform GUI Framework
Python on Android with Delphi FMX - The Cross Platform GUI Framework
Embarcadero Technologies
 
Introduction to Python GUI development with Delphi for Python - Part 1: Del...
Introduction to Python GUI development with Delphi for Python - Part 1:   Del...Introduction to Python GUI development with Delphi for Python - Part 1:   Del...
Introduction to Python GUI development with Delphi for Python - Part 1: Del...
Embarcadero Technologies
 
FMXLinux Introduction - Delphi's FireMonkey for Linux
FMXLinux Introduction - Delphi's FireMonkey for LinuxFMXLinux Introduction - Delphi's FireMonkey for Linux
FMXLinux Introduction - Delphi's FireMonkey for Linux
Embarcadero Technologies
 
Python for Delphi Developers - Part 2
Python for Delphi Developers - Part 2Python for Delphi Developers - Part 2
Python for Delphi Developers - Part 2
Embarcadero Technologies
 
Python for Delphi Developers - Part 1 Introduction
Python for Delphi Developers - Part 1 IntroductionPython for Delphi Developers - Part 1 Introduction
Python for Delphi Developers - Part 1 Introduction
Embarcadero Technologies
 
RAD Industrial Automation, Labs, and Instrumentation
RAD Industrial Automation, Labs, and InstrumentationRAD Industrial Automation, Labs, and Instrumentation
RAD Industrial Automation, Labs, and Instrumentation
Embarcadero Technologies
 
Embeddable Databases for Mobile Apps: Stress-Free Solutions with InterBase
Embeddable Databases for Mobile Apps: Stress-Free Solutions with InterBaseEmbeddable Databases for Mobile Apps: Stress-Free Solutions with InterBase
Embeddable Databases for Mobile Apps: Stress-Free Solutions with InterBase
Embarcadero Technologies
 
Rad Server Industry Template - Connected Nurses Station - Setup Document
Rad Server Industry Template - Connected Nurses Station - Setup DocumentRad Server Industry Template - Connected Nurses Station - Setup Document
Rad Server Industry Template - Connected Nurses Station - Setup Document
Embarcadero Technologies
 
TMS Google Mapping Components
TMS Google Mapping ComponentsTMS Google Mapping Components
TMS Google Mapping Components
Embarcadero Technologies
 
Move Desktop Apps to the Cloud - RollApp & Embarcadero webinar
Move Desktop Apps to the Cloud - RollApp & Embarcadero webinarMove Desktop Apps to the Cloud - RollApp & Embarcadero webinar
Move Desktop Apps to the Cloud - RollApp & Embarcadero webinar
Embarcadero Technologies
 
Useful C++ Features You Should be Using
Useful C++ Features You Should be UsingUseful C++ Features You Should be Using
Useful C++ Features You Should be Using
Embarcadero Technologies
 
Getting Started Building Mobile Applications for iOS and Android
Getting Started Building Mobile Applications for iOS and AndroidGetting Started Building Mobile Applications for iOS and Android
Getting Started Building Mobile Applications for iOS and Android
Embarcadero Technologies
 
Embarcadero RAD server Launch Webinar
Embarcadero RAD server Launch WebinarEmbarcadero RAD server Launch Webinar
Embarcadero RAD server Launch Webinar
Embarcadero Technologies
 
ER/Studio 2016: Build a Business-Driven Data Architecture
ER/Studio 2016: Build a Business-Driven Data ArchitectureER/Studio 2016: Build a Business-Driven Data Architecture
ER/Studio 2016: Build a Business-Driven Data Architecture
Embarcadero Technologies
 
The Secrets of SQL Server: Database Worst Practices
The Secrets of SQL Server: Database Worst PracticesThe Secrets of SQL Server: Database Worst Practices
The Secrets of SQL Server: Database Worst Practices
Embarcadero Technologies
 
Driving Business Value Through Agile Data Assets
Driving Business Value Through Agile Data AssetsDriving Business Value Through Agile Data Assets
Driving Business Value Through Agile Data Assets
Embarcadero Technologies
 
Troubleshooting Plan Changes with Query Store in SQL Server 2016
Troubleshooting Plan Changes with Query Store in SQL Server 2016Troubleshooting Plan Changes with Query Store in SQL Server 2016
Troubleshooting Plan Changes with Query Store in SQL Server 2016
Embarcadero Technologies
 

More from Embarcadero Technologies (20)

PyTorch for Delphi - Python Data Sciences Libraries.pdf
PyTorch for Delphi - Python Data Sciences Libraries.pdfPyTorch for Delphi - Python Data Sciences Libraries.pdf
PyTorch for Delphi - Python Data Sciences Libraries.pdf
 
Android on Windows 11 - A Developer's Perspective (Windows Subsystem For Andr...
Android on Windows 11 - A Developer's Perspective (Windows Subsystem For Andr...Android on Windows 11 - A Developer's Perspective (Windows Subsystem For Andr...
Android on Windows 11 - A Developer's Perspective (Windows Subsystem For Andr...
 
Linux GUI Applications on Windows Subsystem for Linux
Linux GUI Applications on Windows Subsystem for LinuxLinux GUI Applications on Windows Subsystem for Linux
Linux GUI Applications on Windows Subsystem for Linux
 
Python on Android with Delphi FMX - The Cross Platform GUI Framework
Python on Android with Delphi FMX - The Cross Platform GUI Framework Python on Android with Delphi FMX - The Cross Platform GUI Framework
Python on Android with Delphi FMX - The Cross Platform GUI Framework
 
Introduction to Python GUI development with Delphi for Python - Part 1: Del...
Introduction to Python GUI development with Delphi for Python - Part 1:   Del...Introduction to Python GUI development with Delphi for Python - Part 1:   Del...
Introduction to Python GUI development with Delphi for Python - Part 1: Del...
 
FMXLinux Introduction - Delphi's FireMonkey for Linux
FMXLinux Introduction - Delphi's FireMonkey for LinuxFMXLinux Introduction - Delphi's FireMonkey for Linux
FMXLinux Introduction - Delphi's FireMonkey for Linux
 
Python for Delphi Developers - Part 2
Python for Delphi Developers - Part 2Python for Delphi Developers - Part 2
Python for Delphi Developers - Part 2
 
Python for Delphi Developers - Part 1 Introduction
Python for Delphi Developers - Part 1 IntroductionPython for Delphi Developers - Part 1 Introduction
Python for Delphi Developers - Part 1 Introduction
 
RAD Industrial Automation, Labs, and Instrumentation
RAD Industrial Automation, Labs, and InstrumentationRAD Industrial Automation, Labs, and Instrumentation
RAD Industrial Automation, Labs, and Instrumentation
 
Embeddable Databases for Mobile Apps: Stress-Free Solutions with InterBase
Embeddable Databases for Mobile Apps: Stress-Free Solutions with InterBaseEmbeddable Databases for Mobile Apps: Stress-Free Solutions with InterBase
Embeddable Databases for Mobile Apps: Stress-Free Solutions with InterBase
 
Rad Server Industry Template - Connected Nurses Station - Setup Document
Rad Server Industry Template - Connected Nurses Station - Setup DocumentRad Server Industry Template - Connected Nurses Station - Setup Document
Rad Server Industry Template - Connected Nurses Station - Setup Document
 
TMS Google Mapping Components
TMS Google Mapping ComponentsTMS Google Mapping Components
TMS Google Mapping Components
 
Move Desktop Apps to the Cloud - RollApp & Embarcadero webinar
Move Desktop Apps to the Cloud - RollApp & Embarcadero webinarMove Desktop Apps to the Cloud - RollApp & Embarcadero webinar
Move Desktop Apps to the Cloud - RollApp & Embarcadero webinar
 
Useful C++ Features You Should be Using
Useful C++ Features You Should be UsingUseful C++ Features You Should be Using
Useful C++ Features You Should be Using
 
Getting Started Building Mobile Applications for iOS and Android
Getting Started Building Mobile Applications for iOS and AndroidGetting Started Building Mobile Applications for iOS and Android
Getting Started Building Mobile Applications for iOS and Android
 
Embarcadero RAD server Launch Webinar
Embarcadero RAD server Launch WebinarEmbarcadero RAD server Launch Webinar
Embarcadero RAD server Launch Webinar
 
ER/Studio 2016: Build a Business-Driven Data Architecture
ER/Studio 2016: Build a Business-Driven Data ArchitectureER/Studio 2016: Build a Business-Driven Data Architecture
ER/Studio 2016: Build a Business-Driven Data Architecture
 
The Secrets of SQL Server: Database Worst Practices
The Secrets of SQL Server: Database Worst PracticesThe Secrets of SQL Server: Database Worst Practices
The Secrets of SQL Server: Database Worst Practices
 
Driving Business Value Through Agile Data Assets
Driving Business Value Through Agile Data AssetsDriving Business Value Through Agile Data Assets
Driving Business Value Through Agile Data Assets
 
Troubleshooting Plan Changes with Query Store in SQL Server 2016
Troubleshooting Plan Changes with Query Store in SQL Server 2016Troubleshooting Plan Changes with Query Store in SQL Server 2016
Troubleshooting Plan Changes with Query Store in SQL Server 2016
 

Recently uploaded

Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
timtebeek1
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Globus
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
Alina Yurenko
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Crescat
 
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket ManagementUtilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Neo4j
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
Hornet Dynamics
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Łukasz Chruściel
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
Neo4j
 

Recently uploaded (20)

Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
 
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket ManagementUtilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
 

In the Beginning, There Was the Log - Webinar with Martin Hubel

  • 1. In the beginning, there was the log Martin Hubel + 1 905-764-7498 martin@mhubel.com 1
  • 2. Agenda 1. The role of the database recovery log 2. How backups fit in 3. Recovery scenarios 4. Planning for recovery 2
  • 3. Disclaimer • Every attempt has been made to be accurate with product information. Trademarks are the property of their respective owners. • I work mainly on DB2, but have used and supported other products. • All DBMS mentioned in today’s webinar are commercial grade, used by hundreds of companies to manage their enterprises. No attempt is made here to compare DBMS products for functionality. Copyright©2014 Martin Hubel Consulting Inc. 3
  • 4. Assumptions • This presentation is about OLTP applications • The need for backups is known • The need for recovery is also understood • Databases are enabled for recovery • BI / DW have different recovery requirements • Data is recovered / rebuilt / reload from another source Copyright©2014 Martin Hubel Consulting Inc. 4
  • 5. The database recovery log • Log contains information necessary to: • Redo completed units of work • Undo incomplete units of work • Rebuild system status • Today’s presentation will deal mainly with units of work (transactions) and their effect on the recovery log Copyright©2014 Martin Hubel Consulting Inc. 5
  • 6. A successful transaction • Single transaction can contain many update actions • All updates must complete • Then a commit makes changes permanent • Successful termination is recorded in the recovery log • Any failure rolls changes back to beginning • The DB is considered consistent before the transaction and after the commit Copyright©2014 Martin Hubel Consulting Inc. 6 •Begin UR •End UR •INS A •UPD B •UPD C •INS A •DEL D •INS E • One Business Transaction
  • 7. Unit of work • Updates performed in the subsystem between two points of consistency • Point of consistency (commit point) is a point where all recoverable data for an application is consistent with other data • Equivalent terms: Synchpoint, Logical Unit of Work or Unit of Recovery (UR) • Some environments require a 2 phase commit Copyright©2014 Martin Hubel Consulting Inc. 7
  • 8. Batch transactions • Batch jobs handle transaction can contain many update actions • Many business transactions are included in a single unit of work • The commit makes changes permanent for all transactions • Any failure rolls changes back to beginning • Many tens, hundreds or even thousands of transactions are processed in a single UR Copyright©2014 Martin Hubel Consulting Inc. 8 •Begin UR •End UR
  • 9. Rollback Copyright©2014 Martin Hubel Consulting Inc. 9 • During rollback, data changes are not removed •The log is read and the changes reversed •The data is returned to its last consistent state (last commit) • Some badly designed applications issue rollback statements following if validation fails •Can be a lot of log activity for nothing •Always complete all validation prior to performing first update •Begin UR • End UR •INS A •UPD B •UPD C •INS E •One Business Transaction •DEL E •UPD C` •UPD B` •DEL A • Failure
  • 10. Performance of new application • A new financial application had a light transaction processing load • Transactions were complex and had a lot of validation and updates to perform • Users regularly had to correct input before the transaction was ready for processing • Performance was poor. Design showed: • After each validation check, the SQL updates to that point were performed • If a further check failed, the updates were reversed via rollback • This problem was found via a high volume of log activity • Much of it for no benefit Copyright©2014 Martin Hubel Consulting Inc. 10
  • 11. Transaction Recovery/Backout • Some DBMS products default to this type of recovery (rollback of incomplete URs only) • Logging (log retain) in these products must be turned on for full recovery Copyright©2014 Martin Hubel Consulting Inc. 11 TIMEOUTWorkRollbackWaitWorkRollbackDEADLOCKWorkWaitContinueabba
  • 12. Log files • “In the beginning, there was the log” • DBMS writes to the active log file • May be dual logs or mirrored by DBMS  May be on RAID devices at hardware level • Logs use buffered I/O  For changes to data • Logs are written synchronously at commit time • In this way, the log is close to being correct if failure occurs • Design I/O system to avoid waits for log writes • DBMS must be able to write changes to the log Copyright©2014 Martin Hubel Consulting Inc. 12
  • 13. Archiving logs • Current log is called the active log • Log files fill up and switch automatically to new files • Called archive logs • Archive files may remain in same directory for some period • May be automatically offloaded to some facility like TSM • Problems can occur in the archival process • If log file system fills, the DBMS stops! Active log Copyright©2014 Martin Hubel Consulting Inc. 13 Other storage Archive logs
  • 14. Batch, long running, and large transactions • Thousands (or more) updates can be performed, e.g. by: • A batch job • A single SQL statement • Long-running transactions cause problems: • Many locks taken during the updates • Many log records and log files written before a commit • Commit frequency must be managed • Rollback is also problematic • Requires log to be read, and to write the opposite action to reverse the change Copyright©2014 Martin Hubel Consulting Inc. 14
  • 15. “The audit table is too big” • The new DBA/Linux sysadminnotices the size of the audit table is 30 million rows • Issues a DELETE FROM AUDIT_TABLE WHERE DATE < ‘60 days ago’ • 10M rows will be deleted • The effect: • All users locked out of the application • No estimate of completion time Copyright©2014 Martin Hubel Consulting Inc. 15
  • 16. “The audit table is too big” -2 • After many complaints and about 2 hours, the DBA cancels the Delete • Rollback starts: • Rollback has to read the log to finds the updates and write the opposite • As such, rollback typically takes twice as long • The users continue to be unhappy and are now more vocal Copyright©2014 Martin Hubel Consulting Inc. 16
  • 17. “The audit table is too big” -3 • The DBA, using his sysadminkills, starts killing DB2 processes • Kill -9 has immediate effects to stop DB2 and the rollback • But now, the rollback is incomplete • At restart, DB2 must remove the effect of the incomplete rollback and start the full rollback afterwards • Estimated full recovery time is 24 hours • Some behind-the-scenes involvement reduces the outage to 8 hours on a 24x7 system • CIO asks: “What should we do with the DBA?” Copyright©2014 Martin Hubel Consulting Inc. 17
  • 18. ... And Now • A word from Embarcadero... Copyright©2014 Martin Hubel Consulting Inc. 18
  • 19. Can the log be kept forever? • Hypothetically yes, the answer is no • Not practical • Recovery would take too long for one thing • Log retention would also be impractical • Backups taken within the DBMS are recorded and provide starting points for recovery • Once all databases or tables (tablespaces) have been copied, the oldest logs can be deleted Copyright©2014 Martin Hubel Consulting Inc. 19
  • 20. Backup copies • Backups provide a starting point for the recovery process • Need at least one full backup • Two generations are safer • DBMS options for backups: • Database • Table or tablespace • Incremental or delta • Online or offline • Once all databases have a valid backup, the older log files can be deleted • Set generous retention periods Copyright©2014 Martin Hubel Consulting Inc. 20
  • 21. Gaps in the log • A big recovery consideration is to ensure there are no gaps within the log range • A gap indicates that some log records are missing, and DBMS is unable to determine what those records might have contained • As such, forward log processing stops • It is advantageous to turn logging off for certain situations or operations • E.g, large loads Copyright©2014 Martin Hubel Consulting Inc. 21
  • 22. Implications of turning off logging • Logging is not free • Significant performance impact for certain operations such as batch updates or load operations • Not logged operations affect the ability to forward recover objects using the log • DBMS does not know what or how data was changed • Therefore, DBMS requires a backup following not logged operations to re-establish a recovery point Copyright©2014 Martin Hubel Consulting Inc. 22
  • 23. Production mortgage system • DBA group was responsible for backups • Forgot to take regular backups • Last backup was January 26 • System group managed the logs • Set a “reasonable” retention period of 60 days • On April 1, they deleted the logs older than Feb 1 • On April 8, a hardware problem occurred • Production was recovered to January 26 Copyright©2014 Martin Hubel Consulting Inc. 23
  • 24. Application recovery scenarios • Transaction recovery/backout • Application backout • Point-in-time recovery • Checkpoint restart • Data synchronization • Data inconsistencies • Out of space • Media failure • Accidentally deleted data Copyright©2014 Martin Hubel Consulting Inc. 24
  • 25. Recovery guidelines • Test your recovery procedures • Make a backup copy prior to recovery -things can get worse • Make a copy after recovery if you think it might happen again • Make two copies using the DBMS backup utility • Periodically run integrity checking utilities to ensure recoverability Copyright©2014 Martin Hubel Consulting Inc. 25
  • 26. Common user errors -1 • Delete or write over archive log or image copy • Without necessary backups, recovery may be impossible • Possible storage management issue • Misuse of disk level dump/restore • Valid for disaster planning, but dump everything –  Logs  DBMS system objects  User data Copyright©2014 Martin Hubel Consulting Inc. 26
  • 27. Common user errors -2 • Common Programming Errors • Logical unit of work identification • Commit/CHKP placed incorrectly • Too many commits • Coding methods may vary throughout application, e.g.  Use of separate read and write routines  Checking of SQL return code codes Copyright©2014 Martin Hubel Consulting Inc. 27
  • 28. Application Backout • Required when multiple jobs running concurrently against same database • Work was committed against database • Backoutmay not be possible or practical in all cases Copyright©2014 Martin Hubel Consulting Inc. 28 Startof Job TimeNormalJob End Job 1Job 2Job 3Job 4Backout, repair, and rerun
  • 29. SQL change in production • “Oops, we thought that was the test system” • An SQL error changed all addresses to the same value • 780,000 rows in table • “Martin, please change them back” • No, you can’t restore from a backup  New customers have signed up  Old customers may have updated their information Copyright©2014 Martin Hubel Consulting Inc. 29
  • 30. SQL change in production • While this was pressing, it was not a “show stopper” • Fortunately, I had unloaded this table for some reason • This became a source for the correct addresses • Alternatives might have been a redirected restore / transportable tablespace • We were able to load the backup table • Found SQL on internet and adapted it • Ultimately updated 362,000 addresses Copyright©2014 Martin Hubel Consulting Inc. 30
  • 31. Summary • All update activity is recorded in the DBMS log • Log performance is part of overall DBMS performance • Backups and logs are both used for recovery • Plan and test recovery scenarios prior to needing them Copyright©2014 Martin Hubel Consulting Inc. 31
  • 32. Martin Hubel Martin Hubel Consulting Inc. martin@mhubel.com 905-764-7498 In the beginning, there was the log 32