Debug SQL Server (i) How to generate a dump fileDebug SQL Server (ii) Debugging environment settings for SQL Server using WinDbgDebug SQL Server (iii) Some commands for debugging SQL Server using WinDbgWe know that there are two main ways of
Debug SQLSERVER (1) generate dump file debugging SQLSERVER (2) use Windbg to debug SQLSERVER's Environment Settings debugging SQLSERVER (3) using Windbg to debug some SQL Server commands, we know that there are two main ways to debug the program:
Oracle Common Dump command
Memory Dumps
1). Global Area
ALTER session SET The EVENTS ' immediatetrace name Global_area level n ';
1 contains PGA 2 contains SGA 4 contains UGA 8 contains indrect memory
2). Library Cache
ALTER session SET The EVENTS '
Original article: http://blogs.msdn.com/ B /askjay/archive/2010/02/05/how-can-i-create-a-dump-of-sql-server.aspx
You can create a memory dump of the SQL Server process space in several ways. there are using external tools that can help you
One, Oracle trace fileThere are three types of Oracle trace files, a background alarm log file that records the activity of the background process during startup, shutdown, and operation of the database, such as tablespace creation, rollback segment
One, Oracle trace FileOracle trace files are grouped into three categories:
One is the background alarm log file that records the activity of the background process during startup, shutdown, and running of the database , such as table space
https://blogs.msdn.microsoft.com/askjay/2009/12/29/basic-debugging-concepts-and-setup/You can create a memory dump of the SQL Server process space in several ways. There is many external tools that can help you accomplish this such as Userdump.exe,
I,OracleTracking FileThere are three types of Oracle tracking files:
One is the background alarm log file, which recordsDatabaseActivities of background processes during startup, shutdown, and running, such as creating tablespaces, creating
SystemState Dump introduction by janezhang-oracle on December 13, 2012When a database has a serious performance problem or hang, we are very much in need of systemstate dump to know what the process is doing, waiting for what, who is the resource
https://gennadny.wordpress.com/2014/11/Since SQL Server 7.0, SQL Server has its own scheduling mechanism, in SQL 7.0 and it is called UMS (User Mode schedu Ling) and later was renamed to SOS (SQL OS Scheduler). Ums\sos is Non-preemptive\cooperative
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.