Create Job Server

  • Deny Christian

    SSCrazy

    Points: 2187

    Hello Experts,

    I'm New to this Forums,

    Kindly need advice about

    Integrity-->backup-->reorganize-->rebuild index-->clean up

    I want to make job schedules based on these criteria.

    whether to separate or can be made a whole job?

  • Chris Harshman

    SSC-Forever

    Points: 41661

    Deny Christian (10/11/2016)


    ...

    Integrity-->backup-->reorganize-->rebuild index-->clean up

    I want to make job schedules based on these criteria.

    whether to separate or can be made a whole job?

    I'm not sure I entirely understand the question, but offhand it would seem to me that you might want different frequency of jobs running for different maintenance types. It is possible to make one SQL Server Agent job, that has a step for each of the items you describe.

    There are a number of free resources available to help you setup these kinds of database maintenance items, such as:

    https://ola.hallengren.com/

    http://minionware.net/

  • Jeff Moden

    SSC Guru

    Points: 993912

    Deny Christian (10/11/2016)


    Hello Experts,

    I'm New to this Forums,

    Kindly need advice about

    Integrity-->backup-->reorganize-->rebuild index-->clean up

    I want to make job schedules based on these criteria.

    whether to separate or can be made a whole job?

    First of all, DO NOT USE MAINTENANCE PLANS for any of this. Try what you find at the following URL

    https://ola.hallengren.com/[/url]

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
    "If you think its expensive to hire a professional to do the job, wait until you hire an amateur."--Red Adair
    "Change is inevitable... change for the better is not."
    When you put the right degree of spin on it, the number 3|8 is also a glyph that describes the nature of a DBAs job. 😉

    Helpful Links:
    How to post code problems

  • Deny Christian

    SSCrazy

    Points: 2187

    First of all, DO NOT USE MAINTENANCE PLANS for any of this. Try what you find at the following URL

    https://ola.hallengren.com/[/url][/quote]

    ok Noted, thank you sir

  • Kevin3NF

    SSCarpal Tunnel

    Points: 4669

    First of all, DO NOT USE MAINTENANCE PLANS for any of this. Try what you find at the following URL

    https://ola.hallengren.com/[/url]

    ROFL :-D:-P;-):w00t::cool:

    There are situations where (not very flexible) maintenance plans are just fine for backups. Small shops, no 3rd party dependence, etc. Totally agree on index and stats though.

    I love Ola scripts.

    ------------------------------------------------------------------------------------------------
    Standing in the gap between Consultant and Contractor
    Kevin3NF
    DallasDBAs.com/Blog
    Why is my SQL Log File HUGE?!?![/url]
    The future of the DBA role...[/url]
    SQL Security Model in Plain English[/url]

  • Jeff Moden

    SSC Guru

    Points: 993912

    I'll agree that using Maintenance Plans for backups is better than no backups at all but if I had to help a small shop, I wouldn't do that to them. 😉

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
    "If you think its expensive to hire a professional to do the job, wait until you hire an amateur."--Red Adair
    "Change is inevitable... change for the better is not."
    When you put the right degree of spin on it, the number 3|8 is also a glyph that describes the nature of a DBAs job. 😉

    Helpful Links:
    How to post code problems

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply