12.07.2015 Views

Solution Guide for Migrating Oracle on UNIX to SQL Server - Willy .Net

Solution Guide for Migrating Oracle on UNIX to SQL Server - Willy .Net

Solution Guide for Migrating Oracle on UNIX to SQL Server - Willy .Net

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

338 AppendicesProcess/Thread ArchitectureThe process architecture identifies the various database related processes and theirfuncti<strong>on</strong>ality. As is true with <str<strong>on</strong>g>Oracle</str<strong>on</strong>g> <strong>on</strong> Windows, <strong>SQL</strong> <strong>Server</strong> also uses a thread-basedarchitecture. <strong>SQL</strong> <strong>Server</strong> does not differ significantly from <str<strong>on</strong>g>Oracle</str<strong>on</strong>g> in its use of pools ofprocesses (threads) <str<strong>on</strong>g>for</str<strong>on</strong>g> system functi<strong>on</strong>s and user requests. Table A.1 compares <strong>SQL</strong><strong>Server</strong> functi<strong>on</strong>ality with respect <strong>to</strong> <str<strong>on</strong>g>Oracle</str<strong>on</strong>g> background processes.Table A.1: Mapping of <str<strong>on</strong>g>Oracle</str<strong>on</strong>g> and <strong>SQL</strong> <strong>Server</strong> Background Processes<str<strong>on</strong>g>Oracle</str<strong>on</strong>g> Process(Required Status)*<str<strong>on</strong>g>Oracle</str<strong>on</strong>g>IdentifierMin / Max<strong>SQL</strong> <strong>Server</strong> Process(Required Status)*Min / MaxProcess M<strong>on</strong>i<strong>to</strong>r (M) PMON 1 / 1 Open Data Services (M) 1 / 1System M<strong>on</strong>i<strong>to</strong>r (M) SMON 1 / 1 Database cleanup / 1 / 1shrinking (M)Database Writers (M) DBWn 1 / 20 Lazywriter (M) 1 / 1Checkpoint Process (M) CKPT 1 / 1 Database checkpoint (M) 1 / 1Recoverer (O) RECO 0 / 1 MS DTC (O) 0 / 1Log Writer (M) LGWR 1 / 1 Logwriter (M) 1 / 1Archive Processes (O) ARCn 0 / 10 N/AJob Queue Processes Jnnn 0 / 1000 <strong>SQL</strong> Agent (O) 0 / 1(O)Job Queue Coordina<strong>to</strong>rs CJQn 0 / 1 <strong>SQL</strong> Agent (O)0 / 1(O)Queue M<strong>on</strong>i<strong>to</strong>rQMNn 0 / 10 <strong>SQL</strong> Agent (O) 0 / 1Processes (O)Parallel Query Slave Pnnn 0 / 3600 Worker threads (M) 32 / 32767Processes (O)Dispatcher (O) Dnnn 0 / 5 <strong>Net</strong>work thread (M) 1 / 1Shared <strong>Server</strong>s (O) Snnn 0 / OS Worker threads (M) 32 / 32767<strong>SQL</strong> <strong>Server</strong> employs sophisticated shared server architecture. On startup, <strong>SQL</strong> <strong>Server</strong>creates a User Mode Scheduler (UMS) o bject <str<strong>on</strong>g>for</str<strong>on</strong>g> each processor using the affinity masksetting. A pool of worker threads is created by Open Data Services (ODS) <strong>to</strong> handle usercommands, and their c<strong>on</strong>trol is distributed am<strong>on</strong>g the UMS schedulers. This architecturemimics the shared server-dispatcher c<strong>on</strong>cept in <str<strong>on</strong>g>Oracle</str<strong>on</strong>g>. While in <str<strong>on</strong>g>Oracle</str<strong>on</strong>g> the shared serverprocesses are schedule d by the operating system, <strong>SQL</strong> <strong>Server</strong> uses the UMS <strong>to</strong>schedule worker threads.The internal workings of the User Mode Scheduler are available at:http://msdn.microsoft.com/<strong>SQL</strong>/sqlarchitectu re /default.aspx?pull=/library/en-us/dnsqldev/html/sqldev_02252004.asp?frame=true.Additi<strong>on</strong>al references <strong>on</strong> <strong>to</strong>pics related <strong>to</strong> process architecture include:● <strong>Server</strong> Memory Opti<strong>on</strong>s (Administrating <strong>SQL</strong> <strong>Server</strong>):http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adminsql/ad_c<strong>on</strong>fig_9zfy.asp.● <strong>SQL</strong> <strong>Server</strong> Memory Usage: http://support.microsoft.com/default.aspx?scid=kb;enus;321363.● 64-bit Overview: http://www.microsoft.com/sql/64bit/productinfo/overview.asp.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!