Viewing 15 posts - 16 through 30 (of 171 total)
When you are using the database name in the directory name and in the file name in a script, there are some things to think about.
One thing is that there...
October 8, 2012 at 12:57 pm
One way of handling this is to check sys.indexes.allow_page_locks in the index maintenance script. If page locking is disabled for an index (allow_page_locks = 0), the script can then do...
October 5, 2012 at 1:13 pm
I have looked at the code. It is this code that is setting the directory structure.
INSERT INTO @CurrentDirectories (ID, DirectoryPath, CreateCompleted, CleanupCompleted)
...
October 4, 2012 at 1:27 pm
It looks like the table is locked and that the index rebuild command therefore is blocked. You have to find out what is blocking the index rebuild command.
Ola Hallengren
October 3, 2012 at 12:47 pm
There is a job, [Output File Cleanup], that is taking care of that. It is created by http://ola.hallengren.com/scripts/MaintenanceSolution.sql.
Ola Hallengren
August 14, 2012 at 11:46 pm
This looks like my index maintenance stored procedure.
http://ola.hallengren.com/sql-server-index-and-statistics-maintenance.html
Could you check if you have output - files configured in the job?
http://msdn.microsoft.com/en-us/library/ms188952.aspx
Ola Hallengren
March 2, 2012 at 9:30 am
My maintenance solution has support for excluding databases.
http://ola.hallengren.com/sql-server-backup.html
Ola Hallengren
September 12, 2011 at 2:39 pm
If you have used the script http://ola.hallengren.com/scripts/MaintenanceSolution.sql it will create output - files in the SQL Server error log directory.
Please also see this getting started guide.
http://ola.hallengren.com/sql-server-integrity-check.html
Ola Hallengren
August 23, 2011 at 7:52 am
>As for "His maint is also set up to do checkdb against the entire db or just the pieces that have changed."
The integrity check stored procedure does not have any...
August 5, 2011 at 3:12 am
DatabaseBackup (the ola.hallengren.com backup stored procedure) has an option for this (@ChangeBackupType = 'Y') that I recommend you to use.
It will then check if a backup can be made, before...
November 24, 2010 at 3:32 am
If you're interested in using my solution I recommend that you download the script MaintenanceSolution.sql. The script contains all the objects that you need and also a set of jobs.
http://ola.hallengren.com/scripts/MaintenanceSolution.sql
Ola...
November 3, 2010 at 1:32 am
You might also want to try out the option @ChangeBackupType = 'Y'. Then the log backup job will see that there is a new database and perform a full backup...
August 17, 2010 at 10:34 am
Some input on this. The advantage with backing up to new files with date and time in the file name and the way DatabaseBackup works, is that you're guaranteed to...
August 17, 2010 at 10:28 am
I have a parameter for backup striping in my script.
EXECUTE dbo.DatabaseBackup @databases = 'AdventureWorks',
@Directory = 'C:\Backup',
@BackupType = 'FULL',
@NumberOfFiles = 4
http://ola.hallengren.com/sql-server-backup.html
Ola Hallengren
July 21, 2010 at 3:28 am
I was experiencing downtime on my website yesterday, but it's working again now. I'm sorry for the inconvenience.
The script was first published on SQL Server Central 23 Feb 2008.
Ola Hallengren
September 5, 2009 at 9:09 am
Viewing 15 posts - 16 through 30 (of 171 total)