SlideShare a Scribd company logo
12
Most read
15
Most read
16
Most read
FBScannerMR-machine for Firebird www.ibsurgeon.com1
Applications send queries to Firebird and receive results via TCP/IP…www.ibsurgeon.com2
What if we will intercept and analyze SQL traffic?www.ibsurgeon.com3
This is exactly what FBScanner does:You can see and log:- SQL queries (statements, parameters, plans)Connections (IP/names, versions of clients, times)
Users (names, times, etc)
Transactions
Errors and their reasons (10054, 10038, etc)www.ibsurgeon.com4
…not only see and log, but take full control and manage itFilter (allow/deny) connections by IPs/NamesIdentify and kill  zombie connectionsSet priorities for Classic instances Mark and manage everything:users, connections, applications, SQLs statements , etcwww.ibsurgeon.com5
Tags are COOL!Tags are special marks set by developer in the SQL source code of applicationsTags help to quickly answer the following (very frequent) questions:What program has launched this query? What is the transaction for this query? Where is this [very long] query from? www.ibsurgeon.com6
Tags are not only COOL, they are easy!Tags allow to assign readable identifiers (names) to Connections, Queries and Transactions. You just need to add these commentaries to the text of SQL:SELECT COUNT(*) FROM RDB$DATABASE/* FBSCANNER$CON_NAME=My_application;FBSCANNER$TR_NAME=Read_only_transaction_N1;FBSCANNER$ST_NAME=Customers_list_query; */www.ibsurgeon.com7
FBScanner also can identify and log security breachesUnsuccessful login attempts100% logging of SQLs, connections and other traffic queries are stored with information about their connection and transactionAll transactions are logged, even rolled back8Who? When? What?www.ibsurgeon.com
ScenariosLet’s quickly walk through the most popular scenarios where FBScanner is used:General monitoringConnections’ managementDebug and test applicationsLoggingwww.ibsurgeon.com9
General monitoringWhat server is doing? CPU/traffic/queriesWho is connected to this or that database?Connections life time. Are any “zombies” at server?Connections activityWhat 20% queries create 80% of server workload?www.ibsurgeon.com
Connections’ managementFilter and close connections (kill and safe disconnect are supported)Set priorities for connections (Classic only) – manually and automatically (rule-based)www.ibsurgeon.com
Debug and test applicationsError in transaction managementOAT (Oldest Active Transaction).Who lost the transaction?Named connections, transactions, queriesFull controlDeveloper can see queries from own and third-party applications (closed sourced)It does not depend on client librariesProblem detectionWrong client library versionBad querieswww.ibsurgeon.com
LoggingConnectionsAll information from FBScannerViewer(database, login, role, IP,PID, etc)TransactionsParameterstpb_nnnResult  (commit or rollback)QueriesSQL statement text with/without parametersStart/end time, CPU TimeWait timePlans (extremely useful to find performance bottlenecks!)www.ibsurgeon.com

More Related Content

PPTX
Firebird's Big Databases (in English)
PDF
HDFS Architecture
PDF
IPFS: The Permanent Web
PPTX
Thread (Operating System)
PPTX
Pig Tutorial | Apache Pig Tutorial | What Is Pig In Hadoop? | Apache Pig Arch...
PPTX
Introduction to YARN and MapReduce 2
ODP
Unix Memory Management - Operating Systems
PPTX
Hadoop YARN | Hadoop YARN Architecture | Hadoop YARN Tutorial | Hadoop Tutori...
Firebird's Big Databases (in English)
HDFS Architecture
IPFS: The Permanent Web
Thread (Operating System)
Pig Tutorial | Apache Pig Tutorial | What Is Pig In Hadoop? | Apache Pig Arch...
Introduction to YARN and MapReduce 2
Unix Memory Management - Operating Systems
Hadoop YARN | Hadoop YARN Architecture | Hadoop YARN Tutorial | Hadoop Tutori...

What's hot (20)

PPTX
Druid+superset
PDF
Productizing Structured Streaming Jobs
PDF
Thomas Lamirault_Mohamed Amine Abdessemed -A brief history of time with Apac...
PPTX
chapter 1 introduction to operating system
DOCX
HARD DISK PARTITIONING,FORMATING
PDF
It's Time To Stop Using Lambda Architecture
PPTX
Deep Dive with Spark Streaming - Tathagata Das - Spark Meetup 2013-06-17
PPT
Shell programming
PDF
How to Bring HCL Nomad Web and Domino Together Without SafeLinx
PDF
April, 2021 OpenNTF Webinar - Domino Administration Best Practices
PDF
VictoriaLogs: Open Source Log Management System - Preview
PDF
Introduction to Hadoop
PDF
DNUG HCL Domino 11 First Look
PPTX
Windows 10
PDF
Mobile operating system
PPTX
When is MyRocks good?
PPTX
RAID seminar
PDF
BWE in Janus
PPT
Practical Malware Analysis: Ch 7: Analyzing Malicious Windows Programs
Druid+superset
Productizing Structured Streaming Jobs
Thomas Lamirault_Mohamed Amine Abdessemed -A brief history of time with Apac...
chapter 1 introduction to operating system
HARD DISK PARTITIONING,FORMATING
It's Time To Stop Using Lambda Architecture
Deep Dive with Spark Streaming - Tathagata Das - Spark Meetup 2013-06-17
Shell programming
How to Bring HCL Nomad Web and Domino Together Without SafeLinx
April, 2021 OpenNTF Webinar - Domino Administration Best Practices
VictoriaLogs: Open Source Log Management System - Preview
Introduction to Hadoop
DNUG HCL Domino 11 First Look
Windows 10
Mobile operating system
When is MyRocks good?
RAID seminar
BWE in Janus
Practical Malware Analysis: Ch 7: Analyzing Malicious Windows Programs
Ad

Similar to FBScanner: IBSurgeon's tool to solve all types of performance problems with Firebird (7)

PDF
Professional tools for Firebird optimization and maintenance from IBSurgeon
PPTX
Superchaging big production systems on Firebird: transactions, garbage, maint...
PDF
Life with big Firebird databases
PDF
Firebird migration: from Firebird 1.5 to Firebird 2.5
PPTX
Migration from Firebird 1.5 to Firebird 2.5
PPTX
Firebird migration: from Firebird 1.5 to Firebird 2.5
PPTX
Resolving Firebird performance problems
Professional tools for Firebird optimization and maintenance from IBSurgeon
Superchaging big production systems on Firebird: transactions, garbage, maint...
Life with big Firebird databases
Firebird migration: from Firebird 1.5 to Firebird 2.5
Migration from Firebird 1.5 to Firebird 2.5
Firebird migration: from Firebird 1.5 to Firebird 2.5
Resolving Firebird performance problems
Ad

More from Alexey Kovyazin (20)

PPTX
High-load performance testing: Firebird 2.5, 3.0, 4.0
PPTX
Fail-Safe Cluster for FirebirdSQL and something more
PPTX
Новые возможности языка SQL в Firebird 3.0
ODP
Firebird recovery tools and techniques by IBSurgeon
ODP
How Firebird transactions work
PPTX
Firebird Anti-Corruption Approach
PDF
Firebird Dataguard (Russian)
PPT
Решения на базе СУБД Firebird в крупных компаниях и государственных учреждени...
PDF
Firebird DataGuard - Еще раз об уверенности в завтрашнем дне
PDF
Firebird usage promo draft
ODP
Firebird 2.5 - вектор дальнейшего развития, Dmitry Yemanov, (in Russian)
ODP
Understandung Firebird optimizer, by Dmitry Yemanov (in English)
PPTX
Firebird: cost-based optimization and statistics, by Dmitry Yemanov (in English)
ODP
СУБД Firebird: Краткий обзор, Дмитрий Еманов (in Russian)
ODP
Open Source: взгляд изнутри, Дмитрий Еманов (The Firebird Project) (in Russian)
PPT
Firebird Scalability, by Dmitry Yemanov (in English)
ODP
Firebird 2.1 What's New by Vladislav Khorsun (English)
ODP
Firebird: Универсальная СУБД. Краткая презентация на Интероп 2008, Дмитрий Ем...
PPT
Firebird Roadmap-2006 Текущее состояние разработки и перспективы развития (in...
ODP
Firebird в 2008: новые возможности и планы по дальнейшему развитию, by Дмитри...
High-load performance testing: Firebird 2.5, 3.0, 4.0
Fail-Safe Cluster for FirebirdSQL and something more
Новые возможности языка SQL в Firebird 3.0
Firebird recovery tools and techniques by IBSurgeon
How Firebird transactions work
Firebird Anti-Corruption Approach
Firebird Dataguard (Russian)
Решения на базе СУБД Firebird в крупных компаниях и государственных учреждени...
Firebird DataGuard - Еще раз об уверенности в завтрашнем дне
Firebird usage promo draft
Firebird 2.5 - вектор дальнейшего развития, Dmitry Yemanov, (in Russian)
Understandung Firebird optimizer, by Dmitry Yemanov (in English)
Firebird: cost-based optimization and statistics, by Dmitry Yemanov (in English)
СУБД Firebird: Краткий обзор, Дмитрий Еманов (in Russian)
Open Source: взгляд изнутри, Дмитрий Еманов (The Firebird Project) (in Russian)
Firebird Scalability, by Dmitry Yemanov (in English)
Firebird 2.1 What's New by Vladislav Khorsun (English)
Firebird: Универсальная СУБД. Краткая презентация на Интероп 2008, Дмитрий Ем...
Firebird Roadmap-2006 Текущее состояние разработки и перспективы развития (in...
Firebird в 2008: новые возможности и планы по дальнейшему развитию, by Дмитри...

Recently uploaded (20)

PDF
Approach and Philosophy of On baking technology
PDF
Electronic commerce courselecture one. Pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPT
Teaching material agriculture food technology
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Cloud computing and distributed systems.
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
A Presentation on Artificial Intelligence
PPTX
MYSQL Presentation for SQL database connectivity
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
Approach and Philosophy of On baking technology
Electronic commerce courselecture one. Pdf
Network Security Unit 5.pdf for BCA BBA.
Agricultural_Statistics_at_a_Glance_2022_0.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
Reach Out and Touch Someone: Haptics and Empathic Computing
Teaching material agriculture food technology
Chapter 3 Spatial Domain Image Processing.pdf
Unlocking AI with Model Context Protocol (MCP)
Cloud computing and distributed systems.
MIND Revenue Release Quarter 2 2025 Press Release
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Programs and apps: productivity, graphics, security and other tools
Review of recent advances in non-invasive hemoglobin estimation
Digital-Transformation-Roadmap-for-Companies.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
A Presentation on Artificial Intelligence
MYSQL Presentation for SQL database connectivity
The Rise and Fall of 3GPP – Time for a Sabbatical?

FBScanner: IBSurgeon's tool to solve all types of performance problems with Firebird

  • 2. Applications send queries to Firebird and receive results via TCP/IP…www.ibsurgeon.com2
  • 3. What if we will intercept and analyze SQL traffic?www.ibsurgeon.com3
  • 4. This is exactly what FBScanner does:You can see and log:- SQL queries (statements, parameters, plans)Connections (IP/names, versions of clients, times)
  • 7. Errors and their reasons (10054, 10038, etc)www.ibsurgeon.com4
  • 8. …not only see and log, but take full control and manage itFilter (allow/deny) connections by IPs/NamesIdentify and kill zombie connectionsSet priorities for Classic instances Mark and manage everything:users, connections, applications, SQLs statements , etcwww.ibsurgeon.com5
  • 9. Tags are COOL!Tags are special marks set by developer in the SQL source code of applicationsTags help to quickly answer the following (very frequent) questions:What program has launched this query? What is the transaction for this query? Where is this [very long] query from? www.ibsurgeon.com6
  • 10. Tags are not only COOL, they are easy!Tags allow to assign readable identifiers (names) to Connections, Queries and Transactions. You just need to add these commentaries to the text of SQL:SELECT COUNT(*) FROM RDB$DATABASE/* FBSCANNER$CON_NAME=My_application;FBSCANNER$TR_NAME=Read_only_transaction_N1;FBSCANNER$ST_NAME=Customers_list_query; */www.ibsurgeon.com7
  • 11. FBScanner also can identify and log security breachesUnsuccessful login attempts100% logging of SQLs, connections and other traffic queries are stored with information about their connection and transactionAll transactions are logged, even rolled back8Who? When? What?www.ibsurgeon.com
  • 12. ScenariosLet’s quickly walk through the most popular scenarios where FBScanner is used:General monitoringConnections’ managementDebug and test applicationsLoggingwww.ibsurgeon.com9
  • 13. General monitoringWhat server is doing? CPU/traffic/queriesWho is connected to this or that database?Connections life time. Are any “zombies” at server?Connections activityWhat 20% queries create 80% of server workload?www.ibsurgeon.com
  • 14. Connections’ managementFilter and close connections (kill and safe disconnect are supported)Set priorities for connections (Classic only) – manually and automatically (rule-based)www.ibsurgeon.com
  • 15. Debug and test applicationsError in transaction managementOAT (Oldest Active Transaction).Who lost the transaction?Named connections, transactions, queriesFull controlDeveloper can see queries from own and third-party applications (closed sourced)It does not depend on client librariesProblem detectionWrong client library versionBad querieswww.ibsurgeon.com
  • 16. LoggingConnectionsAll information from FBScannerViewer(database, login, role, IP,PID, etc)TransactionsParameterstpb_nnnResult (commit or rollback)QueriesSQL statement text with/without parametersStart/end time, CPU TimeWait timePlans (extremely useful to find performance bottlenecks!)www.ibsurgeon.com
  • 17. Overhead of FBScanner – less than 15% (with 250 connections)www.ibsurgeon.com
  • 18. LicensingPermanent per server – EUR 199/USD 299For Tech Support – EUR 990/USD 1399 Allows to setup up to 250 servers for 1 month eachFor ISV (run time bundles) – special prices and royalty agreement (no up front payments)Purchase here http://www.ibsurgeon.com/products/firebird_interbase/monitoring/FBScanner15www.ibsurgeon.com
  • 19. What next?Download trial http://www.ibsurgeon.com/download/FBScannerTrial.zipRead feature matrixhttp://www.ibsurgeon.com/download/docs/fbscanner_feature_matrix_eng.pdfAsk your questions: General – support@ib-aid.com ISVs – isv@ib-aid.com16www.ibsurgeon.com