Viewing 15 posts - 31 through 45 (of 65 total)
I do append to the same file for ease of file cleanup later when I do the overwrite.
as this might not be the most perfect way it works. I...
September 6, 2012 at 11:51 am
ok here is where I'm settling.
1. run db integrity check system db
2. run db integrity check users db
3. backup db full
4. backup db log file (overwrite)
5. set db bulk mode
6....
September 6, 2012 at 11:36 am
the reason I was doing the integrity check twice is because I taught to run it first. Then ran it again because of this comment:
http://ola.hallengren.com/frequently-asked-questions.html
Scheduling:
"I recommend that...
September 6, 2012 at 10:59 am
So let me throw my weekly maintenance plan order to you and please provide any feedback.
1. run db integrity check system db
2. set db bulk mode
3. run db integrity check...
September 6, 2012 at 9:18 am
A more advisable way to do this would be to leave the proc as-is and just provide the specialized parameters when you call it:
Perfect! I like this solution and...
September 6, 2012 at 6:28 am
ok I modified the top of the SP found under master dbo.indexoptimize
-- @UpdateStatistics nvarchar(max) = NULL,
@UpdateStatistics nvarchar(max) = ALL,
-- @OnlyModifiedStatistics nvarchar(max) = 'N',
@OnlyModifiedStatistics nvarchar(max) = 'Y',
-- @StatisticsSample int = NULL,
@StatisticsSample...
September 5, 2012 at 2:36 pm
I'm thinking of just running the standard ALL FULL update statistics I found in the Maintenance Plan where I would modify this to ALL but do you think there is...
September 5, 2012 at 2:09 pm
I see thanks!
September 5, 2012 at 1:55 pm
you lost me here.
I think you meant I could run the command I pasted. Not sure though.
September 5, 2012 at 1:47 pm
would I use the code in the job that runs the stored procedure?
example:
sqlcmd -E -S $(ESCAPE_SQUOTE(SRVR)) -d master -Q "EXECUTE [dbo].[IndexOptimize] @databases = 'USER_DATABASES', @LogToTable = 'Y'" -b
or...
September 5, 2012 at 1:43 pm
I do not see an execute package task in sql 2005 options for maintenance plans.
How can I execute these jobs so that the plan waits?
Is there a way to maybe...
September 5, 2012 at 1:28 pm
Ok I think I almost have everything up to snuff finally but a few last questions. I want to use these provided index and integrity check operations from my...
September 5, 2012 at 12:11 pm
I will set it to 3000 for 3GB I believe it is only using about 1GB during the week at the most so 3GB should give it some room.
Is there...
July 16, 2012 at 3:05 pm
I do appreciate the information everyone has provided.
July 16, 2012 at 2:59 pm
I changed the daily code to run:
USE [ActivplantDB]
GO
DBCC SHRINKFILE (N'ActivplantDB_Log' , 0, TRUNCATEONLY)
GO
July 16, 2012 at 2:52 pm
Viewing 15 posts - 31 through 45 (of 65 total)