@sap/hana-performance-tools
v1.9.2
Published
SAP HANA SQL Analyzer for Visual Studio Code
Readme
SAP HANA SQL Analyzer for Visual Studio Code
The SQL analyzer tool for SAP HANA is a performance analysis tool that helps developers visualize and understand SQL execution plans. Designed for query tuning and optimization, it offers detailed insights into how queries run within the SAP HANA database.
This extension replaces earlier tools like PlanViz in SAP HANA studio and the SQL analyzer in SAP HANA cockpit, delivering a more integrated and flexible experience directly in Visual Studio Code.
The GitHub repository is the central hub for development updates, release notes, downloads, usage guides, and issue tracking.
Features
SQL Analyzer for Visual Studio Code is still under heavy development. Here are some highlighted features:
- Live connection support (Note: connection details will be stored in SecretStorage.)
- Load multiple PLV files and keep the history
- Visualize query plans in PLV into plan graph
- Quick analysis support
- Critical path visualization
- Bookmark and sharing (Note: Personal data can be anonymized and the comments can be deleted by users.)
- Recommendations
- SQL Plan Execution Monitor for real-time analysis
- Advanced UX
How To Install
- Install Visual Studio Code if not installed already (>= 1.53.0 is required because the extension is relying on the APIs from that version).
- Open VSCode and click Extensions tab (puzzle icon) from the left side menu bar
- Search for 'SAP HANA SQL Analyzer' and install Visual Studio Code Extension file (vsc-extension-sa-.vsix) of this new SQL Analyzer from VSCode Marketplace.
- Once the installation is completed, the new SQL Analyzer icon will be added in the left side menu.
How To Use
- Go to SQL Analyzer extension (by clicking the last extension icon from the left side menu)
- Click (+) icon from the top PLAN GRAPHS section in the left side panel.
- Select a PLV file from the file open dialog to show the visualized plan.
Documentation
SQL Analyzer Extension - SAP Help Portal
Telemetry and Data Collection
This extension collects usage data to help improve SAP products and enhance the user experience. The collected data is sent to SAP in accordance with our Privacy Statement.
If you prefer not to share usage data, you can disable telemetry by setting sapbas.telemetryEnabled to false in your VS Code settings.
Feedbacks
Please provide your feedback through ServiceNow using the component HAN-BAS-SA.
License
This extension is provided under the terms of the SAP Developer License Agreement.
