[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-497301-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-497301-en":131,"doc-similar-497301":212},{"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","sap-adaptive-server-enterprise-160-sp03-performance-and-tuning-guide-locking-and-concurrency-control","SAP Adaptive Server Enterprise 16.0 SP03 - Performance and Tuning Guide - Locking and Concurrency Control","","The guide explains how locking and concurrency control affect performance in SAP Adaptive Server Enterprise 16.0 SP03. It covers lock granularity, lock types (page, row, partition, table, schema, demand, and row-locked system tables), and lock compatibility with isolation levels from read uncommitted to serializable reads. It details lock durations during query processing, snapshot isolation concepts, and practical tuning through configuration, monitoring, and promotion thresholds, plus tools for blocked processes and lock inspection. Deadlock causes, server versus application behavior, and avoidance techniques are also discussed.",{"@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/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/sap-adaptive-server-enterprise-160-sp03-performance-and-tuning-guide-locking-and-concurrency-control/497301/",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/sap-adaptive-server-enterprise-160-sp03-performance-and-tuning-guide-locking-and-concurrency-control/497301.png","ImageObject",300,407,{"name":42,"@type":43},"Aran","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-10","2026-10-02",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",14,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"How does locking impact performance in SAP ASE?","Question",{"text":63,"@type":64},"Locking influences performance through how and where locks are acquired, how granular the locks are, and how long they are held during query processing. The guide connects these factors to contention and concurrency behavior.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What isolation levels are covered, and how do they affect locking?",{"text":68,"@type":64},"The guide explains isolation levels from 0 (read uncommitted) through 3 (serializable reads). It describes how each level changes locking behavior and the visibility guarantees for queries.",{"name":70,"@type":61,"acceptedAnswer":71},"Which tools are used to inspect locking and blocked processes?",{"text":72,"@type":64},"The guide provides methods such as monitoring blocked processes and using sp_lock and sp_familylock to view locks. It also includes guidance on monitoring lock timeouts.","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},497301,1791254843,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,105,110,115,120,123,127],{"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":29,"show_sort_weight":103,"slug":104},6,50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":112,"show_sort_weight":113,"slug":114},8,"Research & Report",30,"research-report",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":117,"show_sort_weight":118,"slug":119},9,"Religion & Spirituality",20,"religion-spirituality",{"id":118,"doc_module":4,"doc_module_name":25,"category_name":121,"show_sort_weight":118,"slug":122},"World Cup","world-cup",{"id":124,"doc_module":4,"doc_module_name":25,"category_name":125,"show_sort_weight":124,"slug":126},10,"Lifestyle","lifestyle",{"id":128,"doc_module":4,"doc_module_name":25,"category_name":129,"show_sort_weight":97,"slug":130},19,"General","general",{"code":4,"msg":82,"data":132},{"doc_id":79,"user_id":133,"nickname":42,"user_avatar":134,"doc_module":4,"category_id":102,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":140,"language":141,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":12,"update_tm":145,"read_time":146,"preview_page_count":147,"preview_urls":148},137455076865,"https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0","© 2019 SAP SE or an SAP affil iate company. All rights reserved .  \nPERFORMANCE AND TUNING GUIDE | PUBLIC SAP Adaptive Server Enterprise 16.0 SP03 Document Version: 1.0 – 2019-06-06  \nPerformance and Tuning Series: Locking and Concurrency Control  \nTHE BEST RUN   \nContent  \n1 Introduction to Locking....................................................... 7  \n1.1 How Locking Affects Performance................................................. 7  \n1.2 Lock and Data Consistency...................................................... 7  \n1.3 Granularity of Locks and Locking Schemes........................................... 8  \nAllpages Locking........................................................... 9  \nDatapages Locking......................................................... 10  \nDatarows Locking.......................................................... 11  \n1.4 Types of Locks in SAP ASE...................................................... 11  \nPage and Row Locks........................................................ 12  \nPartition Locks............................................................ 13  \nTable Locks.............................................................. 15  \nSchema Locks............................................................ 17  \nDemand Locks............................................................ 18  \nRow-locked System Tables................................................... 20  \nRange Locking for Serializable Reads............................................20  \nLatches................................................................. 21  \n1.5 Lock Compatibility and Lock Sufficiency............................................ 22  \n1.6 How Isolation Levels Affect Locking............................................... 25  \nIsolation Level 0, Read Uncommitted............................................ 26  \nIsolation Level 1, Read Committed.............................................. 27  \nIsolation Level 2, Repeatable Read.............................................. 27  \nIsolation Level 3, Serializable Reads............................................. 28  \nSAP ASE Default Isolation Level................................................29  \n1.7 Lock Types and Duration During Query Processing.....................................29  \nLock Types During Create Index Commands.......................................32  \nLocking for Select Queries at Isolation Level 1...................................... 32  \nTable Scans and Isolation Levels 2 and 3......................................... 33  \nWhen Update Locks Are Not Required........................................... 33  \nLocking During or Processing................................................. 34  \nSkip Uncommitted inserts During selects.........................................35  \nUsing Alternative Predicates to Skip Nonqualifying Rows.............................. 36  \n1.8 Pseudocolumn-level Locking.................................................... 37  \nSelect Queries That Do Not Reference the Updated Column............................37  \nQualify Old and New Values for Uncommitted Updates............................... 38  \n2 Snapshot Isolation Level and Locking............................................39  \nPerformance and Tuning Series: Locking and Concurrency Control  \n2 P U B L IC Content  \n3 Locking Configuration and Tuning.............................................. 41  \n3.1 Locks and Performance........................................................ 41  \nsp_sysmon and sp_object_stats Usage.......................................... 41  \nReduce Lock Contention.................................................... 42  \nAdditional Locking Guidelines................................................. 46  \nImproved Concurrency for Partition-Level Online Operations........................... 46  \n3.2 Lock Configuration and Promotion Thresholds........................................47  \nLock Promotion......................................","cbCaiiskob3K22DU","https://ap.wps.com/l/cbCaiiskob3K22DU","pdf",2205955,142,"English","# 1 Introduction to Locking\n## How Locking Affects Performance\n## Lock and Data Consistency\n## Granularity of Locks and Locking Schemes\n## Types of Locks in SAP ASE\n## Lock Compatibility and Lock Sufficiency\n## How Isolation Levels Affect Locking\n## Lock Types and Duration During Query Processing\n## Pseudocolumn-level Locking\n# 2 Snapshot Isolation Level and Locking\n# 3 Locking Configuration and Tuning\n## Locks and Performance\n## Lock Configuration and Promotion Thresholds\n## Choosing the Locking Scheme for a Table\n## Optimistic Index Locking\n# 4 Lock Tools\n## Information About Blocked Processes\n## View Locks with sp_lock\n## View Locks with sp_familylock\n## Monitor Lock Timeouts\n# 5 Deadlocks and Concurrency\n## Server-side Versus Application-side Deadlocks\n## Server Task Deadlocks\n## Deadlocks and Parallel Queries","[{\"question\":\"How does locking impact performance in SAP ASE?\",\"answer\":\"Locking influences performance through how and where locks are acquired, how granular the locks are, and how long they are held during query processing. The guide connects these factors to contention and concurrency behavior.\"},{\"question\":\"What isolation levels are covered, and how do they affect locking?\",\"answer\":\"The guide explains isolation levels from 0 (read uncommitted) through 3 (serializable reads). It describes how each level changes locking behavior and the visibility guarantees for queries.\"},{\"question\":\"Which tools are used to inspect locking and blocked processes?\",\"answer\":\"The guide provides methods such as monitoring blocked processes and using sp_lock and sp_familylock to view locks. It also includes guidance on monitoring lock timeouts.\"}]","SAP Adaptive Server Enterprise 16.0 SP03 - Performance and Tuning Guide - Locking and Concurrency Control | PDF",1790951519,358,15,[149,153,157,161,165,169,173,177,181,185,189,194,199,204,208],{"page_no":22,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/aaf43344495488e225a6a74f8a452410.webp",983,1390,{"page_no":26,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/a86f14cd8472c3b3c102f9db23d838d9.webp",982,1388,{"page_no":30,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/a46b28350fe83aa3e441117b89306dd2.webp",981,1387,{"page_no":33,"url":162,"width":163,"height":164},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/5f877e674669af72994318f797e719ee.webp",980,1385,{"page_no":97,"url":166,"width":167,"height":168},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/323efdd0611c3dc1712e8add36285bf9.webp",979,1384,{"page_no":102,"url":170,"width":171,"height":172},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/1fa0865ae1311b01554cc37a9a59e20e.webp",978,1383,{"page_no":106,"url":174,"width":175,"height":176},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/959d5629853506d900ec8d5e35fa8b40.webp",977,1381,{"page_no":111,"url":178,"width":179,"height":180},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/472043fbbb4f086b77bb07f3b6b3c5b2.webp",976,1380,{"page_no":116,"url":182,"width":183,"height":184},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/a6ca4f3488a36ef21afb6e1103b0f744.webp",975,1378,{"page_no":124,"url":186,"width":187,"height":188},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/ea8198ba80df5eb0d0577f19d4f92d37.webp",974,1377,{"page_no":190,"url":191,"width":192,"height":193},11,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/6ee1d7191e9e8eb057b76c7830288511.webp",973,1376,{"page_no":195,"url":196,"width":197,"height":198},12,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/a8a6309ab9c0efb4abbc804cb1c09ede.webp",972,1374,{"page_no":200,"url":201,"width":202,"height":203},13,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/547e2d647b386cd0fe60781cbbd28c31.webp",971,1373,{"page_no":55,"url":205,"width":206,"height":207},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/3a266bfb8e8d3863dbbe075d34fda788.webp",970,1371,{"page_no":147,"url":209,"width":210,"height":211},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/072e8411dab8e3c2096eaa0e2a3c11ef.webp",969,1370,{"list":213,"token":11},[214,221,227,233,240,246,252,259,266,273],{"doc_id":215,"doc_title":216,"file_type":138,"home_preview_img_url":217,"slug":218,"view_count":219,"category_name":29,"create_tm":220},496823,"SAP ASE Release Bulletin - Known Issues and Workarounds","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229930180405/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112119&Signature=EX3Lq3VvZolVeSLAbUgcbiXVe1s%3D","sap-ase-release-bulletin-known-issues-and-workarounds",17,1790940591,{"doc_id":222,"doc_title":223,"file_type":138,"home_preview_img_url":224,"slug":225,"view_count":147,"category_name":29,"create_tm":226},497083,"Security Administration Guide - Public","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229930280709/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112119&Signature=4Ix04v%2FgJOWhiX88tXKp1o%2BhJu4%3D","security-administration-guide-public",1790946943,{"doc_id":228,"doc_title":229,"file_type":138,"home_preview_img_url":230,"slug":231,"view_count":116,"category_name":29,"create_tm":232},496801,"Performance and Tuning Series - Basics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229929944873/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112119&Signature=I7Y8MgV8N8mzgjhE0l2ZQZ31ZVc%3D","performance-and-tuning-series-basics",1790940157,{"doc_id":234,"doc_title":235,"file_type":138,"home_preview_img_url":236,"slug":237,"view_count":238,"category_name":29,"create_tm":239},340199,"Security Administration Guide - Security Administration Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229910237191/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112119&Signature=F%2Fj2HXOUP9Iuq2BEUyaBIojM1F4%3D","security-administration-guide-security-administration-guide",18,1790034892,{"doc_id":241,"doc_title":242,"file_type":138,"home_preview_img_url":243,"slug":244,"view_count":33,"category_name":29,"create_tm":245},688754,"Locksy User Guide - Install Locksy and set it up","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000664707/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112119&Signature=7oxIF6YNawULbWQBjALKT4mOvPo%3D","locksy-user-guide-install-locksy-and-set-it-up",1794091231,{"doc_id":247,"doc_title":248,"file_type":138,"home_preview_img_url":249,"slug":250,"view_count":116,"category_name":29,"create_tm":251},688704,"Chromebook Beginners Guide - Keyboard Shortcuts, Apps Menu, and Setup","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001284242/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112119&Signature=%2Fg3b%2BYu7%2BOUcGkVosfU0Leqanwo%3D","chromebook-beginners-guide-keyboard-shortcuts-apps-menu-and-setup",1794090708,{"doc_id":253,"doc_title":254,"file_type":138,"home_preview_img_url":255,"slug":256,"view_count":257,"category_name":29,"create_tm":258},115355,"Claude AI Bible - The Complete Guide to Mastering Claude, Claude Code, Claude Cowork, MCP, AI Agents, Automation & Advanced Prompting","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229831893665/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112119&Signature=aeNgWcNjBrI2RFXvDL8IjGaQl0I%3D","claude-ai-bible-the-complete-guide-to-mastering-claude-claude-code-claude-cowork-mcp-ai-agents-automation-advanced-prompting",913,1785472614,{"doc_id":260,"doc_title":261,"file_type":138,"home_preview_img_url":262,"slug":263,"view_count":264,"category_name":29,"create_tm":265},185,"XNX Universal Transmitter Installation Manual (Complete Guide) [Honeywell Official]","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693710157/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112119&Signature=EuNBE1kOwXNfBJ9GCI%2BXH9ryN0g%3D","xnx-universal-transmitter-installation-manual",855,1776135954,{"doc_id":267,"doc_title":268,"file_type":138,"home_preview_img_url":269,"slug":270,"view_count":271,"category_name":29,"create_tm":272},299143,"THE CANDLESTICK TRADING BIBLE - Trading Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229905832418/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112119&Signature=l6Dkyrh2myBO5DpUxbRgmYD0NY4%3D","the-candlestick-trading-bible-trading-guide",804,1789767270,{"doc_id":274,"doc_title":275,"file_type":138,"home_preview_img_url":276,"slug":277,"view_count":278,"category_name":29,"create_tm":279},176,"Free Fire Proxy Server","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693709822/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112119&Signature=gk%2FyeltAE7UrCv9qsPFf3PutcBs%3D","free-fire-proxy-server",565,1776135932]