Viewing 15 posts - 1 through 15 (of 16 total)
Lynn Pettis (8/7/2015)
delizat (8/7/2015)
Every situation is different, but this is the order of my backup jobs:1. Reorganize/Rebuild index
2. Check integrity
3. Update Statistics
4. Backup database.
Please tell me you aren't updating statistics...
August 10, 2015 at 9:24 am
Every situation is different, but this is the order of my backup jobs:
1. Reorganize/Rebuild index
2. Check integrity
3. Update Statistics
4. Backup database.
August 7, 2015 at 9:48 am
Maybe this will help.
I added a step in my database backup jobs that reorganizes if fragmentation is between 10-30% rebuilds if over 30%. Also, object is a user table, big...
August 7, 2015 at 9:38 am
Michael L John
I should have been more specific that this is a one time process for wrangling in unmanaged transaction log VLF's. Still, don't call it "Mis-information" unless you are...
November 25, 2014 at 1:46 pm
I'm using this code which is a hodge podge of scripts I've found and my own twists.
Maybe you can modify it for your needs.
DECLARE @command VARCHAR(4000)
DECLARE @schemaname VARCHAR(130)
DECLARE @objectname...
November 25, 2014 at 10:34 am
Hope this helps a bit.
http://www.sqlservercentral.com/articles/Administration/64582/
Step 1 == > Check VLF Count using DBCC LogInfo
Step 2 ==> Backup the Transaction Log
Step 3 == >...
November 25, 2014 at 10:05 am
Thanks,
We have up to v4.0.30319 installed on that server.
v2.0.50727
v3.0
v3.5
v4.0.30319
2008 using the framework for the geography types.
I'm getting errors when I try to dbcc checkdb on a database with...
November 13, 2014 at 12:19 pm
Using Hyper-V Dynamic Memory?
July 24, 2014 at 8:20 am
- Check VLF Count using DBCC LogInfo (excessive VLF's will cause performance issues)
- Put the database in full recovery
- Backup the transaction log
BACKUP LOG @databasename TO DISK = @filename...
June 12, 2014 at 3:07 pm
Does the caller have permissions on both databases? Try adding a with execute to the trigger and see if it runs.
CREATE PROCEDURE dbo.usp_Demo
WITH EXECUTE AS 'SqlUserWithPermissionsInBothDBs'
June 12, 2014 at 7:53 am
🙂 I'm glad you were able to use it. I was in a rush and not able to customize it, but I figured you'd get the idea.
June 11, 2014 at 3:03 pm
You could just create another monitor job that queries job history every three hours and sends an alert.
use msdb
go
SELECT j.[name], h.step_id, h.step_name, h.[message],
h.run_status, h.run_date, h.run_time, h.run_duration
FROM sysjobs j
LEFT JOIN sysjobhistory...
June 9, 2014 at 4:15 pm
CREATE TABLE [dbo].[QA_dbSizeSnapshot](
[rowId] [int] IDENTITY(1,1) NOT NULL,
[dbName] [varchar(255) NOT NULL,
[dataFileSizeMB] [float] NOT NULL,
[logFileSizeMB] [float] NOT NULL,
[capturedDtg] [datetime] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[QA_dbSizeSnapshot] ADD CONSTRAINT [DF_QA_dbSizeSnapshot_capturedDtg] DEFAULT (getdate()) for [capturedDTG]
GO
/******Job...
June 9, 2014 at 1:49 pm
Are you able to look at the job under Management Studio/sql server agent/jobs?
-Management Studio/sql server agent/jobs
-Double click the job
-select "steps" from the left window
-double click a step
Could it have more...
June 9, 2014 at 12:32 pm
Thanks for your reply!
I've looked at the error log/job history and there are no entries for +-5 mins around the time of the grow. Also, everything that should have run...
June 9, 2014 at 12:08 pm
Viewing 15 posts - 1 through 15 (of 16 total)