Check to see if the SP called in the tidal job is actually running

Source: Internet
Author: User
Tags dba

Just US tech leader suddenly on-line call I said, tidal job has a job hanging out, let me help to see what the reason then rerun up, for a moment I dizzy, asked tidal job number and error message, Then find the SP called in the job, and the parameters inside, and later modified, tidal job is active state, but not sure whether the SP really run again, So looking for an interface like Informatica or netezza that can monitor the data flow status to see if the SP really is running, and then find the DBA to ask for help, and the DBA is awesome! Here is the solution, although it is very simple, but for those who do not know how to use the command, there is really no way. Gossip less say, the way ~ ~

: Step1: Running the SP_WHO2 active command on the server where the SP resides

Check login value is not a ' domain \tidsvc_ (servername) ' composition, while check dbname is not the SP running DB.

STEP2: Take Step1 to get to the SPID Run command DBCC INPUTBUFFER (SPID), this example the SPID corresponds to 78, so look at:

Check EventInfo If you want to view the SP, prove that the SP is in run, and can go back to STEP1 to see the specific operation of the link, look at Figure 1Command value, you can find this example is running to the Select link.

OK, DBA is simply too strong, many many thanks, haha, write down, hope to help you oh ~

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Check to see if the SP called in the tidal job is actually running

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.