ASE121  Adaptive Server Enterprise--Recent Developments and Future Plans in System Management Peter Dorfman Senior Staff S...
<ul><li>Sybase System Management Universe </li></ul><ul><li>System Management Objectives </li></ul><ul><li>ASE System Mana...
The System Management Universe Sybase Customers Vendors Partners Who develops system management tools?
Software Resources   <ul><li>Sybase, Inc. </li></ul><ul><li>Sybase Partners </li></ul><ul><ul><li>BMC Software </li></ul><...
Sybase’s Goals <ul><li>Reduce cost of ownership through system management features </li></ul><ul><li>Build tools to suppor...
Commitment to Improvement <ul><li>We are investing in products such as the ASE Plug-in, DBXray and Installer </li></ul><ul...
Reducing Cost of Ownership <ul><ul><li>Improve  ease of use  </li></ul></ul><ul><ul><ul><li>For the ASE and management too...
<ul><li>The ASE is already one of the easiest databases to manage </li></ul><ul><li>We are adding new features and tools t...
Still Farther to Go … <ul><li>Some areas we will be working on: </li></ul><ul><li>Enterprise features </li></ul><ul><li>AS...
ASE System Management Features in ASE 12.5 and Beyond
ASE System Management Tools <ul><li>Sybase Central ASE Plug-in </li></ul><ul><li>Monitor Server </li></ul><ul><li>Historic...
New System Management Features: ASE 12.5 <ul><li>ASE Plugin Java Edition </li></ul><ul><ul><li>100% java </li></ul></ul><u...
New System Management Features: ASE 12.5 <ul><li>ASE Replicator and Replicator Manager </li></ul><ul><ul><li>New “light we...
New Features: 12.5.0.3 and Beyond… <ul><li>ASE Monitoring Tables </li></ul><ul><ul><li>SQL access to process-, object- and...
ASE Plugin to Sybase Central <ul><li>Complete support for managing your ASE </li></ul><ul><li>Fully rewritten in Java for ...
ASE Plugin: New in 12.5.1 <ul><li>Table data view </li></ul><ul><li>Job Scheduler </li></ul><ul><li>Logging of SQL for ASE...
ASE Plugin: Examples Table Data View SQL Log Server Shutdown Wizard
ASE Plugin: Directions <ul><li>Increased information about sessions  </li></ul><ul><ul><li>Resource usage, SQL Text, block...
DDLGen Utility <ul><li>Introduced in ASE 12.5 </li></ul><ul><li>Command line utility for generating DDL for an existing da...
ASE Monitoring Tables <ul><li>Available in ASE 12.5.0.3 Release and later </li></ul><ul><li>Full SQL language support for ...
Monitoring Tables: Example Show object with Largest # of pages in Default data cache Show all objects in default data cache
Monitoring Tables: Example Show the currently executing query and user with the greatest amount of CPU time select s.SPID,...
Job Scheduler <ul><li>Available in ASE 12.5.1 </li></ul><ul><li>Create jobs and execute them according to a schedule </li>...
Job Scheduler: Example Create  Scheduled Jobs Review Job  Status Manage Job Properties
Self-Management: ob Scheduler Templates <ul><li>Make life easier by reducing steps to schedule a task </li></ul><ul><li>Au...
Self-Management: ob Scheduler Templates <ul><li>Templates planned for ASE 12.5.1 </li></ul><ul><ul><li>Database backup </l...
Migration Tool <ul><li>Introduced in ASE 12.5.0.1 release </li></ul><ul><ul><li>ASE 12.5 introduced larger page sizes </li...
Migration Tool <ul><li>Migrate data between ASE servers </li></ul><ul><li>Database schema and data migration </li></ul><ul...
PowerTransfer <ul><li>Data migration utility </li></ul><ul><li>Extension (Plugin) to PowerDesigner’s Physical Architect Mo...
PowerTransfer: Example Server Login Table Selection
SNMP Subagent for ASE <ul><li>Available in ASE 12.5.0.2 for Apple OS X </li></ul><ul><ul><li>Available on all platforms so...
SNMP Subagent Architecture ASE OpenServer (Backupserver) OpenServer (Monitor Server} <ul><li>Server Status </li></ul><ul><...
<ul><li>Released in ASE 12.5 </li></ul><ul><li>Separately licensed Windows GUI application </li></ul><ul><li>Identifies, e...
SQL Expert: Results <ul><li>Scans existing SQL procedures </li></ul><ul><ul><li>In database </li></ul></ul><ul><ul><li>Fro...
SQL Expert: Finds and Fixes Problematic SQL Scans your stored procedures or scripts Identifies problematic SQL
SQL Expert: Recommendations Recommends more efficient query formulations Measures query performance
ASE Performance Monitoring: BMC DB Xray <ul><li>Graphical performance monitoring tool </li></ul><ul><li>Separately license...
DB Xray: Main Screen Number of connections And high-water mark Potential problem alerts And hints Data Cache Efficiency Da...
DB Xray: Users Screen User List SQL Text (and Query Plan) Process Wait State History Statement Statistics
Time for Your Comments… <ul><li>What are your most important  </li></ul><ul><li>system management tasks? </li></ul><ul><li...
Upcoming SlideShare
Loading in …5
×

The Sybase System Management Universe ASE System Management ...

560 views
440 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
560
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
13
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Sybase SQL Expert is a powerful yet easy to use Windows-based tool, which identifies, evaluates and rewrites your SQL statements according to your database structure, indexes and data distribution to produce top-performance SQL statements. Even if you are not familiar with the internal workings of the RDBMS, Sybase SQL Expert will help you achieve significant performance enhancements. Sybase SQL Expert built-in unique Feedback-Searching engine using Artificial Intelligence adds a new dimension to SQL tuning, and transforms the tedious task of manual tuning by eliminating the need for human intervention. Sybase SQL Expert rewrites your input SQL statement and produces as many alternatives as possible in order to achieve optimum performance. You no longer need to put up with slow performing database applications because Sybase SQL Expert will provide you with the best SQL solution.
  • The Sybase System Management Universe ASE System Management ...

    1. 1. ASE121 Adaptive Server Enterprise--Recent Developments and Future Plans in System Management Peter Dorfman Senior Staff Software Engineer [email_address] August 5, 2003
    2. 2. <ul><li>Sybase System Management Universe </li></ul><ul><li>System Management Objectives </li></ul><ul><li>ASE System Management Features in ASE 12.5 and beyond </li></ul><ul><li>Feature Details </li></ul><ul><li>Your comments and questions </li></ul>Presentation Contents
    3. 3. The System Management Universe Sybase Customers Vendors Partners Who develops system management tools?
    4. 4. Software Resources <ul><li>Sybase, Inc. </li></ul><ul><li>Sybase Partners </li></ul><ul><ul><li>BMC Software </li></ul></ul><ul><ul><li>Leccotech </li></ul></ul><ul><ul><li>PeopleSoft </li></ul></ul><ul><li>Software Vendors </li></ul><ul><ul><li>Quest Software </li></ul></ul><ul><ul><li>White Sands Technology </li></ul></ul><ul><ul><li>Embarcadero Technologies </li></ul></ul><ul><li>Sybase Community </li></ul><ul><ul><li>Sybase Developers Network/CodeXchange </li></ul></ul><ul><ul><li>Shareware sources </li></ul></ul><ul><li>Customers </li></ul><ul><ul><li>In-house developers </li></ul></ul><ul><ul><li>Customized applications </li></ul></ul>
    5. 5. Sybase’s Goals <ul><li>Reduce cost of ownership through system management features </li></ul><ul><li>Build tools to support ASE product features and operational requirements </li></ul><ul><li>Support system management vendors and partners in bringing new products to market </li></ul><ul><li>Provide tools for customers who develop management tools </li></ul>
    6. 6. Commitment to Improvement <ul><li>We are investing in products such as the ASE Plug-in, DBXray and Installer </li></ul><ul><li>We are working with partners and vendors to help provide and improve their tools </li></ul><ul><li>We are working with the Sybase community to make additional tools available </li></ul><ul><ul><li>E.g., through the SDN CodeXchange forums </li></ul></ul><ul><li>We want YOUR ideas and input! </li></ul>
    7. 7. Reducing Cost of Ownership <ul><ul><li>Improve ease of use </li></ul></ul><ul><ul><ul><li>For the ASE and management tools </li></ul></ul></ul><ul><ul><li>Reduce complexity </li></ul></ul><ul><ul><ul><li>To make powerful ASE features more accessible and easy to understand </li></ul></ul></ul><ul><ul><li>Leverage existing skills and resources </li></ul></ul><ul><ul><ul><li>So that you can spend your time on important tasks </li></ul></ul></ul>
    8. 8. <ul><li>The ASE is already one of the easiest databases to manage </li></ul><ul><li>We are adding new features and tools to make it easier </li></ul><ul><ul><li>Job Scheduler </li></ul></ul><ul><ul><li>Self-management features </li></ul></ul><ul><ul><li>DBXray </li></ul></ul><ul><li>We welcome your input on improvements in this area </li></ul>Improving Ease of Use
    9. 9. Still Farther to Go … <ul><li>Some areas we will be working on: </li></ul><ul><li>Enterprise features </li></ul><ul><li>ASE Plug-in improvements </li></ul><ul><ul><li>Support for common tasks such as security management, backup management and troubleshooting </li></ul></ul><ul><li>Data movement </li></ul><ul><li>Integration with Replication Server </li></ul><ul><li>Index tuning </li></ul><ul><li>Space management </li></ul>
    10. 10. ASE System Management Features in ASE 12.5 and Beyond
    11. 11. ASE System Management Tools <ul><li>Sybase Central ASE Plug-in </li></ul><ul><li>Monitor Server </li></ul><ul><li>Historical Server </li></ul><ul><li>DDLGen </li></ul><ul><li>DBXray for Sybase </li></ul><ul><li>Migration Tool </li></ul><ul><li>Monitoring Tables </li></ul><ul><li>SNMP Subagent </li></ul><ul><li>Job Scheduler </li></ul><ul><li>Sp_sysmon </li></ul><ul><li>SQL Expert </li></ul><ul><li>SQL Debugger </li></ul><ul><li>PowerTransfer </li></ul>
    12. 12. New System Management Features: ASE 12.5 <ul><li>ASE Plugin Java Edition </li></ul><ul><ul><li>100% java </li></ul></ul><ul><ul><li>Runs on all ASE platforms </li></ul></ul><ul><ul><li>Highest level support for ASE </li></ul></ul><ul><li>DDLGen Utility </li></ul><ul><ul><li>Command line utility also available in ASE Plugin </li></ul></ul><ul><li>SQL Debugger API </li></ul><ul><ul><li>Enhanced SQL debugging also used by some vendors </li></ul></ul><ul><li>SQL Expert </li></ul><ul><ul><li>Identifies poorly performing queries </li></ul></ul><ul><ul><li>Provides automated SQL tuning recommendations </li></ul></ul>
    13. 13. New System Management Features: ASE 12.5 <ul><li>ASE Replicator and Replicator Manager </li></ul><ul><ul><li>New “light weight” data replicator </li></ul></ul><ul><li>Migration Tool </li></ul><ul><ul><li>Supports migration to larger page size </li></ul></ul><ul><ul><li>Support for cross-platform migration </li></ul></ul><ul><li>SQL Advantage (back by popular demand!) </li></ul><ul><li>SNMP Subagent </li></ul><ul><ul><li>AgentX protocol subagent </li></ul></ul><ul><ul><li>Available from Sybase Developer Network </li></ul></ul>
    14. 14. New Features: 12.5.0.3 and Beyond… <ul><li>ASE Monitoring Tables </li></ul><ul><ul><li>SQL access to process-, object- and resource-level performance monitoring data </li></ul></ul><ul><li>DBXray </li></ul><ul><ul><li>Graphical performance monitor (at last!) </li></ul></ul><ul><ul><li>State of the art detailed “real-time” diagnostic information </li></ul></ul><ul><li>ASE Job Scheduler (ASE 12.5.1) </li></ul><ul><ul><li>Support for scheduled backups, DBCC, update stats, reports, etc. </li></ul></ul><ul><ul><li>Pre-defined templates for common tasks </li></ul></ul><ul><li>Improved Installation: InstallShield </li></ul><ul><ul><li>GUI, character mode and scripted installation </li></ul></ul><ul><ul><li>For all release types </li></ul></ul>
    15. 15. ASE Plugin to Sybase Central <ul><li>Complete support for managing your ASE </li></ul><ul><li>Fully rewritten in Java for ASE 12.5 release </li></ul><ul><li>Runs on all ASE Platforms </li></ul><ul><li>Supports new ASE features including EJB Server, HA, ASE Replicator, expanded column and page sizes, multiple tempdb </li></ul><ul><li>Future features will improve usability and enterprise administration </li></ul><ul><li>Section 508 Compliant </li></ul>
    16. 16. ASE Plugin: New in 12.5.1 <ul><li>Table data view </li></ul><ul><li>Job Scheduler </li></ul><ul><li>Logging of SQL for ASE Plugin commands </li></ul><ul><li>Non-ASE proxy data sources </li></ul><ul><li>Portable database support </li></ul><ul><li>Disk Resize </li></ul><ul><li>Improved process and lock monitoring </li></ul><ul><li>Section 508 accessibility compliance </li></ul>
    17. 17. ASE Plugin: Examples Table Data View SQL Log Server Shutdown Wizard
    18. 18. ASE Plugin: Directions <ul><li>Increased information about sessions </li></ul><ul><ul><li>Resource usage, SQL Text, blocking </li></ul></ul><ul><li>SQL pre-view and editing of commands </li></ul><ul><li>Access to ASE errorlog </li></ul><ul><li>Improved and new wizards </li></ul><ul><li>Performance improvements </li></ul>
    19. 19. DDLGen Utility <ul><li>Introduced in ASE 12.5 </li></ul><ul><li>Command line utility for generating DDL for an existing database or individual objects </li></ul><ul><ul><li>Tables, indexes, triggers, etc. </li></ul></ul><ul><li>Available on all platforms </li></ul><ul><li>Also used by Sybase Central ASE Plugin to generate DDL for objects </li></ul><ul><li>Will continue to support new object types in future releases </li></ul>
    20. 20. ASE Monitoring Tables <ul><li>Available in ASE 12.5.0.3 Release and later </li></ul><ul><li>Full SQL language support for access to detailed monitoring data </li></ul><ul><li>Tables include data caches, locks, SQL statement statistics, SQL Text, system and process wait states, device and network IO…. </li></ul><ul><li>Filter, join, analyze performance data: </li></ul><ul><ul><li>E.g., Process wait time, data cache object usage </li></ul></ul><ul><li>Access performance data from remote servers via CIS </li></ul><ul><li>Useful to DBA’s and system management vendors </li></ul>
    21. 21. Monitoring Tables: Example Show object with Largest # of pages in Default data cache Show all objects in default data cache
    22. 22. Monitoring Tables: Example Show the currently executing query and user with the greatest amount of CPU time select s.SPID, suser_name(p.suid), s.CpuSeconds, t.LineNumber, t.SQLText from monProcessStatement s, monProcessSQLText t, sysprocesses p where s.CpuSeconds=(select max(CpuSeconds) from monProcessStatement) and s.SPID = t.SPID and p.SPID = s.SPID
    23. 23. Job Scheduler <ul><li>Available in ASE 12.5.1 </li></ul><ul><li>Create jobs and execute them according to a schedule </li></ul><ul><li>Perform backups, DBCC’s, update statistics, reorgs, reports, etc. on a scheduled – hands-off - basis </li></ul><ul><li>Job results are logged to allow problem analysis </li></ul><ul><li>Job and Schedule definitions can be shared by multiple users </li></ul><ul><li>Supports job definition through: </li></ul><ul><ul><li>GUI Interface in Sybase Central </li></ul></ul><ul><ul><li>SQL Language interface </li></ul></ul>
    24. 24. Job Scheduler: Example Create Scheduled Jobs Review Job Status Manage Job Properties
    25. 25. Self-Management: ob Scheduler Templates <ul><li>Make life easier by reducing steps to schedule a task </li></ul><ul><li>Automate common management and configuration tasks </li></ul><ul><li>Shortcuts for </li></ul><ul><li>defining common jobs </li></ul><ul><li>Jobs execute on threshold or time basis </li></ul>
    26. 26. Self-Management: ob Scheduler Templates <ul><li>Templates planned for ASE 12.5.1 </li></ul><ul><ul><li>Database backup </li></ul></ul><ul><ul><li>Dump transaction </li></ul></ul><ul><ul><li>Update statistics </li></ul></ul><ul><ul><li>Delete statistics </li></ul></ul><ul><ul><li>Reorg rebuild table or index </li></ul></ul><ul><ul><li>Reorg reclaim space </li></ul></ul><ul><ul><li>Reconfigure </li></ul></ul><ul><ul><ul><li>User connections </li></ul></ul></ul><ul><ul><ul><li>Metadata cache </li></ul></ul></ul><ul><ul><ul><li>Number of locks </li></ul></ul></ul>
    27. 27. Migration Tool <ul><li>Introduced in ASE 12.5.0.1 release </li></ul><ul><ul><li>ASE 12.5 introduced larger page sizes </li></ul></ul><ul><li>Use to move existing data from an ASE using 2K page size to one using larger page size </li></ul><ul><ul><li>Supports cross-platform move in 12.5.0.3 </li></ul></ul><ul><li>Automates schema and data movement processes </li></ul><ul><ul><li>Generates and applies database DDL </li></ul></ul><ul><ul><li>Copies data to target server using CIS </li></ul></ul><ul><li>Easier than recreating database and </li></ul><ul><li>using BCP </li></ul>
    28. 28. Migration Tool <ul><li>Migrate data between ASE servers </li></ul><ul><li>Database schema and data migration </li></ul><ul><li>Graphical selection of source and target servers and objects and migration status </li></ul><ul><li>Used to increase page size or move databases </li></ul>
    29. 29. PowerTransfer <ul><li>Data migration utility </li></ul><ul><li>Extension (Plugin) to PowerDesigner’s Physical Architect Module </li></ul><ul><ul><li>Based on PowerDesigner 9.5.1 </li></ul></ul><ul><li>Launched by PowerDesigner, and uses Data Model to identify tables to be copied </li></ul><ul><li>Assumes that Schema has been pushed from source DBMS to ASE </li></ul><ul><li>Supports importing data from MS SQL Server, Oracle, DB2, ASE 12.5 and earlier </li></ul>
    30. 30. PowerTransfer: Example Server Login Table Selection
    31. 31. SNMP Subagent for ASE <ul><li>Available in ASE 12.5.0.2 for Apple OS X </li></ul><ul><ul><li>Available on all platforms soon </li></ul></ul><ul><li>Uses Java AgentX implementation </li></ul><ul><li>Downloadable opensource from SDN </li></ul><ul><li>SNMP Version 2c support </li></ul><ul><li>Support for standard MIBS: </li></ul><ul><ul><li>RDBMS MIB RFC 1697 </li></ul></ul><ul><ul><li>Network Service MIB RFC 2248 </li></ul></ul><ul><li>Implementation of Sybase Proprietary MIB </li></ul><ul><li>Server monitoring and trap notification for server state changes. </li></ul><ul><li>Trap notification for ASE errors through sp_errornotify </li></ul><ul><li>Monitoring of Sybase ASE and Open Servers. </li></ul>
    32. 32. SNMP Subagent Architecture ASE OpenServer (Backupserver) OpenServer (Monitor Server} <ul><li>Server Status </li></ul><ul><li>RDBMS MIB </li></ul><ul><li>Error traps </li></ul><ul><li>sp_errornotify </li></ul><ul><li>Server up/down </li></ul>SNMP Subagent Management Applications Notification Monitoring ASE OpenServer
    33. 33. <ul><li>Released in ASE 12.5 </li></ul><ul><li>Separately licensed Windows GUI application </li></ul><ul><li>Identifies, evaluates and rewrites SQL statements according to the database structure, indexes and data distribution. </li></ul><ul><li>Uses a unique technology based on Artificial Intelligence to rewrite SQL statements. </li></ul><ul><li>Automates the SQL tuning process </li></ul><ul><li>Recommends SQL improvements </li></ul><ul><li>Eliminates the need for manual tuning </li></ul><ul><li>Solution for inexperienced and experienced SQL tuners </li></ul>Sybase SQL Expert SQL
    34. 34. SQL Expert: Results <ul><li>Scans existing SQL procedures </li></ul><ul><ul><li>In database </li></ul></ul><ul><ul><li>From disk files </li></ul></ul><ul><li>Monitors SQL queries in running server </li></ul><ul><li>Identifies “problematic” SQL according to customized standards </li></ul><ul><li>Determines all semantically equivalent alternative queries </li></ul><ul><li>Performs performance benchmarks of each alternative query </li></ul><ul><li>Identifies most efficient query formulation </li></ul><ul><ul><li>By initial response time or overall time </li></ul></ul>
    35. 35. SQL Expert: Finds and Fixes Problematic SQL Scans your stored procedures or scripts Identifies problematic SQL
    36. 36. SQL Expert: Recommendations Recommends more efficient query formulations Measures query performance
    37. 37. ASE Performance Monitoring: BMC DB Xray <ul><li>Graphical performance monitoring tool </li></ul><ul><li>Separately licensed and supported by Sybase </li></ul><ul><li>Developed in partnership by Sybase and BMC Software, Inc. </li></ul><ul><li>Provides real-time information on system resource utilization, performance and tuning </li></ul><ul><ul><li>User details (statistics, current SQL, query plan) </li></ul></ul><ul><ul><li>Database space usage and object statistics </li></ul></ul><ul><ul><li>Resource high-water marks </li></ul></ul><ul><ul><li>Data and procedure caches, disk devices, network IO, etc… </li></ul></ul><ul><li>Identifies performance problems and provides tuning recommendations </li></ul><ul><li>User-defined alerts </li></ul>
    38. 38. DB Xray: Main Screen Number of connections And high-water mark Potential problem alerts And hints Data Cache Efficiency Database Space Usage Locks Server Error Log 24 Hour Graph
    39. 39. DB Xray: Users Screen User List SQL Text (and Query Plan) Process Wait State History Statement Statistics
    40. 40. Time for Your Comments… <ul><li>What are your most important </li></ul><ul><li>system management tasks? </li></ul><ul><li>What system management tools do you use? </li></ul><ul><li>What system management tools and features do you want to see? </li></ul><ul><li>We welcome your questions </li></ul><ul><li>and comments… </li></ul>Thank you! [email_address]

    ×