300-910 · Question #121
Clients of a large electronic retail store report that they are not getting the proper items when they go to check out. Unfortunately, they only see this when dealing with the phone application and no
The correct answer is A. Check and improve the SQL.. When AppDynamics identifies a database-related bottleneck causing application slowness, the first corrective action is to review and optimize the specific SQL queries being executed.
Question
Options
- ACheck and improve the SQL.
- BUse Oracle and not MySQL.
- CReview and optimize the UI design.
- DRedesign and optimize the database.
How the community answered
(33 responses)- A76% (25)
- B6% (2)
- C15% (5)
- D3% (1)
Why each option
When AppDynamics identifies a database-related bottleneck causing application slowness, the first corrective action is to review and optimize the specific SQL queries being executed.
AppDynamics APM captures slow SQL queries within transaction snapshots and Call Graphs, and the root cause of database-related slowness is most commonly inefficient SQL such as missing indexes, full table scans, or N+1 query problems; reviewing and improving the SQL directly and immediately addresses the identified bottleneck without requiring infrastructure or schema changes.
Switching from MySQL to Oracle addresses database platform differences but does not resolve SQL query inefficiency; a poorly written query will perform slowly on any database platform.
Reviewing and optimizing the UI design addresses front-end presentation concerns and would not resolve a backend database performance bottleneck already identified via APM instrumentation.
Redesigning and optimizing the database schema is a larger architectural change that may eventually be warranted, but the first and most targeted action for an identified SQL bottleneck is to analyze and fix the specific slow queries executing against the existing schema.
Concept tested: AppDynamics database bottleneck resolution via SQL query optimization
Source: https://docs.appdynamics.com/appd/23.x/latest/en/application-monitoring/troubleshoot-application-performance/slow-response-times
Topics
Community Discussion
No community discussion yet for this question.