SlideShare ist ein Scribd-Unternehmen logo
1 von 19
© IBSurgeon 2011


SUPERCHARGING BIG
PRODUCTION SYSTEMS ON
FIREBIRD:
TRANSACTIONS, GARBAGE, MA
INTENANCE
Dmitry Kuzmenko, IBSurgeon
© IBSurgeon 2011




What is big?
• 10 users, 1gb database?
• 100 users, 1gb database?
• 5 users, 100gb database?




• Any system, that have performance
problems
© IBSurgeon 2011




Steps to tune performance
1. Hardware
 1. Processor, Memory, Disks
 2.   Virtual machines

2. Transactions
3. Versioning
4. Queries

• Everything need to be able logged and monitored
© IBSurgeon 2011




Transactions
• What is happening in the system
• What about transaction control in
  applications (good/bad)
• Are there unnecessary active
  transactions
© IBSurgeon 2011




IBTM: Transactions monitoring
© IBSurgeon 2011




Active transactions
© IBSurgeon 2011




Versioning
• Do we need to set sweep interval to 0?
• If yes, when it’s better to run gfix –sweep ?
• Where versions are, and how much
• What is garbage?
• What is the cause of versions?
© IBSurgeon 2011




IBAnalyst
© IBSurgeon 2011
© IBSurgeon 2011
© IBSurgeon 2011


What business logic causes versions
grow?
• Understandable via special UDFs
  • Udf writes some parameters to some file
  • Udfs are called in INSERT/UPDATE/DELETE triggers
    on tables, that we want to monitor.
  • UDFs can be called from procedures to understand
    begin/end of logic block
 • Intensity can be analyzed by file size
 • Timestamps and blocks can help to understand
    logic
• Trace API
© IBSurgeon 2011




Queries
• How many queries my application
  produce?
• Does all queries correct and even
  necessary (obsolete/wrong functionality)?
• Which queries take too much time?
• How query execution time degrades (if
  yes)?
© IBSurgeon 2011




FBScanner
© IBSurgeon 2011

1 day, 84 computers, up to 1350 transactions per minute, up to
3200 statements per minute, longest query - 50 seconds
© IBSurgeon 2011

1 application/user monitored
up to 85 transactions per minute (?), up to 4200 sql-operators
per minute (???)
© IBSurgeon 2011




What observer can discover?
• Users use not only one instance of
  application
• Application runs unnecessary queries
• Application use wrong transaction control
• Users use application not the way it was
  designed by developers
© IBSurgeon 2011
© IBSurgeon 2011




What to do next
• Ajust (fix) transaction management in applications
  • Remove unnecessary write transactions
  • Fix duration of transactions
  • Legacy applications, lazy users
• Garbage
  • Drop unnecessary indices
  • If source is available - fix business logic
  • Closed source and legacy applications – require special
    maintenance schedule
• Queries
  • Fix plans or change queries
  • create/drop indices
  • Try to use stored aggregates
© IBSurgeon 2011




Summary
• IBSurgeon’s supercharge service is based on
  IBTM, IBAnalyst and FBScanner, to identify and fix
  problems with transactions, garbage and maintenance
• Tools are available to be adopted by any experienced
  Firebird professional


Special offer:
–25% for conference attendees till December 31

support@ib-aid.com
www.ib-aid.com

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (11)

Supply Chain Visibility: Parts Town - An O2C Journey from Manual Processing t...
Supply Chain Visibility: Parts Town - An O2C Journey from Manual Processing t...Supply Chain Visibility: Parts Town - An O2C Journey from Manual Processing t...
Supply Chain Visibility: Parts Town - An O2C Journey from Manual Processing t...
 
Supply Chain Visibility: Parts Town - An O2C Journey from Manual Processing t...
Supply Chain Visibility: Parts Town - An O2C Journey from Manual Processing t...Supply Chain Visibility: Parts Town - An O2C Journey from Manual Processing t...
Supply Chain Visibility: Parts Town - An O2C Journey from Manual Processing t...
 
Integrator Roundtable Discussion: Facing the Future of Automation
Integrator Roundtable Discussion: Facing the Future of AutomationIntegrator Roundtable Discussion: Facing the Future of Automation
Integrator Roundtable Discussion: Facing the Future of Automation
 
Design Like a Pro: Alarm Management
Design Like a Pro: Alarm ManagementDesign Like a Pro: Alarm Management
Design Like a Pro: Alarm Management
 
Get Your ERP & Operational Data Working Together
Get Your ERP & Operational Data Working TogetherGet Your ERP & Operational Data Working Together
Get Your ERP & Operational Data Working Together
 
Historic Opportunities: Discover the Power of Ignition's Historian
Historic Opportunities: Discover the Power of Ignition's HistorianHistoric Opportunities: Discover the Power of Ignition's Historian
Historic Opportunities: Discover the Power of Ignition's Historian
 
Putting the Sec into DevOps
Putting the Sec into DevOpsPutting the Sec into DevOps
Putting the Sec into DevOps
 
Nagios Conference 2007 | Enterprise Application Monitoring with Nagios by Jam...
Nagios Conference 2007 | Enterprise Application Monitoring with Nagios by Jam...Nagios Conference 2007 | Enterprise Application Monitoring with Nagios by Jam...
Nagios Conference 2007 | Enterprise Application Monitoring with Nagios by Jam...
 
10 Steps to Architecting a Sustainable SCADA System
10 Steps to Architecting a Sustainable SCADA System10 Steps to Architecting a Sustainable SCADA System
10 Steps to Architecting a Sustainable SCADA System
 
Self-Aware Buildings - Leading the way for the future
Self-Aware Buildings - Leading the way for the futureSelf-Aware Buildings - Leading the way for the future
Self-Aware Buildings - Leading the way for the future
 
How to Quickly Create Effective Plant-Floor Screens
How to Quickly Create Effective Plant-Floor ScreensHow to Quickly Create Effective Plant-Floor Screens
How to Quickly Create Effective Plant-Floor Screens
 

Andere mochten auch

Tips for using Firebird system tables
Tips for using Firebird system tablesTips for using Firebird system tables
Tips for using Firebird system tables
Mind The Firebird
 

Andere mochten auch (12)

Working with Large Firebird databases
Working with Large Firebird databasesWorking with Large Firebird databases
Working with Large Firebird databases
 
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...
 
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
 
Firebird's Big Databases (in English)
Firebird's Big Databases (in English)Firebird's Big Databases (in English)
Firebird's Big Databases (in English)
 
Life with big Firebird databases
Life with big Firebird databasesLife with big Firebird databases
Life with big Firebird databases
 
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
 
Resolving Firebird performance problems
Resolving Firebird performance problemsResolving Firebird performance problems
Resolving Firebird performance problems
 
Firebird recovery tools and techniques by IBSurgeon
Firebird recovery tools and techniques by IBSurgeonFirebird recovery tools and techniques by IBSurgeon
Firebird recovery tools and techniques by IBSurgeon
 
How Firebird transactions work
How Firebird transactions workHow Firebird transactions work
How Firebird transactions work
 
Firebird migration: from Firebird 1.5 to Firebird 2.5
Firebird migration: from Firebird 1.5 to Firebird 2.5Firebird migration: from Firebird 1.5 to Firebird 2.5
Firebird migration: from Firebird 1.5 to Firebird 2.5
 
SuperServer in Firebird 3
SuperServer in Firebird 3SuperServer in Firebird 3
SuperServer in Firebird 3
 
Tips for using Firebird system tables
Tips for using Firebird system tablesTips for using Firebird system tables
Tips for using Firebird system tables
 

Ähnlich wie Superchaging big production systems on Firebird: transactions, garbage, maintenance

Mule soft meetup_-_finland_september_25th__2020 v2.0
Mule soft meetup_-_finland_september_25th__2020 v2.0Mule soft meetup_-_finland_september_25th__2020 v2.0
Mule soft meetup_-_finland_september_25th__2020 v2.0
D.Rajesh Kumar
 
Real User Experience Insight External
Real User Experience Insight ExternalReal User Experience Insight External
Real User Experience Insight External
oracleonthebrain
 

Ähnlich wie Superchaging big production systems on Firebird: transactions, garbage, maintenance (20)

Log management
Log managementLog management
Log management
 
MORS (Mine Operation Reporting System)
MORS (Mine Operation Reporting System)MORS (Mine Operation Reporting System)
MORS (Mine Operation Reporting System)
 
Why Test SAP PI/PO after any upgrade
Why Test SAP PI/PO after any upgradeWhy Test SAP PI/PO after any upgrade
Why Test SAP PI/PO after any upgrade
 
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
 
Observability - Stockholm Splunk UG Jan 19 2023.pptx
Observability - Stockholm Splunk UG Jan 19 2023.pptxObservability - Stockholm Splunk UG Jan 19 2023.pptx
Observability - Stockholm Splunk UG Jan 19 2023.pptx
 
Mule soft meetup_-_finland_september_25th__2020 v2.0
Mule soft meetup_-_finland_september_25th__2020 v2.0Mule soft meetup_-_finland_september_25th__2020 v2.0
Mule soft meetup_-_finland_september_25th__2020 v2.0
 
MineExcellence Drilling Platform
MineExcellence Drilling Platform MineExcellence Drilling Platform
MineExcellence Drilling Platform
 
Building a Giant Atlassian Universe to Take Over the World
Building a Giant Atlassian Universe to Take Over the WorldBuilding a Giant Atlassian Universe to Take Over the World
Building a Giant Atlassian Universe to Take Over the World
 
Microservices: The Best Practices
Microservices: The Best PracticesMicroservices: The Best Practices
Microservices: The Best Practices
 
Oracle Management Cloud - introduction, overview and getting started (AMIS, 2...
Oracle Management Cloud - introduction, overview and getting started (AMIS, 2...Oracle Management Cloud - introduction, overview and getting started (AMIS, 2...
Oracle Management Cloud - introduction, overview and getting started (AMIS, 2...
 
Real User Experience Insight External
Real User Experience Insight ExternalReal User Experience Insight External
Real User Experience Insight External
 
Application Performance Monitoring from end user to Oracle Java Cloud Service...
Application Performance Monitoring from end user to Oracle Java Cloud Service...Application Performance Monitoring from end user to Oracle Java Cloud Service...
Application Performance Monitoring from end user to Oracle Java Cloud Service...
 
Big server-is-watching-you
Big server-is-watching-youBig server-is-watching-you
Big server-is-watching-you
 
Joget Workflow v6 Training Slides - 1 - Introduction to Joget Workflow
Joget Workflow v6 Training Slides - 1 - Introduction to Joget WorkflowJoget Workflow v6 Training Slides - 1 - Introduction to Joget Workflow
Joget Workflow v6 Training Slides - 1 - Introduction to Joget Workflow
 
Rahul N Dixit
Rahul N DixitRahul N Dixit
Rahul N Dixit
 
ERP Must Have Features For Manufacturers
ERP Must Have Features For ManufacturersERP Must Have Features For Manufacturers
ERP Must Have Features For Manufacturers
 
Building trust within the organization, first steps towards DevOps
Building trust within the organization, first steps towards DevOpsBuilding trust within the organization, first steps towards DevOps
Building trust within the organization, first steps towards DevOps
 
SCM Transformation Challenges and How to Overcome Them
SCM Transformation Challenges and How to Overcome ThemSCM Transformation Challenges and How to Overcome Them
SCM Transformation Challenges and How to Overcome Them
 
WMS Overview
WMS OverviewWMS Overview
WMS Overview
 
Innovate 2014 - What's New in Reporting and Analytics
Innovate 2014 - What's New in Reporting and AnalyticsInnovate 2014 - What's New in Reporting and Analytics
Innovate 2014 - What's New in Reporting and Analytics
 

Mehr von Mind The Firebird

A year in the life of Firebird .Net provider
A year in the life of Firebird .Net providerA year in the life of Firebird .Net provider
A year in the life of Firebird .Net provider
Mind The Firebird
 
How Firebird transactions work
How Firebird transactions workHow Firebird transactions work
How Firebird transactions work
Mind The Firebird
 
Orphans, Corruption, Careful Write, and Logging
Orphans, Corruption, Careful Write, and LoggingOrphans, Corruption, Careful Write, and Logging
Orphans, Corruption, Careful Write, and Logging
Mind The Firebird
 
Firebird 3 Windows Functions
Firebird 3 Windows  FunctionsFirebird 3 Windows  Functions
Firebird 3 Windows Functions
Mind The Firebird
 
Firebird Conference 2011 - Introduction
Firebird Conference 2011 - IntroductionFirebird Conference 2011 - Introduction
Firebird Conference 2011 - Introduction
Mind The Firebird
 

Mehr von Mind The Firebird (20)

Using Azure cloud and Firebird to develop applications easily
Using Azure cloud and Firebird to develop applications easilyUsing Azure cloud and Firebird to develop applications easily
Using Azure cloud and Firebird to develop applications easily
 
A year in the life of Firebird .Net provider
A year in the life of Firebird .Net providerA year in the life of Firebird .Net provider
A year in the life of Firebird .Net provider
 
How Firebird transactions work
How Firebird transactions workHow Firebird transactions work
How Firebird transactions work
 
Copycat presentation
Copycat presentationCopycat presentation
Copycat presentation
 
Using ТРСС to study Firebird performance
Using ТРСС to study Firebird performanceUsing ТРСС to study Firebird performance
Using ТРСС to study Firebird performance
 
Overview of RedDatabase 2.5
Overview of RedDatabase 2.5Overview of RedDatabase 2.5
Overview of RedDatabase 2.5
 
Creating logs for data auditing in FirebirdSQL
Creating logs for data auditing in FirebirdSQLCreating logs for data auditing in FirebirdSQL
Creating logs for data auditing in FirebirdSQL
 
Firebird Performance counters in details
Firebird Performance counters in detailsFirebird Performance counters in details
Firebird Performance counters in details
 
Understanding Numbers in Firebird SQL
Understanding Numbers in Firebird SQLUnderstanding Numbers in Firebird SQL
Understanding Numbers in Firebird SQL
 
Threading through InterBase, Firebird, and beyond
Threading through InterBase, Firebird, and beyondThreading through InterBase, Firebird, and beyond
Threading through InterBase, Firebird, and beyond
 
New SQL Features in Firebird 3, by Vlad Khorsun
New SQL Features in Firebird 3, by Vlad KhorsunNew SQL Features in Firebird 3, by Vlad Khorsun
New SQL Features in Firebird 3, by Vlad Khorsun
 
Orphans, Corruption, Careful Write, and Logging
Orphans, Corruption, Careful Write, and LoggingOrphans, Corruption, Careful Write, and Logging
Orphans, Corruption, Careful Write, and Logging
 
Firebird release strategy and roadmap for 2015/2016
Firebird release strategy and roadmap for 2015/2016Firebird release strategy and roadmap for 2015/2016
Firebird release strategy and roadmap for 2015/2016
 
Nbackup and Backup: Internals, Usage strategy and Pitfalls, by Dmitry Kuzmenk...
Nbackup and Backup: Internals, Usage strategy and Pitfalls, by Dmitry Kuzmenk...Nbackup and Backup: Internals, Usage strategy and Pitfalls, by Dmitry Kuzmenk...
Nbackup and Backup: Internals, Usage strategy and Pitfalls, by Dmitry Kuzmenk...
 
Stored procedures in Firebird
Stored procedures in FirebirdStored procedures in Firebird
Stored procedures in Firebird
 
Firebird on Linux
Firebird on LinuxFirebird on Linux
Firebird on Linux
 
Firebird meets NoSQL
Firebird meets NoSQLFirebird meets NoSQL
Firebird meets NoSQL
 
Continuous Database Monitoring with the Trace API
Continuous Database Monitoring with the Trace APIContinuous Database Monitoring with the Trace API
Continuous Database Monitoring with the Trace API
 
Firebird 3 Windows Functions
Firebird 3 Windows  FunctionsFirebird 3 Windows  Functions
Firebird 3 Windows Functions
 
Firebird Conference 2011 - Introduction
Firebird Conference 2011 - IntroductionFirebird Conference 2011 - Introduction
Firebird Conference 2011 - Introduction
 

Kürzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 

Superchaging big production systems on Firebird: transactions, garbage, maintenance

  • 1. © IBSurgeon 2011 SUPERCHARGING BIG PRODUCTION SYSTEMS ON FIREBIRD: TRANSACTIONS, GARBAGE, MA INTENANCE Dmitry Kuzmenko, IBSurgeon
  • 2. © IBSurgeon 2011 What is big? • 10 users, 1gb database? • 100 users, 1gb database? • 5 users, 100gb database? • Any system, that have performance problems
  • 3. © IBSurgeon 2011 Steps to tune performance 1. Hardware 1. Processor, Memory, Disks 2. Virtual machines 2. Transactions 3. Versioning 4. Queries • Everything need to be able logged and monitored
  • 4. © IBSurgeon 2011 Transactions • What is happening in the system • What about transaction control in applications (good/bad) • Are there unnecessary active transactions
  • 5. © IBSurgeon 2011 IBTM: Transactions monitoring
  • 7. © IBSurgeon 2011 Versioning • Do we need to set sweep interval to 0? • If yes, when it’s better to run gfix –sweep ? • Where versions are, and how much • What is garbage? • What is the cause of versions?
  • 11. © IBSurgeon 2011 What business logic causes versions grow? • Understandable via special UDFs • Udf writes some parameters to some file • Udfs are called in INSERT/UPDATE/DELETE triggers on tables, that we want to monitor. • UDFs can be called from procedures to understand begin/end of logic block • Intensity can be analyzed by file size • Timestamps and blocks can help to understand logic • Trace API
  • 12. © IBSurgeon 2011 Queries • How many queries my application produce? • Does all queries correct and even necessary (obsolete/wrong functionality)? • Which queries take too much time? • How query execution time degrades (if yes)?
  • 14. © IBSurgeon 2011 1 day, 84 computers, up to 1350 transactions per minute, up to 3200 statements per minute, longest query - 50 seconds
  • 15. © IBSurgeon 2011 1 application/user monitored up to 85 transactions per minute (?), up to 4200 sql-operators per minute (???)
  • 16. © IBSurgeon 2011 What observer can discover? • Users use not only one instance of application • Application runs unnecessary queries • Application use wrong transaction control • Users use application not the way it was designed by developers
  • 18. © IBSurgeon 2011 What to do next • Ajust (fix) transaction management in applications • Remove unnecessary write transactions • Fix duration of transactions • Legacy applications, lazy users • Garbage • Drop unnecessary indices • If source is available - fix business logic • Closed source and legacy applications – require special maintenance schedule • Queries • Fix plans or change queries • create/drop indices • Try to use stored aggregates
  • 19. © IBSurgeon 2011 Summary • IBSurgeon’s supercharge service is based on IBTM, IBAnalyst and FBScanner, to identify and fix problems with transactions, garbage and maintenance • Tools are available to be adopted by any experienced Firebird professional Special offer: –25% for conference attendees till December 31 support@ib-aid.com www.ib-aid.com