Professional tools for Firebird optimization and maintenance from IBSurgeon
Upcoming SlideShare
Loading in...5
×
 

Professional tools for Firebird optimization and maintenance from IBSurgeon

on

  • 125 views

How to create better environment for big Firebird databases? How DBA can recognize and solve problems with Firebird performance, backups or corruptions (and better prevent corruptions)? This session ...

How to create better environment for big Firebird databases? How DBA can recognize and solve problems with Firebird performance, backups or corruptions (and better prevent corruptions)? This session was devoted to professional Firebird tools from IBSurgeon which help to solve all these problems.

Statistics

Views

Total Views
125
Views on SlideShare
114
Embed Views
11

Actions

Likes
0
Downloads
2
Comments
0

2 Embeds 11

http://www.slideee.com 8
https://www.linkedin.com 3

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Professional tools for Firebird optimization and maintenance from IBSurgeon Professional tools for Firebird optimization and maintenance from IBSurgeon Presentation Transcript

  • Professional tools for Firebird optimization and maintenance from IBSurgeon Alexey Kovyazin www.IBSurgeon.com
  • 2 • Tools and consulting • Platinum Sponsor of Firebird Project • Founded in 2002: 12 years of Firebird and InterBase recoveries and consulting • Based in Moscow, Russia • Firebase is our Brazil partner (since 2006)
  • 3 Backups Health monitoring Typical tasks Indices maintenance Transactions dynamics SQL Queries & plans Database structure analysys Database
  • 4 FBDataGuard IBTM FBScanner & FBPerfMon IBAnalyst
  • 5 Backups ● GBAK or NBACKUP? ● NBACKUP problems ● GBAK problems ● How to combine advantages and avoid problems
  • 6 Big databases backup schema FBDataGuard 1: -delta monitoring -health monitoring FBDataGuard 2 - gbak backup & test restore Production server Backup server Nbackup gbak
  • 7 Health monitoring • Critical metadata check and backup – Needed for recovery with FirstAID • Database limitations checks – Transactions limits, format limits, space limits • Errors – Firebird.log
  • 8 Indices maintenance • Indices health – Idea of statistics – Recalculation of indices statistics • Manual • Automatic
  • 9 Transactions monitoring 2 • Transaction markers (NEXT, OIT, OST, OAT) dynamics is good indicator of problems – Long running active transactions (stuck OAT) – Forced Rollback (stuck OIT) – Sweep and autosweep success
  • 10
  • 11 SQL Queries and Plans • For all Firebird versions — FBScanner – Works as a proxy – Connection string changes required – Can be installed on remote server • For Firebird 2.5 — FBPerfMon – Mon$ support – TraceAPI support
  • Recommended setup for logging 12 Firebird Production server Users FBScanner remote server Administrator has: 1) FBScanner Analyzer 2) MON$Logger 3) TraceAPI 4) IBTM 5) IBAnalyst MON$ TraceAPI FBDataGuard & Trace API
  • MON$ 13
  • Trace 14
  • 15 FBScanner Log
  • Database structure 16
  • Examples of problem resolution 17 1.Long running active transaction — prevent performance problem 1.Administrator got email from FBDataGuard about transaction gap 2.IBTM shows long running active transaction 3.MON$ logger identified source of transaction, and admin disconnected client
  • Examples of problem resolution 18 1.Bad performance — fix performance problem – User reported problem with performance in application A – Quick check with MON$logger does not show the problem – Admin analysed logs from FBScanner (permanent monitoring) and found bad query, reported to developer, with SQL plan and fresh gstat statistics from FBDataGuard – Developer checked gstat and plan, found that new index is needed – After testing index on test machine developer passed new index to admin – Admin applied index, performance is good again
  • 19 Conclusion • To sleep well and live long you need: – Relialble backups – Continious monitoring and alerts – Quick identification of problem – Full details how to fix it
  • 20 Only at FDD 2014 IBSurgeon Optimization Pack 5-in-1 (FBDataGuard+FBScanner+FBPerfMon +IBTM +IBAnalyst) • EUR 299 R$400 per server • EUR 1290 R$850 Unlimited Subscription 1 year
  • 21 • Thank you! • Questions? Web: www.ib-aid.com www.ibsurgeon.com Email: support@ib-aid.com