SlideShare una empresa de Scribd logo
1 de 34
Anti-corruption How to prevent Firebird database corruption Alexey Kovyazin, IBSurgeon, ak@ib-aid.com
IBSurgeon – 8 years! Products IBFirstAID/FBFirstAID, etc FBScanner FBDataGuard Clients Carl Zeiss Meditec, USA Vneshtorgbank, Russia Wells FargoBank, USA Watermark Software, UK Bas-X, Australia Victoria University, New Zealand Kingsway Management, UK Team Dmitry Kuzmenko Alexey Kovyazin Sergey Nikitin Oleg Mateveev& team Consultants Dmitry Yemanov, VladKhorsun, Alex Peshkoff Partners IBPhoenix
Alexey Kovyazin Hosting & cloud partners Yes, it’s me!  http://ru.linkedin.com/in/kovyazin 2006 2008 2009 2010 In 2007 we sold 3mln of Delphi to all Russian schools
Agenda Why bother? Why corruption happens? Reasons Symptoms What things are to monitor to recognize problem? Problems with server  Problems with environment Problems with database Maintenance improvements to prevent corruptions. Backups Why we created FBDataGuad?
Why bother? Firebird databases become bigger and bigger every year Information inside Firebird can costs $XXXXXX Outage (corruption, backup/restore breaks) can costs $XXXXX too Real-world examples Bas-X, Australia – Firebird 2.x, 250Gb, no BLOBs, 250 users Watermark Software, UK – Firebird 2.x, up to 400Gb, with BLOBs  Profitmed, Russia, medical distribution, Firebird 1.5, 65Gb, 250 users 1 Terabyte Firebird 2.1 database http://www.ib-aid.com/articles/item104 3.8Billions of records in the biggest table
Corruption reasons & symptons Reasons Misadministration Hardware failures Bugs The actual reason often remains undiscovered Symptoms Repeatable Trackable Complimentary We can prevent corruption if see its symptoms.
Sample Firebird environment Server Database Firebird Copy of backups Backups
What to monitor at Firebird instance level Is Server online? General parameters How much RAM? Mb # Temp files? Records to analyze 6 levels Logs Size of logs Is it recommended?  Bugs, issues Server version
Firebird instance key parameters Server availability Consumed RAM  Temp files size  Temp files quantity Records in logs Logs’ size Server version related issues Need to watch for 7 key parameters which can indicate possible or actual problems
What to monitor-1 General database checks Database availability -> Outages, firewalls, stability Log records related with database in firebird.log -> early symptoms Check metadata – validate all metadata -> early showings Transactions Transaction markers monitoring (garbage problems) Limit (2 billions between backup/restore) Users Min/max/avg users –> peaks problems, design of application
What to monitor-2 Database files Single volume and multi-volume -> Volumes in bin Paths – where to stored (not at the same drive with temp files and backups!) Sizes and growth limits -> Warnings about growth Delta-files (nbackup) Life-time and sizes -> Huge/aged delta problems Backup files Existence, sizes and growth limits -> Backup could kill database
What to monitor-3 Number of formats per table No more than 255 -> corruption Less formats in production -> performance problem Non-activated and deactivated indices Deactivated – explicitly deactivated (why deactivated?) Non-activated – indicates problems during restore
What to monitor-4 Periodical statistics (gstat) -> deep look into database Firebird server version Examples - problems with nbackup Latest patches are recommended Firebird fbclient.dll version If fbclient.dll <> fbserver - > Problems (disconnects, 10054, errors) Firebird installation size Default database place is %Firebird%in Firebird logs size and paths Big logs quickly exhaust space -> corruption
Maintenance-1 Backups Revolver (days, week, month copies) backups Backup depth Checking restore (need to check results) Growth prognosis (if not enough space, backup should be canceled) Control backup time (too long backup indicates problems) Today 5..7 Yesterday Weekly
Big database requires individual maintenance plan  Maintenance plan depends on size of database and work mode (8x5, 24x7) Backups scheme is not simple Perform test restores separately To be checked Errors – in firebird.log and run error checking quries on live database Metadata – check integrity  Metadata limits Data & BLOBs – walk through data, check segmentation Indices – check indices health Transactions – any gaps, garbage growth, other problems
Everyday minimal (!) maintenance plan for big database
Example of backup plan for big Firebird database Maintenance server Main server Firebird database Nbackup copy Checking restore Gbak-b And each step should be confirmed and reported.
Maintenance-2 Indices Recalculate indices statistics -> Performance Selected or excluded Check index status – active/in-active/non-activated -> Problems, corruptions Check physical index health Early showings of corruptions
Maintenance-3 Validate database with gfix Don’t forget to shutdown database Analysis (includingfirebird.log) Metadata validation Check important system tables Firebird.log maintenance When log becomes very big, copy it to backup log files And some more things….
And this is not enough! Business wants to have warranty  - even if hardware fails data should be recovered!
A big job Implement scripts Check them in the test environment Explore errors messages and codes of Firebird We spent 6 years getting the necessary information…
That’s why we created Fbdataguard
FBDataGuarddoes all above things… Watches database files, volumes, deltas, performs and checks backups in the right way Verifies metadata, data and indices Watches for errors, limits and wrong versions Sends alerts and recommendations
Example with TEMP FBDataGuard found the temp files size = N Not enough space M – N<X Not enough space – administrator will have alert and recommendation to increase TEMP Free space at TEMP- locations= M
Example alert Too big temporary files  Total size of all temporary files 3 Gb is more than recommended: 500 Mb  Firebird creates temporary files for some SQL queries (PLAN SORT). Too big size of temporary files can indicate performance problems. This is not a strictly defined number, so this threshold depends on particular database and application.
Index problem example non-activatedindices usually indicates corruption (missed Foreign Keys) FBDataGuard found non-activated index after restore Administrator will get alert and recommendation to check indices Possible perfomance problem prevented!
Example of backup problem resolution FBDataGuard found the backup size =M Not enough space M>=N Backup cancelled, database status is set toCritical, administrator gotalert FBDataGuard found free space at backups’ disk = N Corruption of backup was prevented!
Example of backup problem alert Job backup@[ server-0000 / db-0000 ] malfunction Unexpected job backup@[ server-0000 / db-0000 ] error: There is not enough space on the disk
Example of good backup notification
Hardware and UNDELETE failures HDD corruption Flash-drive corruption UNDELETE problem
And even more – protects from hardware failures Metadata repository FBDataGuard Extractor extracts data from corrupted database and inserts to the new New DB Tables data BLOBs
Firebird DataGuard Watch for 26 important database and server parameters Alerts for potential and real problem by email Proper automation of database maintenance Windows, Linux, MacOS, Firebird 1.5-2.1 (not 2.5 yet) Special licensing for ISV (Independent Software Vendors) Firebird developers
Get FBDataGuard 1 year Free 1 year license for all attendees Send request to dataguard@ib-aid.com
Thank you Questions?  dataguard@ib-aid.com

Más contenido relacionado

La actualidad más candente

45 ways to speed up firebird database
45 ways to speed up firebird database45 ways to speed up firebird database
45 ways to speed up firebird databaseFabio Codebue
 
Migration from Firebird 1.5 to Firebird 2.5
Migration from Firebird 1.5 to Firebird 2.5Migration from Firebird 1.5 to Firebird 2.5
Migration from Firebird 1.5 to Firebird 2.5Mind The Firebird
 
Understanding the lock manager internals with the fb lock print utility
Understanding the lock manager internals with the fb lock print utilityUnderstanding the lock manager internals with the fb lock print utility
Understanding the lock manager internals with the fb lock print utilityMind The Firebird
 
Database Performance Tuning| Rahul Gulab Singh
Database Performance Tuning| Rahul Gulab SinghDatabase Performance Tuning| Rahul Gulab Singh
Database Performance Tuning| Rahul Gulab SinghRahul Singh
 
Technical Modifications to Compress Period End Close - R12.1.3
Technical Modifications to Compress Period End Close - R12.1.3Technical Modifications to Compress Period End Close - R12.1.3
Technical Modifications to Compress Period End Close - R12.1.3Joshua Johnson, MIS
 
database backup and recovery
database backup and recoverydatabase backup and recovery
database backup and recoverysdrhr
 
Basic oracle-database-administration
Basic oracle-database-administrationBasic oracle-database-administration
Basic oracle-database-administrationsreehari orienit
 
Oracle Database Backups and Disaster Recovery @ Autodesk
Oracle Database Backups and Disaster Recovery @ AutodeskOracle Database Backups and Disaster Recovery @ Autodesk
Oracle Database Backups and Disaster Recovery @ AutodeskAlan Williams
 
Presentation recovery manager (rman) configuration and performance tuning ...
Presentation    recovery manager (rman) configuration and performance tuning ...Presentation    recovery manager (rman) configuration and performance tuning ...
Presentation recovery manager (rman) configuration and performance tuning ...xKinAnx
 
Oracle TimesTen, In-Memory Database
Oracle TimesTen, In-Memory DatabaseOracle TimesTen, In-Memory Database
Oracle TimesTen, In-Memory DatabaseMayuree Srikulwong
 
Oracle OCP Backup Exam
Oracle OCP Backup ExamOracle OCP Backup Exam
Oracle OCP Backup ExamInprise Group
 
Oracle ocp backup exam
Oracle ocp backup examOracle ocp backup exam
Oracle ocp backup examsriram raj
 

La actualidad más candente (14)

45 ways to speed up firebird database
45 ways to speed up firebird database45 ways to speed up firebird database
45 ways to speed up firebird database
 
Migration from Firebird 1.5 to Firebird 2.5
Migration from Firebird 1.5 to Firebird 2.5Migration from Firebird 1.5 to Firebird 2.5
Migration from Firebird 1.5 to Firebird 2.5
 
Understanding the lock manager internals with the fb lock print utility
Understanding the lock manager internals with the fb lock print utilityUnderstanding the lock manager internals with the fb lock print utility
Understanding the lock manager internals with the fb lock print utility
 
Backup And Recovery
Backup And RecoveryBackup And Recovery
Backup And Recovery
 
Database Performance Tuning| Rahul Gulab Singh
Database Performance Tuning| Rahul Gulab SinghDatabase Performance Tuning| Rahul Gulab Singh
Database Performance Tuning| Rahul Gulab Singh
 
Technical Modifications to Compress Period End Close - R12.1.3
Technical Modifications to Compress Period End Close - R12.1.3Technical Modifications to Compress Period End Close - R12.1.3
Technical Modifications to Compress Period End Close - R12.1.3
 
database backup and recovery
database backup and recoverydatabase backup and recovery
database backup and recovery
 
Basic oracle-database-administration
Basic oracle-database-administrationBasic oracle-database-administration
Basic oracle-database-administration
 
Oracle Database Backups and Disaster Recovery @ Autodesk
Oracle Database Backups and Disaster Recovery @ AutodeskOracle Database Backups and Disaster Recovery @ Autodesk
Oracle Database Backups and Disaster Recovery @ Autodesk
 
Presentation recovery manager (rman) configuration and performance tuning ...
Presentation    recovery manager (rman) configuration and performance tuning ...Presentation    recovery manager (rman) configuration and performance tuning ...
Presentation recovery manager (rman) configuration and performance tuning ...
 
Oracle TimesTen, In-Memory Database
Oracle TimesTen, In-Memory DatabaseOracle TimesTen, In-Memory Database
Oracle TimesTen, In-Memory Database
 
Oracle OCP Backup Exam
Oracle OCP Backup ExamOracle OCP Backup Exam
Oracle OCP Backup Exam
 
ORACLE ARCHITECTURE
ORACLE ARCHITECTUREORACLE ARCHITECTURE
ORACLE ARCHITECTURE
 
Oracle ocp backup exam
Oracle ocp backup examOracle ocp backup exam
Oracle ocp backup exam
 

Destacado

Firebird DataGuard - Еще раз об уверенности в завтрашнем дне
Firebird DataGuard -  Еще раз об уверенности в завтрашнем днеFirebird DataGuard -  Еще раз об уверенности в завтрашнем дне
Firebird DataGuard - Еще раз об уверенности в завтрашнем днеAlexey Kovyazin
 
Firebird 2.1 What's New by Vladislav Khorsun (English)
Firebird 2.1 What's New by Vladislav Khorsun (English)Firebird 2.1 What's New by Vladislav Khorsun (English)
Firebird 2.1 What's New by Vladislav Khorsun (English)Alexey Kovyazin
 
Dr. bhattachan's presentation federalism-right to self-determination-ethnic a...
Dr. bhattachan's presentation federalism-right to self-determination-ethnic a...Dr. bhattachan's presentation federalism-right to self-determination-ethnic a...
Dr. bhattachan's presentation federalism-right to self-determination-ethnic a...edmnepal
 
Seminar on women’s involvement in substance abuse and drugs smuggling
Seminar on women’s involvement in substance abuse and drugs smugglingSeminar on women’s involvement in substance abuse and drugs smuggling
Seminar on women’s involvement in substance abuse and drugs smugglingManisha Hamal
 
Tvet as a method of facilitating poverty alleviation in third world nations w...
Tvet as a method of facilitating poverty alleviation in third world nations w...Tvet as a method of facilitating poverty alleviation in third world nations w...
Tvet as a method of facilitating poverty alleviation in third world nations w...Sagir Iliyasu
 
Impact of k 12 Higher Education Summit
Impact of k 12 Higher Education SummitImpact of k 12 Higher Education Summit
Impact of k 12 Higher Education SummitJonathan Sadueste Ng
 
Economic terrorism in pakistan
Economic terrorism in pakistanEconomic terrorism in pakistan
Economic terrorism in pakistanSyed Mohammad Raza
 
Family disorganization
Family disorganizationFamily disorganization
Family disorganizationWRozieMaharzan
 
Role of microfinance in poverty allevation
Role of microfinance in poverty allevationRole of microfinance in poverty allevation
Role of microfinance in poverty allevationDinesh Adhikari
 
Graft and corruption
Graft and corruptionGraft and corruption
Graft and corruptionJoash Medina
 

Destacado (12)

Firebird DataGuard - Еще раз об уверенности в завтрашнем дне
Firebird DataGuard -  Еще раз об уверенности в завтрашнем днеFirebird DataGuard -  Еще раз об уверенности в завтрашнем дне
Firebird DataGuard - Еще раз об уверенности в завтрашнем дне
 
Firebird 2.1 What's New by Vladislav Khorsun (English)
Firebird 2.1 What's New by Vladislav Khorsun (English)Firebird 2.1 What's New by Vladislav Khorsun (English)
Firebird 2.1 What's New by Vladislav Khorsun (English)
 
Dr. bhattachan's presentation federalism-right to self-determination-ethnic a...
Dr. bhattachan's presentation federalism-right to self-determination-ethnic a...Dr. bhattachan's presentation federalism-right to self-determination-ethnic a...
Dr. bhattachan's presentation federalism-right to self-determination-ethnic a...
 
SuperServer in Firebird 3
SuperServer in Firebird 3SuperServer in Firebird 3
SuperServer in Firebird 3
 
Seminar on women’s involvement in substance abuse and drugs smuggling
Seminar on women’s involvement in substance abuse and drugs smugglingSeminar on women’s involvement in substance abuse and drugs smuggling
Seminar on women’s involvement in substance abuse and drugs smuggling
 
Tvet as a method of facilitating poverty alleviation in third world nations w...
Tvet as a method of facilitating poverty alleviation in third world nations w...Tvet as a method of facilitating poverty alleviation in third world nations w...
Tvet as a method of facilitating poverty alleviation in third world nations w...
 
Impact of k 12 Higher Education Summit
Impact of k 12 Higher Education SummitImpact of k 12 Higher Education Summit
Impact of k 12 Higher Education Summit
 
Economic terrorism in pakistan
Economic terrorism in pakistanEconomic terrorism in pakistan
Economic terrorism in pakistan
 
Family disorganization
Family disorganizationFamily disorganization
Family disorganization
 
Role of microfinance in poverty allevation
Role of microfinance in poverty allevationRole of microfinance in poverty allevation
Role of microfinance in poverty allevation
 
Graft and corruption
Graft and corruptionGraft and corruption
Graft and corruption
 
P resentation in health
P resentation in healthP resentation in health
P resentation in health
 

Similar a Firebird Anti-Corruption Approach

Firebird database recovery and protection for enterprises and ISV
Firebird database recovery and protection for enterprises and ISVFirebird database recovery and protection for enterprises and ISV
Firebird database recovery and protection for enterprises and ISVMind The Firebird
 
Failure analysis buisness impact-backup-archive
Failure analysis buisness impact-backup-archiveFailure analysis buisness impact-backup-archive
Failure analysis buisness impact-backup-archiveDavin Abraham
 
Introduction to Database Log Analysis
Introduction to Database Log AnalysisIntroduction to Database Log Analysis
Introduction to Database Log AnalysisAnton Chuvakin
 
Maintaining and Caring for your EPM Environment at Medinah 2013
Maintaining and Caring for your EPM Environment at Medinah 2013Maintaining and Caring for your EPM Environment at Medinah 2013
Maintaining and Caring for your EPM Environment at Medinah 2013Emtec Inc.
 
DevOps, Databases and The Phoenix Project UGF4042 from OOW14
DevOps, Databases and The Phoenix Project UGF4042 from OOW14DevOps, Databases and The Phoenix Project UGF4042 from OOW14
DevOps, Databases and The Phoenix Project UGF4042 from OOW14Kyle Hailey
 
Analytics over Terabytes of Data at Twitter
Analytics over Terabytes of Data at TwitterAnalytics over Terabytes of Data at Twitter
Analytics over Terabytes of Data at TwitterImply
 
Best Practices for Building Robust Data Platform with Apache Spark and Delta
Best Practices for Building Robust Data Platform with Apache Spark and DeltaBest Practices for Building Robust Data Platform with Apache Spark and Delta
Best Practices for Building Robust Data Platform with Apache Spark and DeltaDatabricks
 
Transforming Backup and Recovery in VMware environments with EMC Avamar and D...
Transforming Backup and Recovery in VMware environments with EMC Avamar and D...Transforming Backup and Recovery in VMware environments with EMC Avamar and D...
Transforming Backup and Recovery in VMware environments with EMC Avamar and D...CTI Group
 
Health Check Your DB2 UDB For Z/OS System
Health Check Your DB2 UDB For Z/OS SystemHealth Check Your DB2 UDB For Z/OS System
Health Check Your DB2 UDB For Z/OS Systemsjreese
 
Large Scale SQL Considerations for SharePoint Deployments
Large Scale SQL Considerations for SharePoint DeploymentsLarge Scale SQL Considerations for SharePoint Deployments
Large Scale SQL Considerations for SharePoint DeploymentsJoel Oleson
 
Db As Behaving Badly... Worst Practices For Database Administrators Rod Colledge
Db As Behaving Badly... Worst Practices For Database Administrators Rod ColledgeDb As Behaving Badly... Worst Practices For Database Administrators Rod Colledge
Db As Behaving Badly... Worst Practices For Database Administrators Rod Colledgesqlserver.co.il
 
Storage, Virtual, and Server Profiler Training
Storage, Virtual, and Server Profiler TrainingStorage, Virtual, and Server Profiler Training
Storage, Virtual, and Server Profiler TrainingSolarWinds
 
Best Practices for a Complete Postgres Enterprise Architecture Setup
Best Practices for a Complete Postgres Enterprise Architecture SetupBest Practices for a Complete Postgres Enterprise Architecture Setup
Best Practices for a Complete Postgres Enterprise Architecture SetupEDB
 
Voldemort & Hadoop @ Linkedin, Hadoop User Group Jan 2010
Voldemort & Hadoop @ Linkedin, Hadoop User Group Jan 2010Voldemort & Hadoop @ Linkedin, Hadoop User Group Jan 2010
Voldemort & Hadoop @ Linkedin, Hadoop User Group Jan 2010Bhupesh Bansal
 
Hadoop and Voldemort @ LinkedIn
Hadoop and Voldemort @ LinkedInHadoop and Voldemort @ LinkedIn
Hadoop and Voldemort @ LinkedInHadoop User Group
 
EnterpriseDB's Best Practices for Postgres DBAs
EnterpriseDB's Best Practices for Postgres DBAsEnterpriseDB's Best Practices for Postgres DBAs
EnterpriseDB's Best Practices for Postgres DBAsEDB
 
Scaling a SaaS backend with PostgreSQL - A case study
Scaling a SaaS backend with PostgreSQL - A case studyScaling a SaaS backend with PostgreSQL - A case study
Scaling a SaaS backend with PostgreSQL - A case studyOliver Seemann
 

Similar a Firebird Anti-Corruption Approach (20)

Firebird database recovery and protection for enterprises and ISV
Firebird database recovery and protection for enterprises and ISVFirebird database recovery and protection for enterprises and ISV
Firebird database recovery and protection for enterprises and ISV
 
Failure analysis buisness impact-backup-archive
Failure analysis buisness impact-backup-archiveFailure analysis buisness impact-backup-archive
Failure analysis buisness impact-backup-archive
 
Best practices and trends in people soft
Best practices and trends in people softBest practices and trends in people soft
Best practices and trends in people soft
 
Introduction to Database Log Analysis
Introduction to Database Log AnalysisIntroduction to Database Log Analysis
Introduction to Database Log Analysis
 
Maintaining and Caring for your EPM Environment at Medinah 2013
Maintaining and Caring for your EPM Environment at Medinah 2013Maintaining and Caring for your EPM Environment at Medinah 2013
Maintaining and Caring for your EPM Environment at Medinah 2013
 
DevOps, Databases and The Phoenix Project UGF4042 from OOW14
DevOps, Databases and The Phoenix Project UGF4042 from OOW14DevOps, Databases and The Phoenix Project UGF4042 from OOW14
DevOps, Databases and The Phoenix Project UGF4042 from OOW14
 
5 backuprecoveryw imp
5 backuprecoveryw imp5 backuprecoveryw imp
5 backuprecoveryw imp
 
Analytics over Terabytes of Data at Twitter
Analytics over Terabytes of Data at TwitterAnalytics over Terabytes of Data at Twitter
Analytics over Terabytes of Data at Twitter
 
Best Practices for Building Robust Data Platform with Apache Spark and Delta
Best Practices for Building Robust Data Platform with Apache Spark and DeltaBest Practices for Building Robust Data Platform with Apache Spark and Delta
Best Practices for Building Robust Data Platform with Apache Spark and Delta
 
Transforming Backup and Recovery in VMware environments with EMC Avamar and D...
Transforming Backup and Recovery in VMware environments with EMC Avamar and D...Transforming Backup and Recovery in VMware environments with EMC Avamar and D...
Transforming Backup and Recovery in VMware environments with EMC Avamar and D...
 
Health Check Your DB2 UDB For Z/OS System
Health Check Your DB2 UDB For Z/OS SystemHealth Check Your DB2 UDB For Z/OS System
Health Check Your DB2 UDB For Z/OS System
 
Large Scale SQL Considerations for SharePoint Deployments
Large Scale SQL Considerations for SharePoint DeploymentsLarge Scale SQL Considerations for SharePoint Deployments
Large Scale SQL Considerations for SharePoint Deployments
 
Db As Behaving Badly... Worst Practices For Database Administrators Rod Colledge
Db As Behaving Badly... Worst Practices For Database Administrators Rod ColledgeDb As Behaving Badly... Worst Practices For Database Administrators Rod Colledge
Db As Behaving Badly... Worst Practices For Database Administrators Rod Colledge
 
Storage, Virtual, and Server Profiler Training
Storage, Virtual, and Server Profiler TrainingStorage, Virtual, and Server Profiler Training
Storage, Virtual, and Server Profiler Training
 
Best Practices for a Complete Postgres Enterprise Architecture Setup
Best Practices for a Complete Postgres Enterprise Architecture SetupBest Practices for a Complete Postgres Enterprise Architecture Setup
Best Practices for a Complete Postgres Enterprise Architecture Setup
 
Voldemort & Hadoop @ Linkedin, Hadoop User Group Jan 2010
Voldemort & Hadoop @ Linkedin, Hadoop User Group Jan 2010Voldemort & Hadoop @ Linkedin, Hadoop User Group Jan 2010
Voldemort & Hadoop @ Linkedin, Hadoop User Group Jan 2010
 
Hadoop and Voldemort @ LinkedIn
Hadoop and Voldemort @ LinkedInHadoop and Voldemort @ LinkedIn
Hadoop and Voldemort @ LinkedIn
 
EnterpriseDB's Best Practices for Postgres DBAs
EnterpriseDB's Best Practices for Postgres DBAsEnterpriseDB's Best Practices for Postgres DBAs
EnterpriseDB's Best Practices for Postgres DBAs
 
Scaling a SaaS backend with PostgreSQL - A case study
Scaling a SaaS backend with PostgreSQL - A case studyScaling a SaaS backend with PostgreSQL - A case study
Scaling a SaaS backend with PostgreSQL - A case study
 
Exchange Server 2013 Database and Store Changes
Exchange Server 2013 Database and Store ChangesExchange Server 2013 Database and Store Changes
Exchange Server 2013 Database and Store Changes
 

Más de Alexey Kovyazin

High-load performance testing: Firebird 2.5, 3.0, 4.0
High-load performance testing:  Firebird 2.5, 3.0, 4.0High-load performance testing:  Firebird 2.5, 3.0, 4.0
High-load performance testing: Firebird 2.5, 3.0, 4.0Alexey Kovyazin
 
Fail-Safe Cluster for FirebirdSQL and something more
Fail-Safe Cluster for FirebirdSQL and something moreFail-Safe Cluster for FirebirdSQL and something more
Fail-Safe Cluster for FirebirdSQL and something moreAlexey Kovyazin
 
Новые возможности языка SQL в Firebird 3.0
Новые возможности языка SQL в Firebird 3.0Новые возможности языка SQL в Firebird 3.0
Новые возможности языка SQL в Firebird 3.0Alexey Kovyazin
 
How Firebird transactions work
How Firebird transactions workHow Firebird transactions work
How Firebird transactions workAlexey Kovyazin
 
Firebird Dataguard (Russian)
Firebird Dataguard (Russian)Firebird Dataguard (Russian)
Firebird Dataguard (Russian)Alexey Kovyazin
 
Решения на базе СУБД Firebird в крупных компаниях и государственных учреждени...
Решения на базе СУБД Firebird в крупных компаниях и государственных учреждени...Решения на базе СУБД Firebird в крупных компаниях и государственных учреждени...
Решения на базе СУБД Firebird в крупных компаниях и государственных учреждени...Alexey Kovyazin
 
Firebird usage promo draft
Firebird usage promo draftFirebird usage promo draft
Firebird usage promo draftAlexey Kovyazin
 
FBScanner: IBSurgeon's tool to solve all types of performance problems with F...
FBScanner: IBSurgeon's tool to solve all types of performance problems with F...FBScanner: IBSurgeon's tool to solve all types of performance problems with F...
FBScanner: IBSurgeon's tool to solve all types of performance problems with F...Alexey Kovyazin
 
Firebird 2.5 - вектор дальнейшего развития, Dmitry Yemanov, (in Russian)
Firebird 2.5 - вектор дальнейшего развития, Dmitry Yemanov, (in Russian)Firebird 2.5 - вектор дальнейшего развития, Dmitry Yemanov, (in Russian)
Firebird 2.5 - вектор дальнейшего развития, Dmitry Yemanov, (in Russian)Alexey Kovyazin
 
Understandung Firebird optimizer, by Dmitry Yemanov (in English)
Understandung Firebird optimizer, by Dmitry Yemanov (in English)Understandung Firebird optimizer, by Dmitry Yemanov (in English)
Understandung Firebird optimizer, by Dmitry Yemanov (in English)Alexey Kovyazin
 
Firebird: cost-based optimization and statistics, by Dmitry Yemanov (in English)
Firebird: cost-based optimization and statistics, by Dmitry Yemanov (in English)Firebird: cost-based optimization and statistics, by Dmitry Yemanov (in English)
Firebird: cost-based optimization and statistics, by Dmitry Yemanov (in English)Alexey Kovyazin
 
СУБД Firebird: Краткий обзор, Дмитрий Еманов (in Russian)
СУБД Firebird: Краткий обзор, Дмитрий Еманов (in Russian)СУБД Firebird: Краткий обзор, Дмитрий Еманов (in Russian)
СУБД Firebird: Краткий обзор, Дмитрий Еманов (in Russian)Alexey Kovyazin
 
Open Source: взгляд изнутри, Дмитрий Еманов (The Firebird Project) (in Russian)
Open Source: взгляд изнутри, Дмитрий Еманов (The Firebird Project) (in Russian)Open Source: взгляд изнутри, Дмитрий Еманов (The Firebird Project) (in Russian)
Open Source: взгляд изнутри, Дмитрий Еманов (The Firebird Project) (in Russian)Alexey Kovyazin
 
Firebird Scalability, by Dmitry Yemanov (in English)
Firebird Scalability, by Dmitry Yemanov (in English)Firebird Scalability, by Dmitry Yemanov (in English)
Firebird Scalability, by Dmitry Yemanov (in English)Alexey Kovyazin
 
Firebird: Универсальная СУБД. Краткая презентация на Интероп 2008, Дмитрий Ем...
Firebird: Универсальная СУБД. Краткая презентация на Интероп 2008, Дмитрий Ем...Firebird: Универсальная СУБД. Краткая презентация на Интероп 2008, Дмитрий Ем...
Firebird: Универсальная СУБД. Краткая презентация на Интероп 2008, Дмитрий Ем...Alexey Kovyazin
 
Firebird Roadmap-2006 Текущее состояние разработки и перспективы развития (in...
Firebird Roadmap-2006 Текущее состояние разработки и перспективы развития (in...Firebird Roadmap-2006 Текущее состояние разработки и перспективы развития (in...
Firebird Roadmap-2006 Текущее состояние разработки и перспективы развития (in...Alexey Kovyazin
 
Firebird в 2008: новые возможности и планы по дальнейшему развитию, by Дмитри...
Firebird в 2008: новые возможности и планы по дальнейшему развитию, by Дмитри...Firebird в 2008: новые возможности и планы по дальнейшему развитию, by Дмитри...
Firebird в 2008: новые возможности и планы по дальнейшему развитию, by Дмитри...Alexey Kovyazin
 
Firebird в 2008 году: эволюция или революция? (in Russian, by Dmitry Kuzmenko)
Firebird в 2008 году: эволюция или революция? (in Russian, by Dmitry Kuzmenko)Firebird в 2008 году: эволюция или революция? (in Russian, by Dmitry Kuzmenko)
Firebird в 2008 году: эволюция или революция? (in Russian, by Dmitry Kuzmenko)Alexey Kovyazin
 
Новые возможности Firebird 2.1 (in Russian, Vlad Khorsun)
Новые возможности Firebird 2.1 (in Russian, Vlad Khorsun)Новые возможности Firebird 2.1 (in Russian, Vlad Khorsun)
Новые возможности Firebird 2.1 (in Russian, Vlad Khorsun)Alexey Kovyazin
 
Чем отличаются InterBase и Firebird (Russian), 2008
Чем отличаются InterBase и Firebird (Russian), 2008Чем отличаются InterBase и Firebird (Russian), 2008
Чем отличаются InterBase и Firebird (Russian), 2008Alexey Kovyazin
 

Más de Alexey Kovyazin (20)

High-load performance testing: Firebird 2.5, 3.0, 4.0
High-load performance testing:  Firebird 2.5, 3.0, 4.0High-load performance testing:  Firebird 2.5, 3.0, 4.0
High-load performance testing: Firebird 2.5, 3.0, 4.0
 
Fail-Safe Cluster for FirebirdSQL and something more
Fail-Safe Cluster for FirebirdSQL and something moreFail-Safe Cluster for FirebirdSQL and something more
Fail-Safe Cluster for FirebirdSQL and something more
 
Новые возможности языка SQL в Firebird 3.0
Новые возможности языка SQL в Firebird 3.0Новые возможности языка SQL в Firebird 3.0
Новые возможности языка SQL в Firebird 3.0
 
How Firebird transactions work
How Firebird transactions workHow Firebird transactions work
How Firebird transactions work
 
Firebird Dataguard (Russian)
Firebird Dataguard (Russian)Firebird Dataguard (Russian)
Firebird Dataguard (Russian)
 
Решения на базе СУБД Firebird в крупных компаниях и государственных учреждени...
Решения на базе СУБД Firebird в крупных компаниях и государственных учреждени...Решения на базе СУБД Firebird в крупных компаниях и государственных учреждени...
Решения на базе СУБД Firebird в крупных компаниях и государственных учреждени...
 
Firebird usage promo draft
Firebird usage promo draftFirebird usage promo draft
Firebird usage promo draft
 
FBScanner: IBSurgeon's tool to solve all types of performance problems with F...
FBScanner: IBSurgeon's tool to solve all types of performance problems with F...FBScanner: IBSurgeon's tool to solve all types of performance problems with F...
FBScanner: IBSurgeon's tool to solve all types of performance problems with F...
 
Firebird 2.5 - вектор дальнейшего развития, Dmitry Yemanov, (in Russian)
Firebird 2.5 - вектор дальнейшего развития, Dmitry Yemanov, (in Russian)Firebird 2.5 - вектор дальнейшего развития, Dmitry Yemanov, (in Russian)
Firebird 2.5 - вектор дальнейшего развития, Dmitry Yemanov, (in Russian)
 
Understandung Firebird optimizer, by Dmitry Yemanov (in English)
Understandung Firebird optimizer, by Dmitry Yemanov (in English)Understandung Firebird optimizer, by Dmitry Yemanov (in English)
Understandung Firebird optimizer, by Dmitry Yemanov (in English)
 
Firebird: cost-based optimization and statistics, by Dmitry Yemanov (in English)
Firebird: cost-based optimization and statistics, by Dmitry Yemanov (in English)Firebird: cost-based optimization and statistics, by Dmitry Yemanov (in English)
Firebird: cost-based optimization and statistics, by Dmitry Yemanov (in English)
 
СУБД Firebird: Краткий обзор, Дмитрий Еманов (in Russian)
СУБД Firebird: Краткий обзор, Дмитрий Еманов (in Russian)СУБД Firebird: Краткий обзор, Дмитрий Еманов (in Russian)
СУБД Firebird: Краткий обзор, Дмитрий Еманов (in Russian)
 
Open Source: взгляд изнутри, Дмитрий Еманов (The Firebird Project) (in Russian)
Open Source: взгляд изнутри, Дмитрий Еманов (The Firebird Project) (in Russian)Open Source: взгляд изнутри, Дмитрий Еманов (The Firebird Project) (in Russian)
Open Source: взгляд изнутри, Дмитрий Еманов (The Firebird Project) (in Russian)
 
Firebird Scalability, by Dmitry Yemanov (in English)
Firebird Scalability, by Dmitry Yemanov (in English)Firebird Scalability, by Dmitry Yemanov (in English)
Firebird Scalability, by Dmitry Yemanov (in English)
 
Firebird: Универсальная СУБД. Краткая презентация на Интероп 2008, Дмитрий Ем...
Firebird: Универсальная СУБД. Краткая презентация на Интероп 2008, Дмитрий Ем...Firebird: Универсальная СУБД. Краткая презентация на Интероп 2008, Дмитрий Ем...
Firebird: Универсальная СУБД. Краткая презентация на Интероп 2008, Дмитрий Ем...
 
Firebird Roadmap-2006 Текущее состояние разработки и перспективы развития (in...
Firebird Roadmap-2006 Текущее состояние разработки и перспективы развития (in...Firebird Roadmap-2006 Текущее состояние разработки и перспективы развития (in...
Firebird Roadmap-2006 Текущее состояние разработки и перспективы развития (in...
 
Firebird в 2008: новые возможности и планы по дальнейшему развитию, by Дмитри...
Firebird в 2008: новые возможности и планы по дальнейшему развитию, by Дмитри...Firebird в 2008: новые возможности и планы по дальнейшему развитию, by Дмитри...
Firebird в 2008: новые возможности и планы по дальнейшему развитию, by Дмитри...
 
Firebird в 2008 году: эволюция или революция? (in Russian, by Dmitry Kuzmenko)
Firebird в 2008 году: эволюция или революция? (in Russian, by Dmitry Kuzmenko)Firebird в 2008 году: эволюция или революция? (in Russian, by Dmitry Kuzmenko)
Firebird в 2008 году: эволюция или революция? (in Russian, by Dmitry Kuzmenko)
 
Новые возможности Firebird 2.1 (in Russian, Vlad Khorsun)
Новые возможности Firebird 2.1 (in Russian, Vlad Khorsun)Новые возможности Firebird 2.1 (in Russian, Vlad Khorsun)
Новые возможности Firebird 2.1 (in Russian, Vlad Khorsun)
 
Чем отличаются InterBase и Firebird (Russian), 2008
Чем отличаются InterBase и Firebird (Russian), 2008Чем отличаются InterBase и Firebird (Russian), 2008
Чем отличаются InterBase и Firebird (Russian), 2008
 

Último

The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 

Último (20)

The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 

Firebird Anti-Corruption Approach

  • 1. Anti-corruption How to prevent Firebird database corruption Alexey Kovyazin, IBSurgeon, ak@ib-aid.com
  • 2. IBSurgeon – 8 years! Products IBFirstAID/FBFirstAID, etc FBScanner FBDataGuard Clients Carl Zeiss Meditec, USA Vneshtorgbank, Russia Wells FargoBank, USA Watermark Software, UK Bas-X, Australia Victoria University, New Zealand Kingsway Management, UK Team Dmitry Kuzmenko Alexey Kovyazin Sergey Nikitin Oleg Mateveev& team Consultants Dmitry Yemanov, VladKhorsun, Alex Peshkoff Partners IBPhoenix
  • 3. Alexey Kovyazin Hosting & cloud partners Yes, it’s me! http://ru.linkedin.com/in/kovyazin 2006 2008 2009 2010 In 2007 we sold 3mln of Delphi to all Russian schools
  • 4. Agenda Why bother? Why corruption happens? Reasons Symptoms What things are to monitor to recognize problem? Problems with server Problems with environment Problems with database Maintenance improvements to prevent corruptions. Backups Why we created FBDataGuad?
  • 5. Why bother? Firebird databases become bigger and bigger every year Information inside Firebird can costs $XXXXXX Outage (corruption, backup/restore breaks) can costs $XXXXX too Real-world examples Bas-X, Australia – Firebird 2.x, 250Gb, no BLOBs, 250 users Watermark Software, UK – Firebird 2.x, up to 400Gb, with BLOBs Profitmed, Russia, medical distribution, Firebird 1.5, 65Gb, 250 users 1 Terabyte Firebird 2.1 database http://www.ib-aid.com/articles/item104 3.8Billions of records in the biggest table
  • 6. Corruption reasons & symptons Reasons Misadministration Hardware failures Bugs The actual reason often remains undiscovered Symptoms Repeatable Trackable Complimentary We can prevent corruption if see its symptoms.
  • 7. Sample Firebird environment Server Database Firebird Copy of backups Backups
  • 8. What to monitor at Firebird instance level Is Server online? General parameters How much RAM? Mb # Temp files? Records to analyze 6 levels Logs Size of logs Is it recommended? Bugs, issues Server version
  • 9. Firebird instance key parameters Server availability Consumed RAM Temp files size Temp files quantity Records in logs Logs’ size Server version related issues Need to watch for 7 key parameters which can indicate possible or actual problems
  • 10. What to monitor-1 General database checks Database availability -> Outages, firewalls, stability Log records related with database in firebird.log -> early symptoms Check metadata – validate all metadata -> early showings Transactions Transaction markers monitoring (garbage problems) Limit (2 billions between backup/restore) Users Min/max/avg users –> peaks problems, design of application
  • 11. What to monitor-2 Database files Single volume and multi-volume -> Volumes in bin Paths – where to stored (not at the same drive with temp files and backups!) Sizes and growth limits -> Warnings about growth Delta-files (nbackup) Life-time and sizes -> Huge/aged delta problems Backup files Existence, sizes and growth limits -> Backup could kill database
  • 12. What to monitor-3 Number of formats per table No more than 255 -> corruption Less formats in production -> performance problem Non-activated and deactivated indices Deactivated – explicitly deactivated (why deactivated?) Non-activated – indicates problems during restore
  • 13. What to monitor-4 Periodical statistics (gstat) -> deep look into database Firebird server version Examples - problems with nbackup Latest patches are recommended Firebird fbclient.dll version If fbclient.dll <> fbserver - > Problems (disconnects, 10054, errors) Firebird installation size Default database place is %Firebird%in Firebird logs size and paths Big logs quickly exhaust space -> corruption
  • 14. Maintenance-1 Backups Revolver (days, week, month copies) backups Backup depth Checking restore (need to check results) Growth prognosis (if not enough space, backup should be canceled) Control backup time (too long backup indicates problems) Today 5..7 Yesterday Weekly
  • 15. Big database requires individual maintenance plan Maintenance plan depends on size of database and work mode (8x5, 24x7) Backups scheme is not simple Perform test restores separately To be checked Errors – in firebird.log and run error checking quries on live database Metadata – check integrity Metadata limits Data & BLOBs – walk through data, check segmentation Indices – check indices health Transactions – any gaps, garbage growth, other problems
  • 16. Everyday minimal (!) maintenance plan for big database
  • 17. Example of backup plan for big Firebird database Maintenance server Main server Firebird database Nbackup copy Checking restore Gbak-b And each step should be confirmed and reported.
  • 18. Maintenance-2 Indices Recalculate indices statistics -> Performance Selected or excluded Check index status – active/in-active/non-activated -> Problems, corruptions Check physical index health Early showings of corruptions
  • 19. Maintenance-3 Validate database with gfix Don’t forget to shutdown database Analysis (includingfirebird.log) Metadata validation Check important system tables Firebird.log maintenance When log becomes very big, copy it to backup log files And some more things….
  • 20. And this is not enough! Business wants to have warranty - even if hardware fails data should be recovered!
  • 21. A big job Implement scripts Check them in the test environment Explore errors messages and codes of Firebird We spent 6 years getting the necessary information…
  • 22. That’s why we created Fbdataguard
  • 23. FBDataGuarddoes all above things… Watches database files, volumes, deltas, performs and checks backups in the right way Verifies metadata, data and indices Watches for errors, limits and wrong versions Sends alerts and recommendations
  • 24. Example with TEMP FBDataGuard found the temp files size = N Not enough space M – N<X Not enough space – administrator will have alert and recommendation to increase TEMP Free space at TEMP- locations= M
  • 25. Example alert Too big temporary files Total size of all temporary files 3 Gb is more than recommended: 500 Mb Firebird creates temporary files for some SQL queries (PLAN SORT). Too big size of temporary files can indicate performance problems. This is not a strictly defined number, so this threshold depends on particular database and application.
  • 26. Index problem example non-activatedindices usually indicates corruption (missed Foreign Keys) FBDataGuard found non-activated index after restore Administrator will get alert and recommendation to check indices Possible perfomance problem prevented!
  • 27. Example of backup problem resolution FBDataGuard found the backup size =M Not enough space M>=N Backup cancelled, database status is set toCritical, administrator gotalert FBDataGuard found free space at backups’ disk = N Corruption of backup was prevented!
  • 28. Example of backup problem alert Job backup@[ server-0000 / db-0000 ] malfunction Unexpected job backup@[ server-0000 / db-0000 ] error: There is not enough space on the disk
  • 29. Example of good backup notification
  • 30. Hardware and UNDELETE failures HDD corruption Flash-drive corruption UNDELETE problem
  • 31. And even more – protects from hardware failures Metadata repository FBDataGuard Extractor extracts data from corrupted database and inserts to the new New DB Tables data BLOBs
  • 32. Firebird DataGuard Watch for 26 important database and server parameters Alerts for potential and real problem by email Proper automation of database maintenance Windows, Linux, MacOS, Firebird 1.5-2.1 (not 2.5 yet) Special licensing for ISV (Independent Software Vendors) Firebird developers
  • 33. Get FBDataGuard 1 year Free 1 year license for all attendees Send request to dataguard@ib-aid.com
  • 34. Thank you Questions? dataguard@ib-aid.com