[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-496753-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-496753-en":130},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","application-tracing-in-adaptive-server-enterprise-ase-15-motivation-feature-overview","Application Tracing in Adaptive Server Enterprise (ASE) 15 - Motivation - Feature Overview","","Describes the Application Tracing feature in Sybase Adaptive Server Enterprise (ASE) 15.0.2, designed to capture server-side execution-level traces for a specific running client session. It addresses limits of traditional diagnostic options that typically require stopping apps and changing SQL client code. The paper explains how privileged users enable diagnostic options per session, redirect trace output to a file, identify sessions via SPID, and extend tracing to specific logins using login triggers, covering motivations and core capabilities.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/application-tracing-in-adaptive-server-enterprise-ase-15-motivation-feature-overview/496753/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/application-tracing-in-adaptive-server-enterprise-ase-15-motivation-feature-overview/496753.png","ImageObject",300,407,{"name":42,"@type":43},"CatatanPagi","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-25","2026-10-02",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",7,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"Why is Application Tracing needed in ASE 15.0.2?","Question",{"text":63,"@type":64},"Traditional tracing requires access to SQL client sessions and often forces stopping applications and modifying code to enable diagnostics. Application Tracing enables capturing server-side execution details for running client sessions without code changes.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How does a user start tracing for a specific session?",{"text":68,"@type":64},"Determine the session SPID (Server Process ID) and issue the command set tracefile \"\u003Cfile-path>\" for \u003Cspid>, then enable supported diagnostic options for that session.",{"name":70,"@type":61,"acceptedAnswer":71},"How can tracing be applied to a specific login?",{"text":72,"@type":64},"The database administrator creates a login trigger (a SQL stored procedure executed at login time) for the target login and grants permissions so that the login can trace itself, as described in the use-case section.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},496753,1791248047,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,106,110,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":103,"show_sort_weight":104,"slug":105},6,"Technology",50,"technology",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":112,"slug":113},8,30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":111,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":144,"read_time":112,"preview_page_count":33,"preview_urls":145},962090894170,"https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","Application Tracing in Adaptive Server􀀁 Enterprise (ASE) 15  \nMehul Wagle and Nitin Verma  \nServer Performance Engineering and Development Group  \nSybase, Inc.  \nTable of contents  \n1. Motivation ........................................................................................................................................ 3  \n2. Feature Overview .......................................................................................................................... 3  \n3. Command Interface ..................................................................................................................... 4  \n3.1 How to enable tracing ............................................................................................................. 4  \n3.2 How to disable tracing ............................................................................................................ 4  \n4. Scope of the feature...................................................................................................................... 4  \n4.1 How to trace SQL Text ............................................................................................................ 6  \n5. Use Cases .......................................................................................................................................... 7  \n5.1 How to trace a specific client session .................................................................................... 7  \n5.2 How to trace sessions of a specific login............................................................................... 8  \n5.3 How to find which sessions are being traced .................................................................... 10  \n5.4 How to rebind to an existing trace ...................................................................................... 10  \n5.5 How to create trace output file at various paths .............................................................. 11  \n6. Restrictions/Limitations.......................................................................................................... 11  \n7. Conclusion ..................................................................................................................................... 12  \nApplication Tracing in Adaptive Server􀀁 Enterprise (ASE) 15 P-2  \n1. Motivation  \nSybase ASE 15.0.1 already has several tracing options that customers can enable to collect useful diagnostic information. This information includes query-level details like execution plan, i/o cost, etc. For example, the “set showplan on” command will display the plan for a SQL query just before executing it. However customers can only enable diagnostics if they have access to their SQL client sessions connected to the server. Hence tracing a running client application will require stopping the application, modifying its code to include the relevant diagnostic SQL commands at appropriate places, and finally restarting it. Restarting a client application is not feasible in production environments, and modifying application code may not even be possible if it comes pre-packaged. Often customers face situations where a specific application is running significantly slow or not as per expectations. The cause is unknown since database applications behave like a black box. Even someone as powerful and equipped as a database administrator has little access to server-side tasks initiated by an application during execution. Keeping this in mind, it would be worthwhile if database users could trace their server-side tasks to monitor the health of their application or if database administrators could do the same for all running user tasks so as to monitor the health of the server.  \nWith this in hindsight, the upcoming flagship release of Sybase Adaptive Server􀀁 Enterprise (ASE) 15.0.2, introduces the “Application Tracing” feature. The primary motivation behind constructing this server-side framework is to capture executionleve","cbCaie0wtaQyAP2t","https://ap.wps.com/l/cbCaie0wtaQyAP2t","pdf",260602,12,"English","# Motivation\n# Feature Overview\n## Command Interface\n## Scope of the feature\n## Use Cases\n### Restrictions/Limitations\n# Conclusion","[{\"question\":\"Why is Application Tracing needed in ASE 15.0.2?\",\"answer\":\"Traditional tracing requires access to SQL client sessions and often forces stopping applications and modifying code to enable diagnostics. Application Tracing enables capturing server-side execution details for running client sessions without code changes.\"},{\"question\":\"How does a user start tracing for a specific session?\",\"answer\":\"Determine the session SPID (Server Process ID) and issue the command set tracefile \\\"\\u003cfile-path\\u003e\\\" for \\u003cspid\\u003e, then enable supported diagnostic options for that session.\"},{\"question\":\"How can tracing be applied to a specific login?\",\"answer\":\"The database administrator creates a login trigger (a SQL stored procedure executed at login time) for the target login and grants permissions so that the login can trace itself, as described in the use-case section.\"}]","Application Tracing in Adaptive Server Enterprise (ASE) 15 - Motivation - Feature Overview | PDF",1790939463,[146,150,154,158],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/c4202c270eaa48e7b2f7dacf1f0e4860.webp",983,1272,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/b614af2ca1374587deebade469d4f1af.webp",982,1270,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/b40b246f74adce743a56f92f86f1049a.webp",981,1269,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/759573d58ed612ee4e3a7bea6d2960b2.webp",980,1268]