Jobs deleted are still running in SQL Server 2005

AID: 1602
  • Status: Published

1650 points

  • By
  • TypeTips/Tricks
  • Posted on2009-09-20 at 23:25:16
Hi,
Last week I faced a different issue, which I never faced before with SQL Server 2005.

OS: Windows Server 2003 64 Bit
Database: SQL Server 2005 SP2 64 Bit
Server: Amazon EC2 (Elastic Cloud Computing)


Issue:

Last week I did the following operations on SQL Server 2005.

1. Deleted some Jobs and rescheduled some jobs.
2. Deleted sub plans and rescheduled some sub plans under Maintenance Plans.

The next day when I checked, I found that jobs & sub plans that had been deleted are still running and rescheduled jobs & sub plans are also running with their old schedules and new schedules.

As a result, backups & other sub plans are running twice and the space in the Backup disk drive got reduced.

One of the best things I have done was to configure alert service (database mail) for all the jobs. Therefore, I get mails whenever the jobs failed and their schedule ids are included in the mails.


Solutions Tried:

I checked the SQL Server agent history and I found everything seems to be OK. I could not find any entry for the failed jobs i.e. no entry for deleted jobs.

I also checked in MSDB database for jobs data... there is no data in the database for the jobs that are deleted and remaining data is fine with their schedules.

Restarted the Services and even the Server too. However, nothing seemed to be helping.

No real information available by searching on the internet regarding this issue.


Solution that worked:

The one action that helped me to resolve the issue was deleting all the temporary files from the drive in which MS SQL Server is installed.

Why I deleted the temporary files?

My company develops web-based applications in .Net & Java. Whenever we update new things on applications, we delete the cache created for that application and refresh it to see the updates on applications.

So, this made me to think of deleting temporary files. And it worked.

Deleting of jobs or rescheduling of jobs I did many a times and (normally) worked every time. This is the first time I faced this issue with this server.

Thank God I finally solved the issue. If you find anything like this type of issue, then I can suggest trying to clean up those temporary files.

If someone can give better solution on the above issue are also welcome and thanks to him or her in advance.
Asked On
2009-09-20 at 23:25:16ID1602
Tags

Jobs deleted are still running in SQL Server 2005

Topic

SQL Server 2005

Views
1104

Comments

Expert Comment

by: mark_wills on 2009-09-21 at 23:40:30ID: 3673

Hi JagdishDevaku,

It probably has something to do with prefetch, so your experience with caching sounds like it was exactly the right thing to do.

Handy tip by the way, will keep that in mind for the occasional "mystery" problem.

Add your Comment

Please Sign up or Log in to comment on this article.

Join Experts Exchange Today

Gain Access to all our Tech Resources

Get personalized answers

Ask unlimited questions

Access Proven Solutions

Search 3.2 million solutions

Read In-Depth How-To Guides

1000+ articles, demos, & tips

Watch Step by Step Tutorials

Learn direct from top tech pros

And Much More!

Your complete tech resource

See Plans and Pricing

30-day free trial. Register in 60 seconds.

Loading Advertisement...

Top MS SQL Server 2005 Experts

  1. ScottPletcher

    195,617

    Guru

    8,500 points yesterday

    Profile
    Rank: Genius
  2. jogos

    176,191

    Guru

    668 points yesterday

    Profile
    Rank: Sage
  3. acperkins

    140,953

    Master

    1,000 points yesterday

    Profile
    Rank: Genius
  4. TempDBA

    113,707

    Master

    1,168 points yesterday

    Profile
    Rank: Sage
  5. matthewspatrick

    93,824

    Master

    1,600 points yesterday

    Profile
    Rank: Savant
  6. lcohan

    93,302

    Master

    2,000 points yesterday

    Profile
    Rank: Genius
  7. dtodd

    84,612

    Master

    0 points yesterday

    Profile
    Rank: Genius
  8. mwvisa1

    76,166

    Master

    0 points yesterday

    Profile
    Rank: Genius
  9. ValentinoV

    76,011

    Master

    1,800 points yesterday

    Profile
    Rank: Genius
  10. ralmada

    55,844

    Master

    400 points yesterday

    Profile
    Rank: Genius
  11. anujnb

    54,164

    Master

    0 points yesterday

    Profile
    Rank: Wizard
  12. angelIII

    53,846

    Master

    10 points yesterday

    Profile
    Rank: Elite
  13. EugeneZ

    53,602

    Master

    0 points yesterday

    Profile
    Rank: Genius
  14. HainKurt

    49,150

    0 points yesterday

    Profile
    Rank: Genius
  15. Buttercup1

    48,568

    0 points yesterday

    Profile
    Rank: Master
  16. huslayer

    40,600

    0 points yesterday

    Profile
    Rank: Sage
  17. appari

    39,400

    0 points yesterday

    Profile
    Rank: Genius
  18. tim_cs

    34,200

    0 points yesterday

    Profile
    Rank: Wizard
  19. wdosanjos

    33,836

    0 points yesterday

    Profile
    Rank: Genius
  20. dqmq

    31,136

    0 points yesterday

    Profile
    Rank: Genius
  21. Cluskitt

    30,940

    0 points yesterday

    Profile
    Rank: Wizard
  22. SJCFL-Admin

    30,877

    0 points yesterday

    Profile
    Rank: Master
  23. jimhorn

    29,975

    0 points yesterday

    Profile
    Rank: Genius
  24. Brichsoft

    28,107

    0 points yesterday

    Profile
    Rank: Sage
  25. momi_sabag

    27,903

    0 points yesterday

    Profile
    Rank: Genius

Hall Of Fame