Showing posts with label sp3. Show all posts
Showing posts with label sp3. Show all posts

Wednesday, March 28, 2012

Latest version of MSDE

What is the latest version of MSDE (and SQL Server)
that I can install for a client that uses Windows XP ?
SQL Server 2000 SP3 ?Originally posted by Karolyn
What is the latest version of MSDE (and SQL Server)
that I can install for a client that uses Windows XP ?

SQL Server 2000 SP3 ? http://www.microsoft.com/sql/msde/downloads/download.asp|||you're early today !
happy new year !

Is there some significant performance increase
between SQL Server 7 and SQL Server 2K ?
'Cause I've done all my tests on SQL Server 7 and MSDE 7
and I was'nt impressed by the performances
(that we're comparable with thoses I had with Sybase)|||Originally posted by Karolyn
Is there some significant performance increase
between SQL Server 7 and SQL Server 2K ?

Cant comment much on that !! have not worked much on SQL Server 7.0|||Performance increases - New datatype(table), views (ability to index and partition), index enhancements such as ability to index a computed column and index creation, how text/ntext/image are stored ...

Read this article:

link (http://msdn.microsoft.com/msdnmag/issues/0800/sql2000/default.aspx)|||You left out UDFs?|||That was referencing performance increases - udfs offer reusability,maintainability and extensibility ... Anyway, all the benefits of sql server 2000 are included in the link.|||Also ... don't mention udfs for a while after the permissions bug :-)|||yeah, brett, you almost started it again|||Originally posted by rnealejr
Also ... don't mention udfs for a while after the permissions bug :-)

hey !!! what was that ??|||well, rdjabarov and blindman got at it again when an m$ bug was being discussed. apparently neither one of them can hold their waters :-)|||?? :confused: ??|||hey, it's simple:

one is a man, and another...is also a man...does it make sense?? :-)|||I mean ... can you point me to the battleground ... i would like to see the war for myself :D|||just read from the beginning (http://www.dbforums.com/t977030.html)

latest hotfixes and SP3

Hello everyone
I am very new at this and I really need your help.
We have purchased and installed an SQL Server 2000, Product Version: 8.00.760 (SP3) in a new Windows 2003 Server. I understand that I am not supposed to install SP3a. My system is up-to-date regarding critical updates from widows update service.
Can anyone tell me what additional hotfixes for SQL do I have to install in order to keep my system healthy?
I am confused because I placed a query on the Microsoft Security Bulletin Search Page for SQL Server 2000 (SP3) hotfixes (checked: Show only bulletins that contain patches that have not been replaced by a more recent patch.) and the results I got were:
1. Jan 13, 2004, Buffer Overrun in MDAC Function Could Allow Code Execution (832483): MS04-003, Affected Software: MDAC 2.5, MDAC 2.6, MDAC 2.7, MDAC 2.8
2. Jul 23, 2003, Cumulative Patch for Microsoft SQL Server (815495): MS03-031, Affected Software: SQL Server 7.0, Microsoft Data Engine (MSDE), Microsoft SQL Server 2000 Desktop Engine (MSDE 2000), SQL Server 2000
The first one (832483) is installed but the second is not. Does windows updates service install hotfixes for SQL Server or do I have to install them manually?
Do I have to install this Patch 815495?
Do I have to install Microsoft SQL Server 2000 Desktop Engine (MSDE 2000) Release A (This release includes the fixes for the Slammer (W32.slammer) worm)? (I found this on another page Most Popular Downloads)
Sorry for the length!
I thank you in advance for your time.
Don't install all of them that I can tell you. Only install the hotfixes if
you realy realy realy need them. I did install them all and it caused me
more trouble than it did good. Just wait patiently for SP4, I guess that's
much safer.
mvg
Michael
"bonset" <anonymous@.discussions.microsoft.com> wrote in message
news:0BAB4516-FE3F-4491-B619-24EEF364BC96@.microsoft.com...
> Hello everyone
> I am very new at this and I really need your help.
> We have purchased and installed an SQL Server 2000, Product Version:
8.00.760 (SP3) in a new Windows 2003 Server. I understand that I am not
supposed to install SP3a. My system is up-to-date regarding critical updates
from widows update service.
> Can anyone tell me what additional hotfixes for SQL do I have to install
in order to keep my system healthy?
> I am confused because I placed a query on the Microsoft Security Bulletin
Search Page for SQL Server 2000 (SP3) hotfixes (checked: Show only bulletins
that contain patches that have not been replaced by a more recent patch.)
and the results I got were:
> 1. Jan 13, 2004, Buffer Overrun in MDAC Function Could Allow Code
Execution (832483): MS04-003, Affected Software: MDAC 2.5, MDAC 2.6, MDAC
2.7, MDAC 2.8
> 2. Jul 23, 2003, Cumulative Patch for Microsoft SQL Server (815495):
MS03-031, Affected Software: SQL Server 7.0, Microsoft Data Engine (MSDE),
Microsoft SQL Server 2000 Desktop Engine (MSDE 2000), SQL Server 2000
> The first one (832483) is installed but the second is not. Does windows
updates service install hotfixes for SQL Server or do I have to install them
manually?
> Do I have to install this Patch 815495?
> Do I have to install Microsoft SQL Server 2000 Desktop Engine (MSDE 2000)
Release A (This release includes the fixes for the Slammer (W32.slammer)
worm)? (I found this on another page Most Popular Downloads)
> Sorry for the length!
> I thank you in advance for your time.
>
|||Hi,
If the issues in MS03-031 are applicable to you then apply MS03-031 with
826161 (this fixes a problem from MS03-031). This is the level we are aiming
at. Also SP4 should not be too long from now.
Chris Wood
Alberta Department of Energy
CANADA
"bonset" <anonymous@.discussions.microsoft.com> wrote in message
news:0BAB4516-FE3F-4491-B619-24EEF364BC96@.microsoft.com...
> Hello everyone
> I am very new at this and I really need your help.
> We have purchased and installed an SQL Server 2000, Product Version:
8.00.760 (SP3) in a new Windows 2003 Server. I understand that I am not
supposed to install SP3a. My system is up-to-date regarding critical updates
from widows update service.
> Can anyone tell me what additional hotfixes for SQL do I have to install
in order to keep my system healthy?
> I am confused because I placed a query on the Microsoft Security Bulletin
Search Page for SQL Server 2000 (SP3) hotfixes (checked: Show only bulletins
that contain patches that have not been replaced by a more recent patch.)
and the results I got were:
> 1. Jan 13, 2004, Buffer Overrun in MDAC Function Could Allow Code
Execution (832483): MS04-003, Affected Software: MDAC 2.5, MDAC 2.6, MDAC
2.7, MDAC 2.8
> 2. Jul 23, 2003, Cumulative Patch for Microsoft SQL Server (815495):
MS03-031, Affected Software: SQL Server 7.0, Microsoft Data Engine (MSDE),
Microsoft SQL Server 2000 Desktop Engine (MSDE 2000), SQL Server 2000
> The first one (832483) is installed but the second is not. Does windows
updates service install hotfixes for SQL Server or do I have to install them
manually?
> Do I have to install this Patch 815495?
> Do I have to install Microsoft SQL Server 2000 Desktop Engine (MSDE 2000)
Release A (This release includes the fixes for the Slammer (W32.slammer)
worm)? (I found this on another page Most Popular Downloads)
> Sorry for the length!
> I thank you in advance for your time.
>
|||I am new to SQL Server and have SQL Server 2000 SP3
running on Windows 2000. We are experiencing some
performance problems and I am considering applying SP3a.
I noticed in you question that you stated "I understand
that I am not supposed to install SP3a." why did you say
this, I could not find anything in the documents about
SP3a that would supoort this?
Thanks, Phil

>--Original Message--
>Don't install all of them that I can tell you. Only
install the hotfixes if
>you realy realy realy need them. I did install them all
and it caused me
>more trouble than it did good. Just wait patiently for
SP4, I guess that's
>much safer.
>mvg
>Michael
>"bonset" <anonymous@.discussions.microsoft.com> wrote in
message
>news:0BAB4516-FE3F-4491-B619-
24EEF364BC96@.microsoft.com...[vbcol=seagreen]
Product Version:
>8.00.760 (SP3) in a new Windows 2003 Server. I
understand that I am not
>supposed to install SP3a. My system is up-to-date
regarding critical updates[vbcol=seagreen]
>from widows update service.
I have to install[vbcol=seagreen]
>in order to keep my system healthy?
Microsoft Security Bulletin
>Search Page for SQL Server 2000 (SP3) hotfixes (checked:
Show only bulletins
>that contain patches that have not been replaced by a
more recent patch.)[vbcol=seagreen]
>and the results I got were:
Could Allow Code
>Execution (832483): MS04-003, Affected Software: MDAC
2.5, MDAC 2.6, MDAC[vbcol=seagreen]
>2.7, MDAC 2.8
Server (815495):
>MS03-031, Affected Software: SQL Server 7.0, Microsoft
Data Engine (MSDE),
>Microsoft SQL Server 2000 Desktop Engine (MSDE 2000),
SQL Server 2000[vbcol=seagreen]
not. Does windows
>updates service install hotfixes for SQL Server or do I
have to install them[vbcol=seagreen]
>manually?
Engine (MSDE 2000)
>Release A (This release includes the fixes for the
Slammer (W32.slammer)
>worm)? (I found this on another page Most Popular
Downloads)
>
>.
>

latest hotfixes and SP3

Hello everyone
I am very new at this and I really need your help.
We have purchased and installed an SQL Server 2000, Product Version: 8.00.76
0 (SP3) in a new Windows 2003 Server. I understand that I am not supposed to
install SP3a. My system is up-to-date regarding critical updates from widow
s update service.
Can anyone tell me what additional hotfixes for SQL do I have to install in
order to keep my system healthy?
I am confused because I placed a query on the Microsoft Security Bulletin Se
arch Page for SQL Server 2000 (SP3) hotfixes (checked: Show only bulletins t
hat contain patches that have not been replaced by a more recent patch.) and
the results I got were:
1. Jan 13, 2004, Buffer Overrun in MDAC Function Could Allow Code Execution
(832483): MS04-003, Affected Software: MDAC 2.5, MDAC 2.6, MDAC 2.7, MDAC 2
.8
2. Jul 23, 2003, Cumulative Patch for Microsoft SQL Server (815495): MS03-03
1, Affected Software: SQL Server 7.0, Microsoft Data Engine (MSDE), Microsof
t SQL Server 2000 Desktop Engine (MSDE 2000), SQL Server 2000
The first one (832483) is installed but the second is not. Does windows upda
tes service install hotfixes for SQL Server or do I have to install them man
ually?
Do I have to install this Patch 815495?
Do I have to install Microsoft SQL Server 2000 Desktop Engine (MSDE 2000) Re
lease A (This release includes the fixes for the Slammer (W32.slammer) worm)
? (I found this on another page Most Popular Downloads)
Sorry for the length!
I thank you in advance for your time.Don't install all of them that I can tell you. Only install the hotfixes if
you realy realy realy need them. I did install them all and it caused me
more trouble than it did good. Just wait patiently for SP4, I guess that's
much safer.
mvg
Michael
"bonset" <anonymous@.discussions.microsoft.com> wrote in message
news:0BAB4516-FE3F-4491-B619-24EEF364BC96@.microsoft.com...
> Hello everyone
> I am very new at this and I really need your help.
> We have purchased and installed an SQL Server 2000, Product Version:
8.00.760 (SP3) in a new Windows 2003 Server. I understand that I am not
supposed to install SP3a. My system is up-to-date regarding critical updates
from widows update service.
> Can anyone tell me what additional hotfixes for SQL do I have to install
in order to keep my system healthy?
> I am confused because I placed a query on the Microsoft Security Bulletin
Search Page for SQL Server 2000 (SP3) hotfixes (checked: Show only bulletins
that contain patches that have not been replaced by a more recent patch.)
and the results I got were:
> 1. Jan 13, 2004, Buffer Overrun in MDAC Function Could Allow Code
Execution (832483): MS04-003, Affected Software: MDAC 2.5, MDAC 2.6, MDAC
2.7, MDAC 2.8
> 2. Jul 23, 2003, Cumulative Patch for Microsoft SQL Server (815495):
MS03-031, Affected Software: SQL Server 7.0, Microsoft Data Engine (MSDE),
Microsoft SQL Server 2000 Desktop Engine (MSDE 2000), SQL Server 2000
> The first one (832483) is installed but the second is not. Does windows
updates service install hotfixes for SQL Server or do I have to install them
manually?
> Do I have to install this Patch 815495?
> Do I have to install Microsoft SQL Server 2000 Desktop Engine (MSDE 2000)
Release A (This release includes the fixes for the Slammer (W32.slammer)
worm)? (I found this on another page Most Popular Downloads)
> Sorry for the length!
> I thank you in advance for your time.
>|||Hi,
If the issues in MS03-031 are applicable to you then apply MS03-031 with
826161 (this fixes a problem from MS03-031). This is the level we are aiming
at. Also SP4 should not be too long from now.
Chris Wood
Alberta Department of Energy
CANADA
"bonset" <anonymous@.discussions.microsoft.com> wrote in message
news:0BAB4516-FE3F-4491-B619-24EEF364BC96@.microsoft.com...
> Hello everyone
> I am very new at this and I really need your help.
> We have purchased and installed an SQL Server 2000, Product Version:
8.00.760 (SP3) in a new Windows 2003 Server. I understand that I am not
supposed to install SP3a. My system is up-to-date regarding critical updates
from widows update service.
> Can anyone tell me what additional hotfixes for SQL do I have to install
in order to keep my system healthy?
> I am confused because I placed a query on the Microsoft Security Bulletin
Search Page for SQL Server 2000 (SP3) hotfixes (checked: Show only bulletins
that contain patches that have not been replaced by a more recent patch.)
and the results I got were:
> 1. Jan 13, 2004, Buffer Overrun in MDAC Function Could Allow Code
Execution (832483): MS04-003, Affected Software: MDAC 2.5, MDAC 2.6, MDAC
2.7, MDAC 2.8
> 2. Jul 23, 2003, Cumulative Patch for Microsoft SQL Server (815495):
MS03-031, Affected Software: SQL Server 7.0, Microsoft Data Engine (MSDE),
Microsoft SQL Server 2000 Desktop Engine (MSDE 2000), SQL Server 2000
> The first one (832483) is installed but the second is not. Does windows
updates service install hotfixes for SQL Server or do I have to install them
manually?
> Do I have to install this Patch 815495?
> Do I have to install Microsoft SQL Server 2000 Desktop Engine (MSDE 2000)
Release A (This release includes the fixes for the Slammer (W32.slammer)
worm)? (I found this on another page Most Popular Downloads)
> Sorry for the length!
> I thank you in advance for your time.
>|||I am new to SQL Server and have SQL Server 2000 SP3
running on Windows 2000. We are experiencing some
performance problems and I am considering applying SP3a.
I noticed in you question that you stated "I understand
that I am not supposed to install SP3a." why did you say
this, I could not find anything in the documents about
SP3a that would supoort this?
Thanks, Phil

>--Original Message--
>Don't install all of them that I can tell you. Only
install the hotfixes if
>you realy realy realy need them. I did install them all
and it caused me
>more trouble than it did good. Just wait patiently for
SP4, I guess that's
>much safer.
>mvg
>Michael
>"bonset" <anonymous@.discussions.microsoft.com> wrote in
message
>news:0BAB4516-FE3F-4491-B619-
24EEF364BC96@.microsoft.com...
Product Version:[vbcol=seagreen]
>8.00.760 (SP3) in a new Windows 2003 Server. I
understand that I am not
>supposed to install SP3a. My system is up-to-date
regarding critical updates
>from widows update service.
I have to install[vbcol=seagreen]
>in order to keep my system healthy?
Microsoft Security Bulletin[vbcol=seagreen]
>Search Page for SQL Server 2000 (SP3) hotfixes (checked:
Show only bulletins
>that contain patches that have not been replaced by a
more recent patch.)
>and the results I got were:
Could Allow Code[vbcol=seagreen]
>Execution (832483): MS04-003, Affected Software: MDAC
2.5, MDAC 2.6, MDAC
>2.7, MDAC 2.8
Server (815495):[vbcol=seagreen]
>MS03-031, Affected Software: SQL Server 7.0, Microsoft
Data Engine (MSDE),
>Microsoft SQL Server 2000 Desktop Engine (MSDE 2000),
SQL Server 2000
not. Does windows[vbcol=seagreen]
>updates service install hotfixes for SQL Server or do I
have to install them
>manually?
Engine (MSDE 2000)[vbcol=seagreen]
>Release A (This release includes the fixes for the
Slammer (W32.slammer)
>worm)? (I found this on another page Most Popular
Downloads)
>
>.
>

latest hotfixes and SP3

Hello everyon
I am very new at this and I really need your help.
We have purchased and installed an SQL Server 2000, Product Version: 8.00.760 (SP3) in a new Windows 2003 Server. I understand that I am not supposed to install SP3a. My system is up-to-date regarding critical updates from widows update service.
Can anyone tell me what additional hotfixes for SQL do I have to install in order to keep my system healthy?
I am confused because I placed a query on the Microsoft Security Bulletin Search Page for SQL Server 2000 (SP3) hotfixes (checked: Show only bulletins that contain patches that have not been replaced by a more recent patch.) and the results I got were
1. Jan 13, 2004, Buffer Overrun in MDAC Function Could Allow Code Execution (832483): MS04-003, Affected Software: MDAC 2.5, MDAC 2.6, MDAC 2.7, MDAC 2.8
2. Jul 23, 2003, Cumulative Patch for Microsoft SQL Server (815495): MS03-031, Affected Software: SQL Server 7.0, Microsoft Data Engine (MSDE), Microsoft SQL Server 2000 Desktop Engine (MSDE 2000), SQL Server 200
The first one (832483) is installed but the second is not. Does windows updates service install hotfixes for SQL Server or do I have to install them manually?
Do I have to install this Patch 815495?
Do I have to install Microsoft SQL Server 2000 Desktop Engine (MSDE 2000) Release A (This release includes the fixes for the Slammer (W32.slammer) worm)? (I found this on another page Most Popular Downloads
Sorry for the length
I thank you in advance for your timeDon't install all of them that I can tell you. Only install the hotfixes if
you realy realy realy need them. I did install them all and it caused me
more trouble than it did good. Just wait patiently for SP4, I guess that's
much safer.
mvg
Michael
"bonset" <anonymous@.discussions.microsoft.com> wrote in message
news:0BAB4516-FE3F-4491-B619-24EEF364BC96@.microsoft.com...
> Hello everyone
> I am very new at this and I really need your help.
> We have purchased and installed an SQL Server 2000, Product Version:
8.00.760 (SP3) in a new Windows 2003 Server. I understand that I am not
supposed to install SP3a. My system is up-to-date regarding critical updates
from widows update service.
> Can anyone tell me what additional hotfixes for SQL do I have to install
in order to keep my system healthy?
> I am confused because I placed a query on the Microsoft Security Bulletin
Search Page for SQL Server 2000 (SP3) hotfixes (checked: Show only bulletins
that contain patches that have not been replaced by a more recent patch.)
and the results I got were:
> 1. Jan 13, 2004, Buffer Overrun in MDAC Function Could Allow Code
Execution (832483): MS04-003, Affected Software: MDAC 2.5, MDAC 2.6, MDAC
2.7, MDAC 2.8
> 2. Jul 23, 2003, Cumulative Patch for Microsoft SQL Server (815495):
MS03-031, Affected Software: SQL Server 7.0, Microsoft Data Engine (MSDE),
Microsoft SQL Server 2000 Desktop Engine (MSDE 2000), SQL Server 2000
> The first one (832483) is installed but the second is not. Does windows
updates service install hotfixes for SQL Server or do I have to install them
manually?
> Do I have to install this Patch 815495?
> Do I have to install Microsoft SQL Server 2000 Desktop Engine (MSDE 2000)
Release A (This release includes the fixes for the Slammer (W32.slammer)
worm)? (I found this on another page Most Popular Downloads)
> Sorry for the length!
> I thank you in advance for your time.
>|||Hi,
If the issues in MS03-031 are applicable to you then apply MS03-031 with
826161 (this fixes a problem from MS03-031). This is the level we are aiming
at. Also SP4 should not be too long from now.
Chris Wood
Alberta Department of Energy
CANADA
"bonset" <anonymous@.discussions.microsoft.com> wrote in message
news:0BAB4516-FE3F-4491-B619-24EEF364BC96@.microsoft.com...
> Hello everyone
> I am very new at this and I really need your help.
> We have purchased and installed an SQL Server 2000, Product Version:
8.00.760 (SP3) in a new Windows 2003 Server. I understand that I am not
supposed to install SP3a. My system is up-to-date regarding critical updates
from widows update service.
> Can anyone tell me what additional hotfixes for SQL do I have to install
in order to keep my system healthy?
> I am confused because I placed a query on the Microsoft Security Bulletin
Search Page for SQL Server 2000 (SP3) hotfixes (checked: Show only bulletins
that contain patches that have not been replaced by a more recent patch.)
and the results I got were:
> 1. Jan 13, 2004, Buffer Overrun in MDAC Function Could Allow Code
Execution (832483): MS04-003, Affected Software: MDAC 2.5, MDAC 2.6, MDAC
2.7, MDAC 2.8
> 2. Jul 23, 2003, Cumulative Patch for Microsoft SQL Server (815495):
MS03-031, Affected Software: SQL Server 7.0, Microsoft Data Engine (MSDE),
Microsoft SQL Server 2000 Desktop Engine (MSDE 2000), SQL Server 2000
> The first one (832483) is installed but the second is not. Does windows
updates service install hotfixes for SQL Server or do I have to install them
manually?
> Do I have to install this Patch 815495?
> Do I have to install Microsoft SQL Server 2000 Desktop Engine (MSDE 2000)
Release A (This release includes the fixes for the Slammer (W32.slammer)
worm)? (I found this on another page Most Popular Downloads)
> Sorry for the length!
> I thank you in advance for your time.
>|||I am new to SQL Server and have SQL Server 2000 SP3
running on Windows 2000. We are experiencing some
performance problems and I am considering applying SP3a.
I noticed in you question that you stated "I understand
that I am not supposed to install SP3a." why did you say
this, I could not find anything in the documents about
SP3a that would supoort this?
Thanks, Phil
>--Original Message--
>Don't install all of them that I can tell you. Only
install the hotfixes if
>you realy realy realy need them. I did install them all
and it caused me
>more trouble than it did good. Just wait patiently for
SP4, I guess that's
>much safer.
>mvg
>Michael
>"bonset" <anonymous@.discussions.microsoft.com> wrote in
message
>news:0BAB4516-FE3F-4491-B619-
24EEF364BC96@.microsoft.com...
>> Hello everyone
>> I am very new at this and I really need your help.
>> We have purchased and installed an SQL Server 2000,
Product Version:
>8.00.760 (SP3) in a new Windows 2003 Server. I
understand that I am not
>supposed to install SP3a. My system is up-to-date
regarding critical updates
>from widows update service.
>> Can anyone tell me what additional hotfixes for SQL do
I have to install
>in order to keep my system healthy?
>> I am confused because I placed a query on the
Microsoft Security Bulletin
>Search Page for SQL Server 2000 (SP3) hotfixes (checked:
Show only bulletins
>that contain patches that have not been replaced by a
more recent patch.)
>and the results I got were:
>> 1. Jan 13, 2004, Buffer Overrun in MDAC Function
Could Allow Code
>Execution (832483): MS04-003, Affected Software: MDAC
2.5, MDAC 2.6, MDAC
>2.7, MDAC 2.8
>> 2. Jul 23, 2003, Cumulative Patch for Microsoft SQL
Server (815495):
>MS03-031, Affected Software: SQL Server 7.0, Microsoft
Data Engine (MSDE),
>Microsoft SQL Server 2000 Desktop Engine (MSDE 2000),
SQL Server 2000
>> The first one (832483) is installed but the second is
not. Does windows
>updates service install hotfixes for SQL Server or do I
have to install them
>manually?
>> Do I have to install this Patch 815495?
>> Do I have to install Microsoft SQL Server 2000 Desktop
Engine (MSDE 2000)
>Release A (This release includes the fixes for the
Slammer (W32.slammer)
>worm)? (I found this on another page Most Popular
Downloads)
>> Sorry for the length!
>> I thank you in advance for your time.
>
>.
>

Friday, March 9, 2012

Large transaction log backups

Hi everyone,
I'm currently running sql 2k with sp3 on win2k with sp4.
I have a maintenance job set up to back up the transaction
logs every four hours every day. I also have it checked
to retain the files for only one day. Afer some intense
nightly jobs, the morning tran log backup can be over 4GB
in size. The problem is not backing up the log to file,
it's the clean-up that's supposed to happen afterwards.
After the tran backup is complete, sql server is supposed
to delete the older tran log backup file from the previous
day, but it always fails to delete the older tran log
backup when it's over 4GB in size. It marks the job as
failed, but the backup finishes so it's not that big a
deal. Is this a known bug or is there something else I'm
missing?
I know I could back up the tran logs more often to reduce
size, but I'm doing log shipping using a custom script and
I'd rather not have 20+ logs to script and ship.
LeonLeon,
First, you might be able to get the size of the log backup down. If the size
is caused by reindexing, perhaps DBCC INDEXDEFRAG will help? Of perhaps
bulk-logged recovery mode? Things you can play with...
As for backup files not being deleted. Perhaps below might help? It is my
"canned" answered for that topic:
Below KB might help:
http://support.microsoft.com/default.aspx?scid=kb;en-us;303292&Product=sql2k
Also, check out below great troubleshooting suggestions from Bill H at MS:
-- Log files don't delete --
This is likely to be either a permissions problem or a sharing violation
problem. The maintenance plan is run as a job, and jobs are run by the
SQLServerAgent service.
Permissions:
1. Determine the startup account for the SQLServerAgent service
(Start|Programs|Administrative tools|Services|SQLServerAgent|Startup). This
account is the security context for jobs, and thus the maintenance plan.
2. If SQLServerAgent is started using LocalSystem (as opposed to a domain
account) then skip step 3.
3. On that box, log onto NT as that account. Using Explorer, attempt to
delete an expired backup. If that succeeds then go to Sharing Violation
section.
4. Log onto NT with an account that is an administrator and use Explorer to
look at the Properties|Security of the folder (where the backups reside)
and ensure the SQLServerAgent startup account has Full Control. If the
SQLServerAgent startup account is LocalSystem, then the account to consider
is SYSTEM.
5. In NT, if an account is a member of an NT group, and if that group has
Access is Denied, then that account will have Access is Denied, even if
that account is also a member of the Administrators group. Thus you may
need to check group permissions (if the Startup Account is a member of a
group).
6. Keep in mind that permissions (by default) are inherited from a parent
folder. Thus, if the backups are stored in C:\bak, and if someone had
denied permission to the SQLServerAgent startup account for C:\, then
C:\bak will inherit access is denied.
Sharing violation:
This is likely to be rooted in a timing issue, with the most likely cause
being another scheduled process (such as NT Backup or Anti-Virus software)
having the backup file open at the time when the SQLServerAgent (i.e., the
maintenance plan job) tried to delete it.
1. Download filemon and handle from www.sysinternals.com.
2. I am not sure whether filemon can be scheduled, or you might be able to
use NT scheduling services to start filemon just before the maintenance
plan job is started, but the filemon log can become very large, so it would
be best to start it some short time before the maintenance plan starts.
3. Inspect the filemon log for another process that has that backup file
open (if your lucky enough to have started filemon before this other
process grabs the backup folder), and inspect the log for the results when
the SQLServerAgent agent attempts to open that same file.
4. Schedule the job or that other process to do their work at different
times.
5. You can use the handle utility if you are around at the time when the
job is scheduled to run.
If the backup files are going to a \\share or a mapped drive (as opposed to
local drive), then you will need to modify the above (with respect to where
the tests and utilities are run).
Finally, inspection of the maintenance plan's history report might be
useful.
Thanks,
Bill Hollinshead
Microsoft, SQL Server
Tibor Karaszi, SQL Server MVP
Archive at:
http://groups.google.com/groups?oi=djq&as_ugroup=microsoft.public.sqlserver
"Leon" <anonymous@.discussions.microsoft.com> wrote in message
news:1320001c3f6f9$e945c820$a601280a@.phx.gbl...
> Hi everyone,
> I'm currently running sql 2k with sp3 on win2k with sp4.
> I have a maintenance job set up to back up the transaction
> logs every four hours every day. I also have it checked
> to retain the files for only one day. Afer some intense
> nightly jobs, the morning tran log backup can be over 4GB
> in size. The problem is not backing up the log to file,
> it's the clean-up that's supposed to happen afterwards.
> After the tran backup is complete, sql server is supposed
> to delete the older tran log backup file from the previous
> day, but it always fails to delete the older tran log
> backup when it's over 4GB in size. It marks the job as
> failed, but the backup finishes so it's not that big a
> deal. Is this a known bug or is there something else I'm
> missing?
> I know I could back up the tran logs more often to reduce
> size, but I'm doing log shipping using a custom script and
> I'd rather not have 20+ logs to script and ship.
> Leon|||Tibor,
Thanks a bunch for the article and the suggestions from
Bill.
Leon
>--Original Message--
>Leon,
>First, you might be able to get the size of the log
backup down. If the size
>is caused by reindexing, perhaps DBCC INDEXDEFRAG will
help? Of perhaps
>bulk-logged recovery mode? Things you can play with...
>As for backup files not being deleted. Perhaps below
might help? It is my
>"canned" answered for that topic:
>Below KB might help:
>http://support.microsoft.com/default.aspx?scid=kb;en-
us;303292&Product=sql2k
>
>Also, check out below great troubleshooting suggestions
from Bill H at MS:
>
>-- Log files don't delete --
>This is likely to be either a permissions problem or a
sharing violation
>problem. The maintenance plan is run as a job, and jobs
are run by the
>SQLServerAgent service.
>Permissions:
>1. Determine the startup account for the SQLServerAgent
service
>(Start|Programs|Administrative
tools|Services|SQLServerAgent|Startup). This
>account is the security context for jobs, and thus the
maintenance plan.
>2. If SQLServerAgent is started using LocalSystem (as
opposed to a domain
>account) then skip step 3.
>3. On that box, log onto NT as that account. Using
Explorer, attempt to
>delete an expired backup. If that succeeds then go to
Sharing Violation
>section.
>4. Log onto NT with an account that is an administrator
and use Explorer to
>look at the Properties|Security of the folder (where the
backups reside)
>and ensure the SQLServerAgent startup account has Full
Control. If the
>SQLServerAgent startup account is LocalSystem, then the
account to consider
>is SYSTEM.
>5. In NT, if an account is a member of an NT group, and
if that group has
>Access is Denied, then that account will have Access is
Denied, even if
>that account is also a member of the Administrators
group. Thus you may
>need to check group permissions (if the Startup Account
is a member of a
>group).
>6. Keep in mind that permissions (by default) are
inherited from a parent
>folder. Thus, if the backups are stored in C:\bak, and if
someone had
>denied permission to the SQLServerAgent startup account
for C:\, then
>C:\bak will inherit access is denied.
>Sharing violation:
>This is likely to be rooted in a timing issue, with the
most likely cause
>being another scheduled process (such as NT Backup or
Anti-Virus software)
>having the backup file open at the time when the
SQLServerAgent (i.e., the
>maintenance plan job) tried to delete it.
>1. Download filemon and handle from www.sysinternals.com.
>2. I am not sure whether filemon can be scheduled, or you
might be able to
>use NT scheduling services to start filemon just before
the maintenance
>plan job is started, but the filemon log can become very
large, so it would
>be best to start it some short time before the
maintenance plan starts.
>3. Inspect the filemon log for another process that has
that backup file
>open (if your lucky enough to have started filemon before
this other
>process grabs the backup folder), and inspect the log for
the results when
>the SQLServerAgent agent attempts to open that same file.
>4. Schedule the job or that other process to do their
work at different
>times.
>5. You can use the handle utility if you are around at
the time when the
>job is scheduled to run.
>If the backup files are going to a \\share or a mapped
drive (as opposed to
>local drive), then you will need to modify the above
(with respect to where
>the tests and utilities are run).
>Finally, inspection of the maintenance plan's history
report might be
>useful.
>Thanks,
>Bill Hollinshead
>Microsoft, SQL Server
>
>
>--
>Tibor Karaszi, SQL Server MVP
>Archive at:
>http://groups.google.com/groups?
oi=djq&as_ugroup=microsoft.public.sqlserver
>
>"Leon" <anonymous@.discussions.microsoft.com> wrote in
message
>news:1320001c3f6f9$e945c820$a601280a@.phx.gbl...
>> Hi everyone,
>> I'm currently running sql 2k with sp3 on win2k with sp4.
>> I have a maintenance job set up to back up the
transaction
>> logs every four hours every day. I also have it checked
>> to retain the files for only one day. Afer some intense
>> nightly jobs, the morning tran log backup can be over
4GB
>> in size. The problem is not backing up the log to file,
>> it's the clean-up that's supposed to happen afterwards.
>> After the tran backup is complete, sql server is
supposed
>> to delete the older tran log backup file from the
previous
>> day, but it always fails to delete the older tran log
>> backup when it's over 4GB in size. It marks the job as
>> failed, but the backup finishes so it's not that big a
>> deal. Is this a known bug or is there something else
I'm
>> missing?
>> I know I could back up the tran logs more often to
reduce
>> size, but I'm doing log shipping using a custom script
and
>> I'd rather not have 20+ logs to script and ship.
>> Leon
>
>.
>

Wednesday, March 7, 2012

Large transaction log backups

Hi everyone,
I'm currently running sql 2k with sp3 on win2k with sp4.
I have a maintenance job set up to back up the transaction
logs every four hours every day. I also have it checked
to retain the files for only one day. Afer some intense
nightly jobs, the morning tran log backup can be over 4GB
in size. The problem is not backing up the log to file,
it's the clean-up that's supposed to happen afterwards.
After the tran backup is complete, sql server is supposed
to delete the older tran log backup file from the previous
day, but it always fails to delete the older tran log
backup when it's over 4GB in size. It marks the job as
failed, but the backup finishes so it's not that big a
deal. Is this a known bug or is there something else I'm
missing?
I know I could back up the tran logs more often to reduce
size, but I'm doing log shipping using a custom script and
I'd rather not have 20+ logs to script and ship.
LeonLeon,
First, you might be able to get the size of the log backup down. If the size
is caused by reindexing, perhaps DBCC INDEXDEFRAG will help? Of perhaps
bulk-logged recovery mode? Things you can play with...
As for backup files not being deleted. Perhaps below might help? It is my
"canned" answered for that topic:
Below KB might help:
http://support.microsoft.com/defaul...2&Product=sql2k
Also, check out below great troubleshooting suggestions from Bill H at MS:
-- Log files don't delete --
This is likely to be either a permissions problem or a sharing violation
problem. The maintenance plan is run as a job, and jobs are run by the
SQLServerAgent service.
Permissions:
1. Determine the startup account for the SQLServerAgent service
(Start|Programs|Administrative tools|Services|SQLServerAgent|Startup). This
account is the security context for jobs, and thus the maintenance plan.
2. If SQLServerAgent is started using LocalSystem (as opposed to a domain
account) then skip step 3.
3. On that box, log onto NT as that account. Using Explorer, attempt to
delete an expired backup. If that succeeds then go to Sharing Violation
section.
4. Log onto NT with an account that is an administrator and use Explorer to
look at the Properties|Security of the folder (where the backups reside)
and ensure the SQLServerAgent startup account has Full Control. If the
SQLServerAgent startup account is LocalSystem, then the account to consider
is SYSTEM.
5. In NT, if an account is a member of an NT group, and if that group has
Access is Denied, then that account will have Access is Denied, even if
that account is also a member of the Administrators group. Thus you may
need to check group permissions (if the Startup Account is a member of a
group).
6. Keep in mind that permissions (by default) are inherited from a parent
folder. Thus, if the backups are stored in C:\bak, and if someone had
denied permission to the SQLServerAgent startup account for C:\, then
C:\bak will inherit access is denied.
Sharing violation:
This is likely to be rooted in a timing issue, with the most likely cause
being another scheduled process (such as NT Backup or Anti-Virus software)
having the backup file open at the time when the SQLServerAgent (i.e., the
maintenance plan job) tried to delete it.
1. Download filemon and handle from www.sysinternals.com.
2. I am not sure whether filemon can be scheduled, or you might be able to
use NT scheduling services to start filemon just before the maintenance
plan job is started, but the filemon log can become very large, so it would
be best to start it some short time before the maintenance plan starts.
3. Inspect the filemon log for another process that has that backup file
open (if your lucky enough to have started filemon before this other
process grabs the backup folder), and inspect the log for the results when
the SQLServerAgent agent attempts to open that same file.
4. Schedule the job or that other process to do their work at different
times.
5. You can use the handle utility if you are around at the time when the
job is scheduled to run.
If the backup files are going to a \\share or a mapped drive (as opposed to
local drive), then you will need to modify the above (with respect to where
the tests and utilities are run).
Finally, inspection of the maintenance plan's history report might be
useful.
Thanks,
Bill Hollinshead
Microsoft, SQL Server
Tibor Karaszi, SQL Server MVP
Archive at:
http://groups.google.com/groups?oi=...ublic.sqlserver
"Leon" <anonymous@.discussions.microsoft.com> wrote in message
news:1320001c3f6f9$e945c820$a601280a@.phx
.gbl...
> Hi everyone,
> I'm currently running sql 2k with sp3 on win2k with sp4.
> I have a maintenance job set up to back up the transaction
> logs every four hours every day. I also have it checked
> to retain the files for only one day. Afer some intense
> nightly jobs, the morning tran log backup can be over 4GB
> in size. The problem is not backing up the log to file,
> it's the clean-up that's supposed to happen afterwards.
> After the tran backup is complete, sql server is supposed
> to delete the older tran log backup file from the previous
> day, but it always fails to delete the older tran log
> backup when it's over 4GB in size. It marks the job as
> failed, but the backup finishes so it's not that big a
> deal. Is this a known bug or is there something else I'm
> missing?
> I know I could back up the tran logs more often to reduce
> size, but I'm doing log shipping using a custom script and
> I'd rather not have 20+ logs to script and ship.
> Leon|||Tibor,
Thanks a bunch for the article and the suggestions from
Bill.
Leon

>--Original Message--
>Leon,
>First, you might be able to get the size of the log
backup down. If the size
>is caused by reindexing, perhaps DBCC INDEXDEFRAG will
help? Of perhaps
>bulk-logged recovery mode? Things you can play with...
>As for backup files not being deleted. Perhaps below
might help? It is my
>"canned" answered for that topic:
>Below KB might help:
>http://support.microsoft.com/default.aspx?scid=kb;en-
us;303292&Product=sql2k
>
>Also, check out below great troubleshooting suggestions
from Bill H at MS:
>
>-- Log files don't delete --
>This is likely to be either a permissions problem or a
sharing violation
>problem. The maintenance plan is run as a job, and jobs
are run by the
>SQLServerAgent service.
>Permissions:
>1. Determine the startup account for the SQLServerAgent
service
>(Start|Programs|Administrative
tools|Services|SQLServerAgent|Startup). This
>account is the security context for jobs, and thus the
maintenance plan.
>2. If SQLServerAgent is started using LocalSystem (as
opposed to a domain
>account) then skip step 3.
>3. On that box, log onto NT as that account. Using
Explorer, attempt to
>delete an expired backup. If that succeeds then go to
Sharing Violation
>section.
>4. Log onto NT with an account that is an administrator
and use Explorer to
>look at the Properties|Security of the folder (where the
backups reside)
>and ensure the SQLServerAgent startup account has Full
Control. If the
>SQLServerAgent startup account is LocalSystem, then the
account to consider
>is SYSTEM.
>5. In NT, if an account is a member of an NT group, and
if that group has
>Access is Denied, then that account will have Access is
Denied, even if
>that account is also a member of the Administrators
group. Thus you may
>need to check group permissions (if the Startup Account
is a member of a
>group).
>6. Keep in mind that permissions (by default) are
inherited from a parent
>folder. Thus, if the backups are stored in C:\bak, and if
someone had
>denied permission to the SQLServerAgent startup account
for C:\, then
>C:\bak will inherit access is denied.
>Sharing violation:
>This is likely to be rooted in a timing issue, with the
most likely cause
>being another scheduled process (such as NT Backup or
Anti-Virus software)
>having the backup file open at the time when the
SQLServerAgent (i.e., the
>maintenance plan job) tried to delete it.
>1. Download filemon and handle from www.sysinternals.com.
>2. I am not sure whether filemon can be scheduled, or you
might be able to
>use NT scheduling services to start filemon just before
the maintenance
>plan job is started, but the filemon log can become very
large, so it would
>be best to start it some short time before the
maintenance plan starts.
>3. Inspect the filemon log for another process that has
that backup file
>open (if your lucky enough to have started filemon before
this other
>process grabs the backup folder), and inspect the log for
the results when
>the SQLServerAgent agent attempts to open that same file.
>4. Schedule the job or that other process to do their
work at different
>times.
>5. You can use the handle utility if you are around at
the time when the
>job is scheduled to run.
>If the backup files are going to a \\share or a mapped
drive (as opposed to
>local drive), then you will need to modify the above
(with respect to where
>the tests and utilities are run).
>Finally, inspection of the maintenance plan's history
report might be
>useful.
>Thanks,
>Bill Hollinshead
>Microsoft, SQL Server
>
>
>--
>Tibor Karaszi, SQL Server MVP
>Archive at:
>http://groups.google.com/groups?
oi=djq&as_ugroup=microsoft.public.sqlserver
>
>"Leon" <anonymous@.discussions.microsoft.com> wrote in
message
> news:1320001c3f6f9$e945c820$a601280a@.phx
.gbl...
transaction
4GB
supposed
previous
I'm
reduce
and
>
>.
>