Showing posts with label older. Show all posts
Showing posts with label older. Show all posts

Friday, February 24, 2012

2005 slower than 2000?

Admittedly I'm evaluating 2005 in a virtual machine but I'm comparing it to
an older machine:
2005 thinks it has 1Gb and 1 cpu on a host which has 2GB, 2 2.4Ghz Amd64's,
raid0. it runs in boosted priority when active.
2000 is on an older single Amd64 2Ghz, 1Gb, single sata drive.
A very ugly query built by selections on a web page is parsed and
parameterized.
on 2000 it runs in a couple seconds against a few thousand rows joining lots
of tables, varying by the selections made.
on 2005 it takes twice as long for the identical query. all other software
variables are identical. the db is a copy from 2000. stats updated. tried
with both compatibility levels.
I'm thinking I'll wait for 9.1 or 9.2 before I make the move.br (br@.discussions.microsoft.com) writes:
> Admittedly I'm evaluating 2005 in a virtual machine but I'm comparing it
> to an older machine:
> 2005 thinks it has 1Gb and 1 cpu on a host which has 2GB, 2 2.4Ghz
> Amd64's, raid0. it runs in boosted priority when active. 2000 is on an
> older single Amd64 2Ghz, 1Gb, single sata drive.
> A very ugly query built by selections on a web page is parsed and
> parameterized. on 2000 it runs in a couple seconds against a few
> thousand rows joining lots of tables, varying by the selections made.
> on 2005 it takes twice as long for the identical query. all other
> software variables are identical. the db is a copy from 2000. stats
> updated. tried with both compatibility levels.
> I'm thinking I'll wait for 9.1 or 9.2 before I make the move.
Before you do that... The database on SQL 2005, is that a copy of the
database from SQL 2000? In such case, did you run UPDATE STATISTICS
WITH FULLSCAN on all table (or just sp_updatestats if you prefer)? When
you restore a database from SQL 2000, all statistics are invalidated,
this can be an important reason for difference in performance.
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pr...oads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodin...ions/books.mspx|||Did you install SQL Server Standard/Enterprise Edition or Express Edition?
Express edition is limited by design to 1 CPU, 1 GB RAM, and 4 GB database
size.
There are server and database configuration settings that can impact
performance:
http://www.sql-server-performance.c...ance_audit5.asp
Analyze the execution plan and performance monitor logs to determine what
exactly is going on.
http://msdn.microsoft.com/library/d... />
1_5pde.asp
http://www.informit.com/guides/cont...&seqNum=28&rl=1
BTY, what is "9.1 or 9.2" ?
"br" <br@.discussions.microsoft.com> wrote in message
news:2C96E892-1713-4486-8DE6-B0E56AEF29C3@.microsoft.com...
> Admittedly I'm evaluating 2005 in a virtual machine but I'm comparing it
> to
> an older machine:
> 2005 thinks it has 1Gb and 1 cpu on a host which has 2GB, 2 2.4Ghz
> Amd64's,
> raid0. it runs in boosted priority when active.
> 2000 is on an older single Amd64 2Ghz, 1Gb, single sata drive.
> A very ugly query built by selections on a web page is parsed and
> parameterized.
> on 2000 it runs in a couple seconds against a few thousand rows joining
> lots
> of tables, varying by the selections made.
> on 2005 it takes twice as long for the identical query. all other software
> variables are identical. the db is a copy from 2000. stats updated. tried
> with both compatibility levels.
> I'm thinking I'll wait for 9.1 or 9.2 before I make the move.
>|||Thanks guys,
It's the developer version. Roughly equivalent to standard.
The stats are updated.
I'm figuring I'll have to re-optimize for 2005, so I don't mind waiting for
a fix rev or two.
But thanks for the links. I'll check them out.
"JT" wrote:

> Did you install SQL Server Standard/Enterprise Edition or Express Edition?
> Express edition is limited by design to 1 CPU, 1 GB RAM, and 4 GB database
> size.
> There are server and database configuration settings that can impact
> performance:
> http://www.sql-server-performance.c...ance_audit5.asp
> Analyze the execution plan and performance monitor logs to determine what
> exactly is going on.
> http://msdn.microsoft.com/library/d...>
n_1_5pde.asp
> http://www.informit.com/guides/cont...&seqNum=28&rl=1
> BTY, what is "9.1 or 9.2" ?
> "br" <br@.discussions.microsoft.com> wrote in message
> news:2C96E892-1713-4486-8DE6-B0E56AEF29C3@.microsoft.com...
>
>|||Sorry, missed that. Means one or two revisions to Sql2005, which I'm
considering to be Sql Server 9.
"JT" wrote:
> BTY, what is "9.1 or 9.2" ?|||Try testing again in an environment other than a virtual machine (MS Virtual
PC ?). There may be VM session settings limiting RAM and CPU usage. Also,
SQL Server is optimized to work directly with the OS and hardware, and a VM
session is an abstraction layer.
"br" <br@.discussions.microsoft.com> wrote in message
news:9C34254A-E671-4E1D-84BF-E586D5A74830@.microsoft.com...
> Thanks guys,
> It's the developer version. Roughly equivalent to standard.
> The stats are updated.
> I'm figuring I'll have to re-optimize for 2005, so I don't mind waiting
> for
> a fix rev or two.
> But thanks for the links. I'll check them out.
> "JT" wrote:
>|||There are a lot of people using 2005 today with no broad based complaints
about performance. You are perhaps thinking that a future service pack will
include performance optimizations for a vitual machine environment? ;-)
"br" <br@.discussions.microsoft.com> wrote in message
news:4A3878EB-4E4B-491F-9C3B-5A81F2FC8510@.microsoft.com...
> Sorry, missed that. Means one or two revisions to Sql2005, which I'm
> considering to be Sql Server 9.
> "JT" wrote:
>|||True... ok, some wend when I have a free morning I'll put it on a real
machine.
"JT" wrote:

> ...a VM session is an abstraction layer.
>

Thursday, February 9, 2012

2005 - Remove Old Backups

Is there a way to remove backups older than a certain number of days with a
generic 2005 maintenance plan. I looked through the basic tasks available
and I did not see this option. There is an option to remove old history
(i.e. logs) but I did not see a task to remove old backups.
This functionality was available with the SQL Server 2000 maintenance plans.
Thanks!You didn't look hard enough<g>. There is a task for exactly that, deleting
old backup files. It is called the "Maintenance Cleanup Task".
Andrew J. Kelly SQL MVP
"Cgal" <cgallelli@.newsgroups.nospam> wrote in message
news:OcWhvIbBGHA.736@.TK2MSFTNGP10.phx.gbl...
> Is there a way to remove backups older than a certain number of days with
> a generic 2005 maintenance plan. I looked through the basic tasks
> available and I did not see this option. There is an option to remove old
> history (i.e. logs) but I did not see a task to remove old backups.
> This functionality was available with the SQL Server 2000 maintenance
> plans.
> Thanks!
>|||Hi Cgal,
As Andrew has mentioned, there does exists the Maintenance Task for
cleaning up backup files in the SQL 2005's Maintenance Plan items... (also
available in sql server 2000 through the maintenance plan creation
wizard...).
Create a new maintenance plan in sql2005 management studio, and in the
"Maintenance Plan Task" toolbox, choose the "Maintenance cleanup task",
there has setting for removing backup files of certain age of time....
#Maintenance Cleanup Task (Maintenance Plan)
http://msdn2.microsoft.com/en-us/library/ms177182.aspx
Thanks,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
| From: "Andrew J. Kelly" <sqlmvpnooospam@.shadhawk.com>
| References: <OcWhvIbBGHA.736@.TK2MSFTNGP10.phx.gbl>
| Subject: Re: 2005 - Remove Old Backups
| Date: Tue, 20 Dec 2005 18:07:16 -0500
| Lines: 22
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
| X-RFC2646: Format=Flowed; Response
| Message-ID: <e2cIhobBGHA.3156@.TK2MSFTNGP12.phx.gbl>
| Newsgroups: microsoft.public.sqlserver.server
| NNTP-Posting-Host: c-24-128-28-245.hsd1.nh.comcast.net 24.128.28.245
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.sqlserver.server:414948
| X-Tomcat-NG: microsoft.public.sqlserver.server
|
| You didn't look hard enough<g>. There is a task for exactly that,
deleting
| old backup files. It is called the "Maintenance Cleanup Task".
|
| --
| Andrew J. Kelly SQL MVP
|
|
| "Cgal" <cgallelli@.newsgroups.nospam> wrote in message
| news:OcWhvIbBGHA.736@.TK2MSFTNGP10.phx.gbl...
| > Is there a way to remove backups older than a certain number of days
with
| > a generic 2005 maintenance plan. I looked through the basic tasks
| > available and I did not see this option. There is an option to remove
old
| > history (i.e. logs) but I did not see a task to remove old backups.
| >
| > This functionality was available with the SQL Server 2000 maintenance
| > plans.
| >
| > Thanks!
| >
| >
|
|
|

2005 - Remove Old Backups

Is there a way to remove backups older than a certain number of days with a
generic 2005 maintenance plan. I looked through the basic tasks available
and I did not see this option. There is an option to remove old history
(i.e. logs) but I did not see a task to remove old backups.
This functionality was available with the SQL Server 2000 maintenance plans.
Thanks!
You didn't look hard enough<g>. There is a task for exactly that, deleting
old backup files. It is called the "Maintenance Cleanup Task".
Andrew J. Kelly SQL MVP
"Cgal" <cgallelli@.newsgroups.nospam> wrote in message
news:OcWhvIbBGHA.736@.TK2MSFTNGP10.phx.gbl...
> Is there a way to remove backups older than a certain number of days with
> a generic 2005 maintenance plan. I looked through the basic tasks
> available and I did not see this option. There is an option to remove old
> history (i.e. logs) but I did not see a task to remove old backups.
> This functionality was available with the SQL Server 2000 maintenance
> plans.
> Thanks!
>
|||Hi Cgal,
As Andrew has mentioned, there does exists the Maintenance Task for
cleaning up backup files in the SQL 2005's Maintenance Plan items... (also
available in sql server 2000 through the maintenance plan creation
wizard...).
Create a new maintenance plan in sql2005 management studio, and in the
"Maintenance Plan Task" toolbox, choose the "Maintenance cleanup task",
there has setting for removing backup files of certain age of time....
#Maintenance Cleanup Task (Maintenance Plan)
http://msdn2.microsoft.com/en-us/library/ms177182.aspx
Thanks,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
| From: "Andrew J. Kelly" <sqlmvpnooospam@.shadhawk.com>
| References: <OcWhvIbBGHA.736@.TK2MSFTNGP10.phx.gbl>
| Subject: Re: 2005 - Remove Old Backups
| Date: Tue, 20 Dec 2005 18:07:16 -0500
| Lines: 22
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
| X-RFC2646: Format=Flowed; Response
| Message-ID: <e2cIhobBGHA.3156@.TK2MSFTNGP12.phx.gbl>
| Newsgroups: microsoft.public.sqlserver.server
| NNTP-Posting-Host: c-24-128-28-245.hsd1.nh.comcast.net 24.128.28.245
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.sqlserver.server:414948
| X-Tomcat-NG: microsoft.public.sqlserver.server
|
| You didn't look hard enough<g>. There is a task for exactly that,
deleting
| old backup files. It is called the "Maintenance Cleanup Task".
|
| --
| Andrew J. Kelly SQL MVP
|
|
| "Cgal" <cgallelli@.newsgroups.nospam> wrote in message
| news:OcWhvIbBGHA.736@.TK2MSFTNGP10.phx.gbl...
| > Is there a way to remove backups older than a certain number of days
with
| > a generic 2005 maintenance plan. I looked through the basic tasks
| > available and I did not see this option. There is an option to remove
old
| > history (i.e. logs) but I did not see a task to remove old backups.
| >
| > This functionality was available with the SQL Server 2000 maintenance
| > plans.
| >
| > Thanks!
| >
| >
|
|
|

2005 - Remove Old Backups

Is there a way to remove backups older than a certain number of days with a
generic 2005 maintenance plan. I looked through the basic tasks available
and I did not see this option. There is an option to remove old history
(i.e. logs) but I did not see a task to remove old backups.
This functionality was available with the SQL Server 2000 maintenance plans.
Thanks!You didn't look hard enough<g>. There is a task for exactly that, deleting
old backup files. It is called the "Maintenance Cleanup Task".
--
Andrew J. Kelly SQL MVP
"Cgal" <cgallelli@.newsgroups.nospam> wrote in message
news:OcWhvIbBGHA.736@.TK2MSFTNGP10.phx.gbl...
> Is there a way to remove backups older than a certain number of days with
> a generic 2005 maintenance plan. I looked through the basic tasks
> available and I did not see this option. There is an option to remove old
> history (i.e. logs) but I did not see a task to remove old backups.
> This functionality was available with the SQL Server 2000 maintenance
> plans.
> Thanks!
>|||Hi Cgal,
As Andrew has mentioned, there does exists the Maintenance Task for
cleaning up backup files in the SQL 2005's Maintenance Plan items... (also
available in sql server 2000 through the maintenance plan creation
wizard...).
Create a new maintenance plan in sql2005 management studio, and in the
"Maintenance Plan Task" toolbox, choose the "Maintenance cleanup task",
there has setting for removing backup files of certain age of time....
#Maintenance Cleanup Task (Maintenance Plan)
http://msdn2.microsoft.com/en-us/library/ms177182.aspx
Thanks,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
| From: "Andrew J. Kelly" <sqlmvpnooospam@.shadhawk.com>
| References: <OcWhvIbBGHA.736@.TK2MSFTNGP10.phx.gbl>
| Subject: Re: 2005 - Remove Old Backups
| Date: Tue, 20 Dec 2005 18:07:16 -0500
| Lines: 22
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
| X-RFC2646: Format=Flowed; Response
| Message-ID: <e2cIhobBGHA.3156@.TK2MSFTNGP12.phx.gbl>
| Newsgroups: microsoft.public.sqlserver.server
| NNTP-Posting-Host: c-24-128-28-245.hsd1.nh.comcast.net 24.128.28.245
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.sqlserver.server:414948
| X-Tomcat-NG: microsoft.public.sqlserver.server
|
| You didn't look hard enough<g>. There is a task for exactly that,
deleting
| old backup files. It is called the "Maintenance Cleanup Task".
|
| --
| Andrew J. Kelly SQL MVP
|
|
| "Cgal" <cgallelli@.newsgroups.nospam> wrote in message
| news:OcWhvIbBGHA.736@.TK2MSFTNGP10.phx.gbl...
| > Is there a way to remove backups older than a certain number of days
with
| > a generic 2005 maintenance plan. I looked through the basic tasks
| > available and I did not see this option. There is an option to remove
old
| > history (i.e. logs) but I did not see a task to remove old backups.
| >
| > This functionality was available with the SQL Server 2000 maintenance
| > plans.
| >
| > Thanks!
| >
| >
|
|
|