Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

What Is Wait Type PREEMPTIVE_OS_GETPROCADDRESS? Expand / Collapse
Author
Message
Posted Thursday, May 3, 2012 3:36 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Friday, December 19, 2014 9:49 AM
Points: 14, Visits: 287
Hi,

In the past week we've twice had a log shipping restore job hang with a wait type of PREEMPTIVE_OS_GETPROCADDRESS.

We're using SQL Backup so I've raised the issue on the Red Gate support forums. My question here is, what does this wait type actually mean? I can't find it listed in BOL, and an internet search returned very little, other than a few people having issues with third party backup tools.

If anybody can shed any light on what this wait type means that would be greatly appreciated.

Thanks.
Post #1294435
Posted Thursday, May 3, 2012 4:58 AM


Right there with Babe

Right there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with Babe

Group: General Forum Members
Last Login: Friday, June 27, 2014 7:41 AM
Points: 745, Visits: 518
Hi Matt,

You're right! There isn't a lot but I did come across this from Microsoft...


http://blogs.msdn.com/b/psssql/archive/2010/07/21/why-does-preemptive-os-getprocaddress-show-a-large-accumulation.aspx

Hope that helps.

Best regards

Robin


"Be brave. Take risks. Nothing can substitute experience."
Post #1294479
Posted Thursday, May 3, 2012 5:40 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 4:01 AM
Points: 14,208, Visits: 28,538
Take a look at Amit Banerjee's write-up on that wait type. It might be a less than optimal measure due to how it accumulates artificially.

----------------------------------------------------
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood..." Theodore Roosevelt
The Scary DBA
Author of:
SQL Server Query Performance Tuning
and
SQL Server Execution Plans

Product Evangelist for Red Gate Software
Post #1294494
Posted Thursday, May 3, 2012 7:03 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Friday, December 19, 2014 9:49 AM
Points: 14, Visits: 287
Thanks for the replies. Interesting reading.
Post #1294558
Posted Monday, December 22, 2014 6:53 AM


SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Wednesday, December 24, 2014 11:12 PM
Points: 1,598, Visits: 1,156
I just watched a video course by Paul Randall on performance tuning with wait stats (highly recommended course!) and he said that if you remove the PREEMPTIVE_OS_ you are left with the windows api name. so in this case GETPROCADDRESS - a quick google search gives more information on the API. http://msdn.microsoft.com/en-us/library/windows/desktop/ms683212%28v=vs.85%29.aspx

There's no kill switch on awesome!
Post #1645859
Posted Wednesday, December 24, 2014 8:14 PM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Wednesday, December 24, 2014 10:42 PM
Points: 200, Visits: 87
One way to reproduce this wait type is documented here:

http://www.quicktechnotes.com/2014/12/25/wait-type-preemptive_os_getprocaddress/

Post #1646429
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse