Click here to Skip to main content
15,919,028 members
Home / Discussions / Database
   

Database

 
AnswerRe: Exporting only Defination not data Pin
Md. Marufuzzaman28-May-10 20:05
professionalMd. Marufuzzaman28-May-10 20:05 
QuestionA tale of two queries [solved] Pin
Mike Osbahr25-May-10 7:47
Mike Osbahr25-May-10 7:47 
AnswerRe: A tale of two queries Pin
Chris Meech25-May-10 8:01
Chris Meech25-May-10 8:01 
GeneralRe: A tale of two queries Pin
Mike Osbahr25-May-10 8:13
Mike Osbahr25-May-10 8:13 
AnswerInclude actual execution plan Pin
David Mujica25-May-10 8:06
David Mujica25-May-10 8:06 
GeneralRe: Include actual execution plan Pin
Mike Osbahr25-May-10 8:17
Mike Osbahr25-May-10 8:17 
QuestionRe: A tale of two queries - profiled [modified] Pin
Mike Osbahr25-May-10 10:13
Mike Osbahr25-May-10 10:13 
QuestionRe: A tale of two queries - profiled Pin
Mike Osbahr26-May-10 3:28
Mike Osbahr26-May-10 3:28 
Further review of the SQL profile shows this:

Main program opens database connection (SPID 55) ...3 sec...

Events processing thread opens database connection (SPID 56) ...3 sec...

[PROCESS NEXT EVENT]
Event processing thread does aggregate query (SPID 56)

Audit login occurs (SPID XX) (XX usually between 57 and 60) ...3 sec...
SET NO_BROWSABLE_TABLE_ON (SPID XX)
sp_prepare 'select * from tblData' (SPID XX)
SET NO_BROWSABLE_TABLE_OFF (SPID XX)
sp_unprepare (SPID XX)
Audit logoff occurs (SPID XX)

Event processing thread does aggregate query on tblData (SPID 56)

Audit login occurs (SPID XX) (XX usually between 57 and 60) ...3 sec...
SET NO_BROWSABLE_TABLE_ON (SPID XX)
sp_prepare 'select * from tblData' (SPID XX)
SET NO_BROWSABLE_TABLE_OFF (SPID XX)
sp_unprepare (SPID XX)
Audit logoff occurs (SPID XX)

Event processing thread does non-aggregate query on tblData (SPID 56)
Event processing thread calls stored procedure (SPID 56)
Event processing thread does non-aggregate query on tblData (SPID 56)

[LOOP: PROCESS NEXT EVENT]

I have never run SQL profiler before. From what I have seen I have to guess that either these 'Audit Logins' were not occurring two weeks ago or opening database connections was not taking as long two weeks ago.

Can anybody run SQL profiler and give me an idea how long opening a connection normally takes?
Thanx,
>>>-----> MikeO

AnswerRe: A tale of two queries Pin
Mike Osbahr26-May-10 4:16
Mike Osbahr26-May-10 4:16 
GeneralRe: A tale of two queries Pin
Tim Carmichael26-May-10 8:29
Tim Carmichael26-May-10 8:29 
QuestionMSSQL 2005 Drop / Create [Answered] Pin
Mike Osbahr25-May-10 4:44
Mike Osbahr25-May-10 4:44 
AnswerRe: MSSQL 2005 Drop / Create Pin
Simon_Whale25-May-10 4:54
Simon_Whale25-May-10 4:54 
GeneralRe: MSSQL 2005 Drop / Create Pin
Mike Osbahr25-May-10 4:56
Mike Osbahr25-May-10 4:56 
GeneralRe: MSSQL 2005 Drop / Create Pin
Simon_Whale25-May-10 4:58
Simon_Whale25-May-10 4:58 
GeneralRe: MSSQL 2005 Drop / Create Pin
Mike Osbahr25-May-10 5:03
Mike Osbahr25-May-10 5:03 
AnswerRe: MSSQL 2005 Drop / Create [Answered] Pin
Bernhard Hiller25-May-10 20:58
Bernhard Hiller25-May-10 20:58 
QuestionRe: MSSQL 2005 Drop / Create [Answered] Pin
Mike Osbahr26-May-10 2:13
Mike Osbahr26-May-10 2:13 
QuestionSQL Server 2003 Full! Pin
Roger Wright24-May-10 9:58
professionalRoger Wright24-May-10 9:58 
AnswerRe: SQL Server 2003 Full! Pin
Luc Pattyn24-May-10 11:06
sitebuilderLuc Pattyn24-May-10 11:06 
GeneralRe: SQL Server 2003 Full! Pin
Roger Wright24-May-10 13:10
professionalRoger Wright24-May-10 13:10 
GeneralRe: SQL Server 2003 Full! Pin
Luc Pattyn24-May-10 13:17
sitebuilderLuc Pattyn24-May-10 13:17 
AnswerRe: SQL Server 2003 Full! Pin
T M Gray24-May-10 11:17
T M Gray24-May-10 11:17 
GeneralRe: SQL Server 2003 Full! Pin
Roger Wright24-May-10 13:07
professionalRoger Wright24-May-10 13:07 
GeneralRe: SQL Server 2003 Full! Pin
Mycroft Holmes24-May-10 13:32
professionalMycroft Holmes24-May-10 13:32 
GeneralRe: SQL Server 2003 Full! Pin
Roger Wright24-May-10 16:21
professionalRoger Wright24-May-10 16:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.