Viewing 15 posts - 4,381 through 4,395 (of 7,502 total)
check out Shrink database in Books Online !
(or shrink file if you only want to do a single file)
Be aware that this will interfere with ongoing operations !
October 28, 2008 at 6:13 am
If this is the first alert on this sqlserver, you may have to stop/start sqlagent.
try this:
RAISERROR (17890, 10, 1) with log
October 28, 2008 at 3:05 am
we cycle the errorlog every sunday using a sqlagent job.
If you want to cycle, based on the file size, you'll have to write your own proc.
e.g. this one monitors sqlagent.out...
October 28, 2008 at 1:06 am
Nice feedback all.
Even the ( drum roll ) worked :w00t:
October 28, 2008 at 12:57 am
I didn't realize you actually wanted to consult it with EM. Sorry for that:blush:
With EM Management, SQLServer errorlogs then right click and check that setting.
October 27, 2008 at 2:18 pm
As you've found out, you really need the original size to restore a database.
With db sizes growing, and your db still being small but expected to grow fast, maybe now...
October 27, 2008 at 1:49 pm
Well... I guess it is undocumented (in bol), so use carefully.
You could use master..xp_readerrorlog
I haven't got all info at hand, but if you search the net, you'll find it for...
October 27, 2008 at 1:23 pm
? Edition and version of your sqlserver please.
- chances of locking or deadlocking ?
- online or offline rebuild ?
October 27, 2008 at 1:16 pm
That's one of the reasons we always urge people to put a clustering index on every table !
( unless it is proven to really hurt performance 😉 )
It's a...
October 27, 2008 at 1:13 pm
Here's another post handling this issue...
October 24, 2008 at 7:34 am
just open the script with SSMS in a query window.
One of your SSMS tabs is named "Query" there is an item named "SQLCMD mode".
October 24, 2008 at 7:27 am
you're suffering another bad practice .....
and you'll have to pay the price to get rid of it.
Don't mess with system objects !
That's like: I'm sysadmin of the dbserver hosting...
October 23, 2008 at 11:41 pm
bulk recovery only doesn't log bulk operations (see BOL ! )
So classic update statements are still written in full to the log !!
If you log did grow to big, you...
October 23, 2008 at 11:40 am
is it your dbmail failing (error info ?)
or is it your mailserver holding back the mails because of some anti spam measures ?
Check with your mail admins.
October 23, 2008 at 11:31 am
problem solved.
SELECT TOP 1 *
INTO #sysobjects
FROM [dbo].[sysobjects]
where 0 = 1;
ALTER TABLE #sysobjects ADD [schemaname] [VARCHAR] (48) NULL ;
-- DELETE FROM...
October 23, 2008 at 11:24 am
Viewing 15 posts - 4,381 through 4,395 (of 7,502 total)