Administración de Bases de Datos Embarcadero DBOptimizer Raul Merida Servicios Profesionales Haciendo Visible lo invisible
Agenda Desafíos en la gestión de Bases de Datos Qué es DBOptimizer Funciones Características Generación de valor con DBOptimizer Demostración del producto Conclusiones
Desafíos de los SGBD Enterprise Customers Mission Critical Applications OLTP and DW! Multi-tiered applications (web, app, DB) Multiple colors & versions of DBMGR Multiples Instances. Multiple Host OS s. Virtualization Enterpise SAN Storage High Uptime Requirements often 24 x 7 web based apps. Geographically Dispersed Operations High Performance Requirements Increasing work load over time Increasing DB size over time Being able to react quickly to the increasing pace of change Complexity Doing more with less
El mito de la escalabilidad Tiempos de respuesta sostenibles en el tiempo Que pasa si la carga de trabajo aumenta un 50%? Esta previsto el crecimiento del volumen de datos? Volumen de Logs? Hay relación entre el crecimiento del sector/negocio/db?
Gestionar la complejidad
Que es DBOptimizer? Embarcadero DB Optimizer is a SQL profiling and tuning IDE that enables DBAs and developers to quickly discover, diagnose, and optimize poor-performing SQL Performance and tuning tool Targeted for QA and Dev Early resolution for performance problems
Funciones Discover: graphical visualization of wait-time analysis to easily pinpoint the SQL causing poor database performance Diagnose: drill down into detailed activity statistics for individual SQL statements, events and sessions Optimize: batch tuning of DML statements, stored routines, and entire SQL files Collaborate: Before DB Optimizer: Developers blame the database After DB Optimizer: Ends the blame game, Opens discussion, Enables collaboration
Mejora las buenas prácticas Performance issues? Take a profile snapshot Diagnose bottlenecks Tune top SQL Advanced analysis and tuning Not good enough? Profile and stress test to validate Database performance issues happen to developers (Rapid SQL and RAD Studio users), QA Engineers (load testing and performance testing), and DBAs (DBArtisan users) There are opportunities for these roles to collaborate using DB Optimizer Sharing a profile session snapshot for focused diagnosis and root cause analysis Profile session snapshots can be captured during stress testing by the developer, during load testing by the QA engineer, and in production by the DBA Stress testing in the Load Editor helps validate performance gains Index Analysis and VST diagrams are innovations in tuning that allow for advanced tuning techniques to be delivered to a wider audience to make more experts and streamline troubleshooting
Problemas habituales Questions to Ask DBAs How do you manage unexpected SQL performance problems? How much time do you spend trying to deal with these problems? Do you have a profiling tool? How about a stress-test evaluation? What are you using to tune SQL code? If working with multiple DBMSs: Do you have different profiling and tuning tools for each DBMS? Questions for Developers and QA Engineers Are you writing SQL code? How do you tune it? What if you could do some stress testing on the SQL code and then re-tune before you had it over to the DBAs or QA? How can you and/or QA be sure the SQL code will perform in production?
Características SQL tuning DB Optimizer goes beyond hint injections and SQL rewrites to offer innovative features for faster and more advanced SQL tuning and analysis Visual SQL Tuning (VST) VST diagram displays indexes and constraints on tables and views, as well as the joins used in a SQL statement such as Cartesian joins, implied Cartesian joins and many-to-many relationships Index Analysis Color-coded Index Analysis feature shows indexes that are used (green), not used (blue), or missing (orange) and offers indexing recommendations for optimum performance.
Características Stress testing and rounding out profiling details Load Editor SQL stress testing (or load testing) simulates a number of parallel users and executions over a specific period of time Profile Details Profiling details of the SQL Profiler have been expanded to show Session Details for Sybase, and SQL Server and the SQL that ran in the selected session for Sybase, SQL Server, and DB2.
Quién obtiene valor con DBOptimizer? Dev / QA Give visibility into performance of the db Easy to use (don t have to learn DBA stuff) Safe: low over head and read only for profiling DBAs Provides a common tool for dialoging with Dev and Qas IT Manager/Director Use in meetings with DBAs, Devs, QA Aid in discussions issues and making decision ` Help determine where to allocate resources: dev, DBA or machine
Demostración del Producto
Conclusiones Administración de Bases de Datos Mejorada Mejora desempeño de DBAs ROI Ahorro de recursos. Dinámica del negocio Mitigación de la Degradación y Riesgos
Muchas gracias por vuestra atención Raul Merida sp@danysoft.com