Quantcast
Channel: Released: Who is Active v11.11
Browsing latest articles
Browse All 192 View Live

re: Released: Who is Active v11.11

Hi Love this tool, quick question I am wanting to tidy up the data so we only keep maybe a months worth is there a way to do this easily as all the dates in the table are stored as NVARCHAR

View Article



re: Released: Who is Active v11.11

Great Tool and great answers, I was trying to implement some improvements and with yours comments I found everything.Thank You!!!

View Article

re: Released: Who is Active v11.11

@MikoyanAre you sure there's activity?http://sqlblog.com/blogs/adam_machanic/archive/2011/04/05/less-data-is-more-data-a-month-of-monitoring-part-5-of-30.aspx

View Article

re: Released: Who is Active v11.11

Hi Adam,I am running the sp_whoisactive via tempdb I then run the following:exec tempdb.dbo.sp_whoisactiveYet it yields no results...what am I missing? There is activity on the server is I use...

View Article

re: Released: Who is Active v11.11

@AntonySee: http://sqlblog.com/blogs/adam_machanic/archive/2011/04/25/capturing-the-output-a-month-of-activity-monitoring-part-25-of-30.aspx

View Article


re: Released: Who is Active v11.11

I would like to write the result of the sp_whoisactive into a table and save it everyday. Which is the easiest way to do so.

View Article

re: Released: Who is Active v11.11

@RockyThat's a shared schema stability lock. All queries take them. Your insert has an X lock for some reason, and you need to figure out why. That should not be the case for something using a table...

View Article

re: Released: Who is Active v11.11

sp_whoisactive got blocked by one of our application sql job which inserts records into temp variable table(Inset @temptablename) and and the update query from the sp_whoisative is actually waiting on...

View Article


re: Released: Who is Active v11.11

@RockyWhat question are you trying to answer?No, there is no other option in sp_whoisactive for that info, and you can't get it any other faster way either. The issue is that the DMV from which this...

View Article


re: Released: Who is Active v11.11

Thank you Adam for prompt reply.Yes ,I am using get_lock=1 to get locks information , this option is very useful to understand the level of locks during blocking.If i turned it off then we will miss...

View Article

re: Released: Who is Active v11.11

@Rocky,sp_whoisactive should not get blocked except by an exclusive schema lock. That should only occur for a moment in the case of a temp table insert. Are you sure it's actually "blocked" and not...

View Article

re: Released: Who is Active v11.11

Hi Adam,Sp_whoisactive is getting blocked by one of our application job and the job is inserting int o temporary table which means it is using tempdb databaase.the code that gets blocked ,Can you...

View Article

re: Released: Who is Active v11.11

@IrfanNope. Did you see one somewhere?You can now find all official updates here:http://whoisactive.com

View Article


re: Released: Who is Active v11.11

do you have any updated script named 11_12 on internet?

View Article

re: Released: Who is Active v11.11

Great!! thanks for the update Adam. - Kiran

View Article


re: Released: Who is Active v11.11

@KiranYeah, JDBC is kind of notorious for that. What you can do as a workaround is insert into a temp table and then insert the rows you want from there into your final table. A bit ugly but that's the...

View Article

re: Released: Who is Active v11.11

Thanks for the update Adam. The reason for my request was, we have a database called Informatica PIM (former Hailer) where they use connection pool from application server (or manage connection using...

View Article


re: Released: Who is Active v11.11

@KiranThe default behavior is to show only active requests or sleeping sessions that are holding an open transaction. Do you have a lot of the latter for some reason? That should be a red flag --...

View Article

re: Released: Who is Active v11.11

Thanks Adam. Is there a way to filter results only for request_id=0 using this SP? If not, its not a big deal as this is giving so much information already and made our lives easy. I am running this SP...

View Article

re: Released: Who is Active v11.11

@KiranYes, that is correct, although the column I look at for this information is [status]. If it's either "suspended" or "running" there is an active request.--Adam

View Article

re: Released: Who is Active v11.11

Thanks Adam. It worked fine with no issues. It looks like the sessions where request_id column is 0 are currently active sessions and the one's which are NULLs are not active connections. When I...

View Article


re: Released: Who is Active v11.11

@KiranI think it should work, as long as you have the remote procedure call option enabled on your linked servers.--Adam

View Article


re: Released: Who is Active v11.11

Hi Adam, I am a great fan of this SP. Have a quick question about executing this SP over remote databases. We have few DW servers with exact replica and wanted to get a instant view of all active...

View Article

re: Released: Who is Active v11.11

@RajeshI can't tell you what to do or not do in your environment. I would recommend that you talk to your DBA about this.

View Article

re: Released: Who is Active v11.11

Hi Adam,Can I run this store procedure in my production environment??Is there any issue if I run this on my master database??-Rajesb

View Article


re: Released: Who is Active v11.11

@RajeshThat's the one!

View Article

re: Released: Who is Active v11.11

Hi Adam,The name of the link is (who_is_active_v11_11 ) ??Please confirm.Regards,Rajesh

View Article

re: Released: Who is Active v11.11

@RajeshThe link is in the post on which you're leaving these comments :-)--Adam

View Article

re: Released: Who is Active v11.11

@AdamCould you please provide me the link?Regards,Rajesh

View Article



re: Released: Who is Active v11.11

Hi Adam,Can you please provide me the link from where i need to download and install it in my instance.BR,Rajesh

View Article

re: Released: Who is Active v11.11

@RajeshSounds like you forgot to install it on your instance.--Adam

View Article

re: Released: Who is Active v11.11

Hi Adam,I ran sp_whoisactive in my ssms but got error that could not find a stored procedure.Please let me know what i need to do?Best Regards,Rajesh

View Article

re: Released: Who is Active v11.11

@jbjones: Apologies, I haven't released that new version yet! Really sorry, I know it's been a long time.@Geoff P: That sounds a bit heavy. Why do you need both? Maybe better to store the...

View Article


re: Released: Who is Active v11.11

A nice small improvement for a future version might be to allow retrieval of both the sql_text and the "full_inner_text". The @get_full_inner_text toggles which you get, but cannot provide both. When...

View Article

re: Released: Who is Active v11.11

Were you able to correct the maxrecusion issue when finding block leaders?

View Article

re: Released: Who is Active v11.11

@dm_exec_session_wait_statsMaybe. I'd certainly like to leverage it and I know exactly how I'd put it together, but so far I have been having a lot of issues with the view. If the output stabilizes and...

View Article


re: Released: Who is Active v11.11

Are there plans to release a new version that can use dm_exec_session_wait_stats on SQL 2016?

View Article


re: Released: Who is Active v11.11

Hi Adam,Thank you for your advice. I will try it

View Article

re: Released: Who is Active v11.11

@Herman While I understand your goal, I really do not think the lock hash is a good way to accomplish what you're after. The reasons are: A) It is not scalable; it's not indexed or anything like that....

View Article

re: Released: Who is Active v11.11

Hi Adam,We will locate the record and simulate how the deadlock occur in some batch functions. Since we process the sql statement with prepared statements, the identity column and the related column...

View Article

re: Released: Who is Active v11.11

@HermanUnfortunately that would make the output way too heavy. There might be, e.g., three thousand key locks and instead of passing back one fact that says there are there thousand key locks, the...

View Article


re: Released: Who is Active v11.11

Hi Adam,Is it possible to include the column 'resource_description' when the lock type is 'KEY'? It is more easier to locate the row with the virtual column %%lockres%% . Now we need to query the...

View Article

re: Released: Who is Active v11.11

Adam,I actually had went back and put all the strings at max size.  I also put in a job just to run the whoisactive and just running the job produces the same error. So it seems the output is larger...

View Article


re: Released: Who is Active v11.11

@wes How did you create the table? Did you have sp_whoisactive generate the schema for you? Sounds like one of the string columns is too small.--Adam

View Article

re: Released: Who is Active v11.11

Adam,I am running the following.  I am inserting it into a table and it appears to be giving me that  "String or binary data would be truncated error".EXEC dbo.sp_WhoIsActive @get_transaction_info = 1,...

View Article


re: Released: Who is Active v11.11

@Wes3flex:Not sure. What parameters are you using? ANY idea about common factors?--Adam

View Article

re: Released: Who is Active v11.11

Adam,Once in a blue moon I receive a "String or binary data would be truncated error".  Any ideas?Thanks

View Article

re: Released: Who is Active v11.11

Hello it works !!! Dear Adam there are not issue on the server or DBMS !!! The reason is in dev environment there are no active process So I 'm sorry soi mutch Great jobss !!!!!!!!!!!!!

View Article

re: Released: Who is Active v11.11

Dear Adam Thanks for your help ang Good morning (Italian time) !!!!!I tried these script on development server (Microsoft SQL Server 2012 (SP1) - 11.0.3128.0 (X64) Dec 28 2012 20:23:12 Copyright (c)...

View Article


re: Released: Who is Active v11.11

@Gmanunta81:No clue, sorry. Did you try running it without the filters?

View Article

Browsing latest articles
Browse All 192 View Live




Latest Images