Re: DB maintenance plan action entry in SQL Server logs
From: Quentin Ran (ab_at_who.com)
Date: 03/09/04
- Next message: Adam Machanic: "Re: Home office phone system"
- Previous message: Tunji: "Run Scripts"
- In reply to: Tibor Karaszi: "Re: DB maintenance plan action entry in SQL Server logs"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 9 Mar 2004 10:40:33 -0600
Thanks Tibor.
"Tibor Karaszi" <tibor_please.no.email_karaszi@hotmail.nomail.com> wrote in
message news:OG6HNC0AEHA.3944@TK2MSFTNGP11.phx.gbl...
> OK, so we are talking about SQL Server writing these entries.
> SQL Server doesn't log every command you execute. Not even every DBCC
> command. DBCC DBREINDEX is not logged to the errorlog by default, while
> CHECKDB is. You can change this, of course (sp_altermessage).
>
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
>
>
> "Quentin Ran" <ab@who.com> wrote in message
> news:e6LE4xuAEHA.2484@TK2MSFTNGP12.phx.gbl...
> > In EM,
> >
> > server\Management\SQL Server Logs
> >
> >
> > "Tibor Karaszi" <tibor_please.no.email_karaszi@hotmail.nomail.com> wrote
> in
> > message news:uuq2jluAEHA.1420@TK2MSFTNGP11.phx.gbl...
> > > What log is this? What is the source of these log entries?
> > >
> > > --
> > > Tibor Karaszi, SQL Server MVP
> > > http://www.karaszi.com/sqlserver/default.asp
> > >
> > >
> > > "Quentin Ran" <ab@who.com> wrote in message
> > > news:uTISqMtAEHA.3436@tk2msftngp13.phx.gbl...
> > > > Hi group,
> > > >
> > > > looking at SQL Server Logs, I see an entry for all of the actions of
a
> > > > database maintenance plan other than the optimization. When set up,
> > there
> > > > is an entry for DBCC CKECKDB which is for the integrity check; there
> is
> > > > "Database backed up: Database: master, creation ...." for the db
full
> > > > backup; there is "Log backed up: Database: ..." for trans log
backup.
> > The
> > > > only remaining maintenance plan action, optimization, runs "EXECUTE
> > > > master.dbo.xp_sqlmaint ..." with the argument -RebldIdx which I
> believe
> > > > should be a DBCC DBREINDEX. Whatever it runs, there is no
> corresponding
> > > > entry in the SQL Server Logs. How come?
> > > >
> > > > Quentin
> > > >
> > > >
> > >
> > >
> >
> >
>
>
- Next message: Adam Machanic: "Re: Home office phone system"
- Previous message: Tunji: "Run Scripts"
- In reply to: Tibor Karaszi: "Re: DB maintenance plan action entry in SQL Server logs"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|