🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.pl.comp.lang.csharp
2 messages
2 total messages Started by rozrabiak Fri, 30 Apr 2004 09:41
Procent wykonanej procedury
#1033
Author: rozrabiak
Date: Fri, 30 Apr 2004 09:41
8 lines
984 bytes
Witam

W jaki sposob robi sie w programach procent wykonanej procedury na 
serwerze SQL?!

Tak jak ma to miejsce np: w Enterprise Manager lub darmowym dbMgr2k.

pozdrawiam, grzes.
Re: Procent wykonanej procedury
#1035
Author: Michal Wojas
Date: Sun, 02 May 2004 12:37
27 lines
1578 bytes
> W jaki sposob robi sie w programach procent wykonanej procedury na
> serwerze SQL?!
>
> Tak jak ma to miejsce np: w Enterprise Manager lub darmowym dbMgr2k.
No wiesz Enterprise Manager ... wykonuje to zupelnie na innym poziomie ...
dblib/obiekty DMO ...

Niestety nie ma jakies uniwersalnej metody. Proponuje zastosowanie procedury
ustawiajacy counter np.:

CREATE PROC Test
AS

EXEC sp_user_counter1 1
WAITFOR DELAY '00:00:5'

EXEC sp_user_counter1 2
WAITFOR DELAY '00:00:3'

EXEC sp_user_counter1 3
WAITFOR DELAY '00:00:2'


nastepnie dane odczytujesz z widoku ... select * from master..sysperfinfo.
Lub poprzez performance manager.

MW
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads