Viewing 15 posts - 4,216 through 4,230 (of 7,164 total)
Fraggle-805517 (5/1/2012)
opc.three (5/1/2012)
"MSDB database MDF is 13.5 GB" suggests it may need some attention. backup history, job history and database mail logs are common sources of msdb bloat.
General question. ...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 1, 2012 at 2:36 pm
If you have 6GB RAM then how would setting max memory to 15000MB help you restrict the SQL Server from growing the buffer pool to the point where it affected...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 1, 2012 at 1:51 pm
"MSDB database MDF is 13.5 GB" suggests it may need some attention. backup history, job history and database mail logs are common sources of msdb bloat.
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 1, 2012 at 1:40 pm
With 6GB of RAM in your machine 1500MB would be very conservative. 1500MB may make sense for you though, it depends on what else you have running on your server...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 1, 2012 at 1:37 pm
OK, I see now.
EXEC msdb.dbo.sp_delete_database_backuphistory @database_name = N'ActiveTravelNetwork'
Backup history is deleted when a database is dropped. Originally I thought we were talking job history...for backup history it is...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 1, 2012 at 1:28 pm
Krasavita (5/1/2012)
5.99 8192.00 2.21 ...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 1, 2012 at 1:20 pm
pamozer (5/1/2012)
and assign the values from the DataSet to another variable, per the Variable Mapping Page". Then you can use the second variable I mentioned that receives the values...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 1, 2012 at 1:02 pm
You will not achieve a "deep understanding" without putting in some time learning on your own. Feel free to use Google.
Here are some good articles to get you started:
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 1, 2012 at 12:49 pm
Hmmm, Google must have been broken again mohan.bndr. Using an exact phrase from your original post I see many results that can help you understand SQL Server Error Logs:
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 1, 2012 at 12:44 pm
Can you please provide the version, edition and bitness of your OS and SQL Server instance?
And the results of these queries:
-- memory overview
SELECT CAST(physical_memory_in_bytes / (1024.0 * 1024.0 *...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 1, 2012 at 12:38 pm
What you may want to do is chunk it out until you catch up. How many days worth of job history do you need to delete?
sp_purge_jobhistory accepts a parameter to...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 1, 2012 at 12:33 pm
PPS I would also make NUM_ALLOWED an INT to match the data type that COUNT() returns.
And one other perfromance bump might be to capture the ORIGINAL_LOGIN() in a variable, instead...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 1, 2012 at 12:25 pm
PS I would recommend making LOGIN_ID a SYSNAME and making it the unique clustered index of dbo.LimitedLogins.
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 1, 2012 at 12:21 pm
You would need to make sure logon_trigger_login can SELECT from the table:
USE GK50LIVE;
GO
CREATE USER [logon_trigger_login] FROM LOGIN [logon_trigger_login] WITH DEFAULT_SCHEMA = [dbo];
GO
GRANT SELECT ON dbo.LimitedLogins TO logon_trigger_login;
GO
Then you could modify...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 1, 2012 at 12:19 pm
Are you sure you were encountering deadlocks? and not just significant blocking?
Deleting large swaths of job history can wreak havoc on your server if you have a lot of jobs...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 1, 2012 at 12:06 pm
Viewing 15 posts - 4,216 through 4,230 (of 7,164 total)