Showing posts with label databases. Show all posts
Showing posts with label databases. Show all posts

Friday, March 30, 2012

performance tuning on high volume server

I am looking to improve the performance of my sql server databases.

I currently have a dual location system, the database server setup is basically a quad xeon with 4gb at my office and a double xeon with 4gb at a remote webhosting location. There are separate application/web/intranet servers at each site. The two databases servers are replicated with the local server publishing to the remote server.

The relational database holds circa 26 million records, growing by a volume of 10,000 per day, there are approximately 50,000 queries performed per day.

My theory is that the replication of the two databases is causing a slowdown; despite fast network connections (averaging 200ms between servers) the replication seems to place a large load on the local server. Would it be sensible to replicate to a second local server and then replicate to the remote server, placing any burden on the second server?

I am planning to upgrade the local server to a high capacity 4+ cpu 64bit server, my problem is that although I have noticed a slow down in performance over time, I am unsure how to go about measuring and quantifying this in order to diagnose the bottlenecks and ensure that investing in a new server would be worthwhile. Where would one be best advised to start this project?

Hi Gavin. What type of replication scheme have you implemented? Transactional/merge? Peer-to-peer, read-only subscriber, queud/immediate updating subscriber, etc.? Where to start on the research would have a lot to do with what type of topology you are using.

How are you getting to the conclusion that replication is responsible for the slowdown?

|||

Hi - it is a transactional type replication.

Chad Boyd MSFT wrote:

How are you getting to the conclusion that replication is responsible for the slowdown?

When turing off replication, the performance was improved. It seems that the bandwidth between servers would explain this.

What can I tell you about the topology?

|||

Hi Gavin. Is it a bi-directional replication setup? i.e. are the subscribers set to replicate updates back to the publisher, or are the subscribers simply read-only? What type of link exists between the sites (T1, T3, partial T, etc.)?

From the general sounds of things, you don't have an extremely busy write server, so a decent link between the 2 sites sounds sufficient for what you have, which is why it would be surprising to hear that the bottleneck is the network bandwidth...of course, it most certainly could be depending on the types of transactions you are seeing, this is just me thinking out loud.

You mentioned when turning off replication that performance improved, do you mean that end-users received responses to queries faster? Or you noticed particular counters drop significantly? Or possibly blocking/locking issues disipated?

I'd be surprised if the link is the bottleneck, since when you say performance improved I'm going to assume you mean end-users started seeing faster response times to requests...if that's the case, it would seem that there is something occuring on the box itself that is slowing down the response times (of course, that could be the replication agent keeping a lock on something because it is waiting for a response from the subscriber across a slow link, but in transactional replication, that's not as common as with merge, where the agents are querying tables directly...in transactional replication, the log is read directly).

Anything you can post that explains what you are seeing in terms of what is showing you performance is improved? Counters, query response times, etc.?

|||

I am also working with large volumes of data average of 12million records per table and a total of 23million record.No cluster or Indexes, this is because the data is to bulk to change.While running queries i find that my application hangs even if i set the ODBC timeout to 0. Unlike you i working with a normal X86 2.86 GHZ and 504MB RAM.

Please advice

|||

thank you for all your replies and assistance so far.

Chad - to answer your questions the subscribers are all read-only and there is a T1 link between sites.

As I am a developer and not a database specialist I have decided that I need to bring in some outsourced consultancy. Before I do this I would like to do some research so that I can learn as much as possible I would like to be up to speed on this and have as much background knowledge as possible.

I think that the first thing that I should do is to measure the facts as much as possible. Could you please advise me as to what tools and applications I can utilise to gather statistical facts?

What can I learn from my log files? What monitoring tools can I install?

performance tuning on high volume server

I am looking to improve the performance of my sql server databases.

I currently have a dual location system, the database server setup is basically a quad xeon with 4gb at my office and a double xeon with 4gb at a remote webhosting location. There are separate application/web/intranet servers at each site. The two databases servers are replicated with the local server publishing to the remote server.

The relational database holds circa 26 million records, growing by a volume of 10,000 per day, there are approximately 50,000 queries performed per day.

My theory is that the replication of the two databases is causing a slowdown; despite fast network connections (averaging 200ms between servers) the replication seems to place a large load on the local server. Would it be sensible to replicate to a second local server and then replicate to the remote server, placing any burden on the second server?

I am planning to upgrade the local server to a high capacity 4+ cpu 64bit server, my problem is that although I have noticed a slow down in performance over time, I am unsure how to go about measuring and quantifying this in order to diagnose the bottlenecks and ensure that investing in a new server would be worthwhile. Where would one be best advised to start this project?

Hi Gavin. What type of replication scheme have you implemented? Transactional/merge? Peer-to-peer, read-only subscriber, queud/immediate updating subscriber, etc.? Where to start on the research would have a lot to do with what type of topology you are using.

How are you getting to the conclusion that replication is responsible for the slowdown?

|||

Hi - it is a transactional type replication.

Chad Boyd MSFT wrote:

How are you getting to the conclusion that replication is responsible for the slowdown?

When turing off replication, the performance was improved. It seems that the bandwidth between servers would explain this.

What can I tell you about the topology?

|||

Hi Gavin. Is it a bi-directional replication setup? i.e. are the subscribers set to replicate updates back to the publisher, or are the subscribers simply read-only? What type of link exists between the sites (T1, T3, partial T, etc.)?

From the general sounds of things, you don't have an extremely busy write server, so a decent link between the 2 sites sounds sufficient for what you have, which is why it would be surprising to hear that the bottleneck is the network bandwidth...of course, it most certainly could be depending on the types of transactions you are seeing, this is just me thinking out loud.

You mentioned when turning off replication that performance improved, do you mean that end-users received responses to queries faster? Or you noticed particular counters drop significantly? Or possibly blocking/locking issues disipated?

I'd be surprised if the link is the bottleneck, since when you say performance improved I'm going to assume you mean end-users started seeing faster response times to requests...if that's the case, it would seem that there is something occuring on the box itself that is slowing down the response times (of course, that could be the replication agent keeping a lock on something because it is waiting for a response from the subscriber across a slow link, but in transactional replication, that's not as common as with merge, where the agents are querying tables directly...in transactional replication, the log is read directly).

Anything you can post that explains what you are seeing in terms of what is showing you performance is improved? Counters, query response times, etc.?

|||

I am also working with large volumes of data average of 12million records per table and a total of 23million record.No cluster or Indexes, this is because the data is to bulk to change.While running queries i find that my application hangs even if i set the ODBC timeout to 0. Unlike you i working with a normal X86 2.86 GHZ and 504MB RAM.

Please advice

|||

thank you for all your replies and assistance so far.

Chad - to answer your questions the subscribers are all read-only and there is a T1 link between sites.

As I am a developer and not a database specialist I have decided that I need to bring in some outsourced consultancy. Before I do this I would like to do some research so that I can learn as much as possible I would like to be up to speed on this and have as much background knowledge as possible.

I think that the first thing that I should do is to measure the facts as much as possible. Could you please advise me as to what tools and applications I can utilise to gather statistical facts?

What can I learn from my log files? What monitoring tools can I install?

Performance tuning

I have a server with just 4 databases,
the issue is that the sql server does not perform well. In the task manager
it occupies the maximum mount of memory in the system, and maximum cpu time,
the database is just a few gb's(10 -15) and the server has 1 gb ram,
and especially if i use a reporting tool made in vb as to query the database
it works exceptionally slow,
one of my guys says it bcoz of a utility we have working, it bring data from
another server connected to our network via an IPLC link(2mb link), this
utility works on just 2 tables, brings data from the table up there and
imports it in our local database, would there be some better way of
accomplishing this?
is there some way i can constantly monitor what resources the data base is
using?
any suggestions will be greatly appreciated,
Thx & Regards
SantuSantu,
How often do you run the reports? Is the data required to be current and
up-to-date? If not, you could transfer the data locally during non-peak
hours.
As for performance monitoring, SQL Server Profiler and Windows System
Monitor should help.
HTH
Jerry
"Santu" <Santu@.discussions.microsoft.com> wrote in message
news:3992DE27-D7A2-4536-B3B5-FD57EDA6BF3B@.microsoft.com...
>I have a server with just 4 databases,
> the issue is that the sql server does not perform well. In the task
> manager
> it occupies the maximum mount of memory in the system, and maximum cpu
> time,
> the database is just a few gb's(10 -15) and the server has 1 gb ram,
> and especially if i use a reporting tool made in vb as to query the
> database
> it works exceptionally slow,
> one of my guys says it bcoz of a utility we have working, it bring data
> from
> another server connected to our network via an IPLC link(2mb link), this
> utility works on just 2 tables, brings data from the table up there and
> imports it in our local database, would there be some better way of
> accomplishing this?
> is there some way i can constantly monitor what resources the data base is
> using?
> any suggestions will be greatly appreciated,
> Thx & Regards
> Santu
>|||Thank you for ur reply Jerry,
About 7-8 ppl use this tool , its constantly running,
and our co is an outbound call center, so the replication of data is
required to be realtime.
THX
"Jerry Spivey" wrote:

> Santu,
> How often do you run the reports? Is the data required to be current and
> up-to-date? If not, you could transfer the data locally during non-peak
> hours.
> As for performance monitoring, SQL Server Profiler and Windows System
> Monitor should help.
> HTH
> Jerry
> "Santu" <Santu@.discussions.microsoft.com> wrote in message
> news:3992DE27-D7A2-4536-B3B5-FD57EDA6BF3B@.microsoft.com...
>
>

Performance tuning

I have a server with just 4 databases,
the issue is that the sql server does not perform well. In the task manager
it occupies the maximum mount of memory in the system, and maximum cpu time,
the database is just a few gb's(10 -15) and the server has 1 gb ram,
and especially if i use a reporting tool made in vb as to query the database
it works exceptionally slow,
one of my guys says it bcoz of a utility we have working, it bring data from
another server connected to our network via an IPLC link(2mb link), this
utility works on just 2 tables, brings data from the table up there and
imports it in our local database, would there be some better way of
accomplishing this?
is there some way i can constantly monitor what resources the data base is
using?
any suggestions will be greatly appreciated,
Thx & Regards
Santu
Santu,
How often do you run the reports? Is the data required to be current and
up-to-date? If not, you could transfer the data locally during non-peak
hours.
As for performance monitoring, SQL Server Profiler and Windows System
Monitor should help.
HTH
Jerry
"Santu" <Santu@.discussions.microsoft.com> wrote in message
news:3992DE27-D7A2-4536-B3B5-FD57EDA6BF3B@.microsoft.com...
>I have a server with just 4 databases,
> the issue is that the sql server does not perform well. In the task
> manager
> it occupies the maximum mount of memory in the system, and maximum cpu
> time,
> the database is just a few gb's(10 -15) and the server has 1 gb ram,
> and especially if i use a reporting tool made in vb as to query the
> database
> it works exceptionally slow,
> one of my guys says it bcoz of a utility we have working, it bring data
> from
> another server connected to our network via an IPLC link(2mb link), this
> utility works on just 2 tables, brings data from the table up there and
> imports it in our local database, would there be some better way of
> accomplishing this?
> is there some way i can constantly monitor what resources the data base is
> using?
> any suggestions will be greatly appreciated,
> Thx & Regards
> Santu
>
|||Thank you for ur reply Jerry,
About 7-8 ppl use this tool , its constantly running,
and our co is an outbound call center, so the replication of data is
required to be realtime.
THX
"Jerry Spivey" wrote:

> Santu,
> How often do you run the reports? Is the data required to be current and
> up-to-date? If not, you could transfer the data locally during non-peak
> hours.
> As for performance monitoring, SQL Server Profiler and Windows System
> Monitor should help.
> HTH
> Jerry
> "Santu" <Santu@.discussions.microsoft.com> wrote in message
> news:3992DE27-D7A2-4536-B3B5-FD57EDA6BF3B@.microsoft.com...
>
>

Performance tuning

I have a server with just 4 databases,
the issue is that the sql server does not perform well. In the task manager
it occupies the maximum mount of memory in the system, and maximum cpu time,
the database is just a few gb's(10 -15) and the server has 1 gb ram,
and especially if i use a reporting tool made in vb as to query the database
it works exceptionally slow,
one of my guys says it bcoz of a utility we have working, it bring data from
another server connected to our network via an IPLC link(2mb link), this
utility works on just 2 tables, brings data from the table up there and
imports it in our local database, would there be some better way of
accomplishing this?
is there some way i can constantly monitor what resources the data base is
using?
any suggestions will be greatly appreciated,
Thx & Regards
SantuSantu,
How often do you run the reports? Is the data required to be current and
up-to-date? If not, you could transfer the data locally during non-peak
hours.
As for performance monitoring, SQL Server Profiler and Windows System
Monitor should help.
HTH
Jerry
"Santu" <Santu@.discussions.microsoft.com> wrote in message
news:3992DE27-D7A2-4536-B3B5-FD57EDA6BF3B@.microsoft.com...
>I have a server with just 4 databases,
> the issue is that the sql server does not perform well. In the task
> manager
> it occupies the maximum mount of memory in the system, and maximum cpu
> time,
> the database is just a few gb's(10 -15) and the server has 1 gb ram,
> and especially if i use a reporting tool made in vb as to query the
> database
> it works exceptionally slow,
> one of my guys says it bcoz of a utility we have working, it bring data
> from
> another server connected to our network via an IPLC link(2mb link), this
> utility works on just 2 tables, brings data from the table up there and
> imports it in our local database, would there be some better way of
> accomplishing this?
> is there some way i can constantly monitor what resources the data base is
> using?
> any suggestions will be greatly appreciated,
> Thx & Regards
> Santu
>|||Thank you for ur reply Jerry,
About 7-8 ppl use this tool , its constantly running,
and our co is an outbound call center, so the replication of data is
required to be realtime.
THX
"Jerry Spivey" wrote:
> Santu,
> How often do you run the reports? Is the data required to be current and
> up-to-date? If not, you could transfer the data locally during non-peak
> hours.
> As for performance monitoring, SQL Server Profiler and Windows System
> Monitor should help.
> HTH
> Jerry
> "Santu" <Santu@.discussions.microsoft.com> wrote in message
> news:3992DE27-D7A2-4536-B3B5-FD57EDA6BF3B@.microsoft.com...
> >I have a server with just 4 databases,
> > the issue is that the sql server does not perform well. In the task
> > manager
> > it occupies the maximum mount of memory in the system, and maximum cpu
> > time,
> >
> > the database is just a few gb's(10 -15) and the server has 1 gb ram,
> >
> > and especially if i use a reporting tool made in vb as to query the
> > database
> > it works exceptionally slow,
> >
> > one of my guys says it bcoz of a utility we have working, it bring data
> > from
> > another server connected to our network via an IPLC link(2mb link), this
> > utility works on just 2 tables, brings data from the table up there and
> > imports it in our local database, would there be some better way of
> > accomplishing this?
> >
> > is there some way i can constantly monitor what resources the data base is
> > using?
> >
> > any suggestions will be greatly appreciated,
> > Thx & Regards
> > Santu
> >
>
>

Wednesday, March 28, 2012

Performance table vs databases

What is the best thing to do to get the best performance ? Multiple tables
in 1 database or multiple databases containing less tables ?typically, database contain numerous tables.
not sure if your question is clear.....
Greg Jackson
PDX, Oregon|||Hi,
Keeping tables in mutiple database or viceversa will not give you
performance improvements.
Tips for Performance.
1. If you have mutiple disk controllers, Create file groups and place tge
tables and indexes in seperate file group. this will reduce I/O
2. Allot more physicval memory for SQL server
3. Allocate dedicated server for SQL server
4. Design the database in proper and structure manner
5. Create the necessory indexes
6. Optimize your SQL's (Select statements)
Make use of Query optimizer, Performance monitor, Profiler and Index tuning
wizard to tune your application and database.
Thanks
Hari
MCDBA
"Cris" <anonymous@.discussions.microsoft.com> wrote in message
news:D3F1AA37-12C0-4F1F-AEA2-9D4FB10AAB90@.microsoft.com...
> What is the best thing to do to get the best performance ? Multiple
tables in 1 database or multiple databases containing less tables ?|||I don't think performance is the question. There are several techniques to
handle large databases ... but you ask your self if you logically need/shoul
d create two+ databases. You wouldn't typically combine your Reporting with
Orders, right ?
What's the motivation behind your question ?

performance Questions - Temp Databases

We have some internal applications that rely heavily on using temporary
databases with a lot of data. I have noticed that when these applications
run, they seem to starve the system of RAM. This is indicated by an
increase in the RAM used by the SQL process and a heavy amount of disk I/O.
My assumption is that when the temp db's are created, SQL tries to get as
much RAM from the OS as possible which creates swapping non-SQL memory to
the pagefile and SQL internally needs to free RAM and thus needs to write
cached data out to disk.
Questions:
1) Are my assumptions correct in the usage of the temp databases?
2) Are there any workarounds to this?
3) Since SQL optimizes RAM over time, I would guess that no matter what we
do, SQL will always fill up its internal RAM with cached data, thus adding
more RAM to the system won't resolve these symptoms, it will merely delay
them by taking more time to cache all the RAM. (Our applications are
already filling up SQL with 2 GB of RAM. I suspect moving to 4GB will not
have a significant improvement due to the memory address extensions. 64 bit
SQL would probably be our only solution to flood the system with enough RAM
that our apps can't fill up SQL's internal RAM usage, but 64 bit SQL and
enough RAM in a system for this would be significanlty expensive for our
needs.)
Thank You,Kevin,
What do you mean by Temp databases? Are you creating databases and then
dropping them? Or do you mean temporary tables being created in the tempdb
database? If you only have 2GB of ram and your using it all I would
suggest you set your max memory setting in sql server to around 1.5GB to
allow the OS and memtoleave areas some slack. If you are memory constrained
and it sounds like you are, then going to 4GB can make a huge difference.
You can set the /3gb switch to allow sql server use of up to 3GB and leave
1GB for the OS. This should alleviate most of the OS paging and sql server
can use it's caching mechanisims as designed without dealing with the OS
swap file.
Andrew J. Kelly SQL MVP
"Kevin Hammond" <kghammond@.nrscorp.com> wrote in message
news:c5jhcm$42i$1@.grandcanyon.binc.net...
> We have some internal applications that rely heavily on using temporary
> databases with a lot of data. I have noticed that when these applications
> run, they seem to starve the system of RAM. This is indicated by an
> increase in the RAM used by the SQL process and a heavy amount of disk
I/O.
> My assumption is that when the temp db's are created, SQL tries to get as
> much RAM from the OS as possible which creates swapping non-SQL memory to
> the pagefile and SQL internally needs to free RAM and thus needs to write
> cached data out to disk.
> Questions:
> 1) Are my assumptions correct in the usage of the temp databases?
> 2) Are there any workarounds to this?
> 3) Since SQL optimizes RAM over time, I would guess that no matter what
we
> do, SQL will always fill up its internal RAM with cached data, thus adding
> more RAM to the system won't resolve these symptoms, it will merely delay
> them by taking more time to cache all the RAM. (Our applications are
> already filling up SQL with 2 GB of RAM. I suspect moving to 4GB will not
> have a significant improvement due to the memory address extensions. 64
bit
> SQL would probably be our only solution to flood the system with enough
RAM
> that our apps can't fill up SQL's internal RAM usage, but 64 bit SQL and
> enough RAM in a system for this would be significanlty expensive for our
> needs.)
>
> Thank You,
>|||Yes I was referring to creating databases then dropping them. In one
particular application, a lot of the stored procedures are running
algorithms that do this.
Thank You for the feedback. Now that we have a monitoring system in place,
I will experiment with restricting SQL to 1.5 GB or so and monitor memory
swapping and related disk I/O.
"Andrew J. Kelly" <sqlmvpnoooospam@.shadhawk.com> wrote in message
news:OzqSg7oIEHA.3276@.TK2MSFTNGP09.phx.gbl...
> Kevin,
> What do you mean by Temp databases? Are you creating databases and then
> dropping them? Or do you mean temporary tables being created in the
tempdb
> database? If you only have 2GB of ram and your using it all I would
> suggest you set your max memory setting in sql server to around 1.5GB to
> allow the OS and memtoleave areas some slack. If you are memory
constrained
> and it sounds like you are, then going to 4GB can make a huge difference.
> You can set the /3gb switch to allow sql server use of up to 3GB and leave
> 1GB for the OS. This should alleviate most of the OS paging and sql
server
> can use it's caching mechanisims as designed without dealing with the OS
> swap file.
> --
> Andrew J. Kelly SQL MVP
>
> "Kevin Hammond" <kghammond@.nrscorp.com> wrote in message
> news:c5jhcm$42i$1@.grandcanyon.binc.net...
applications[vbcol=seagreen]
> I/O.
as[vbcol=seagreen]
to[vbcol=seagreen]
write[vbcol=seagreen]
> we
adding[vbcol=seagreen]
delay[vbcol=seagreen]
not[vbcol=seagreen]
> bit
> RAM
>

performance Questions - Temp Databases

We have some internal applications that rely heavily on using temporary
databases with a lot of data. I have noticed that when these applications
run, they seem to starve the system of RAM. This is indicated by an
increase in the RAM used by the SQL process and a heavy amount of disk I/O.
My assumption is that when the temp db's are created, SQL tries to get as
much RAM from the OS as possible which creates swapping non-SQL memory to
the pagefile and SQL internally needs to free RAM and thus needs to write
cached data out to disk.
Questions:
1) Are my assumptions correct in the usage of the temp databases?
2) Are there any workarounds to this?
3) Since SQL optimizes RAM over time, I would guess that no matter what we
do, SQL will always fill up its internal RAM with cached data, thus adding
more RAM to the system won't resolve these symptoms, it will merely delay
them by taking more time to cache all the RAM. (Our applications are
already filling up SQL with 2 GB of RAM. I suspect moving to 4GB will not
have a significant improvement due to the memory address extensions. 64 bit
SQL would probably be our only solution to flood the system with enough RAM
that our apps can't fill up SQL's internal RAM usage, but 64 bit SQL and
enough RAM in a system for this would be significanlty expensive for our
needs.)
Thank You,Kevin,
What do you mean by Temp databases? Are you creating databases and then
dropping them? Or do you mean temporary tables being created in the tempdb
database? If you only have 2GB of ram and your using it all I would
suggest you set your max memory setting in sql server to around 1.5GB to
allow the OS and memtoleave areas some slack. If you are memory constrained
and it sounds like you are, then going to 4GB can make a huge difference.
You can set the /3gb switch to allow sql server use of up to 3GB and leave
1GB for the OS. This should alleviate most of the OS paging and sql server
can use it's caching mechanisims as designed without dealing with the OS
swap file.
--
Andrew J. Kelly SQL MVP
"Kevin Hammond" <kghammond@.nrscorp.com> wrote in message
news:c5jhcm$42i$1@.grandcanyon.binc.net...
> We have some internal applications that rely heavily on using temporary
> databases with a lot of data. I have noticed that when these applications
> run, they seem to starve the system of RAM. This is indicated by an
> increase in the RAM used by the SQL process and a heavy amount of disk
I/O.
> My assumption is that when the temp db's are created, SQL tries to get as
> much RAM from the OS as possible which creates swapping non-SQL memory to
> the pagefile and SQL internally needs to free RAM and thus needs to write
> cached data out to disk.
> Questions:
> 1) Are my assumptions correct in the usage of the temp databases?
> 2) Are there any workarounds to this?
> 3) Since SQL optimizes RAM over time, I would guess that no matter what
we
> do, SQL will always fill up its internal RAM with cached data, thus adding
> more RAM to the system won't resolve these symptoms, it will merely delay
> them by taking more time to cache all the RAM. (Our applications are
> already filling up SQL with 2 GB of RAM. I suspect moving to 4GB will not
> have a significant improvement due to the memory address extensions. 64
bit
> SQL would probably be our only solution to flood the system with enough
RAM
> that our apps can't fill up SQL's internal RAM usage, but 64 bit SQL and
> enough RAM in a system for this would be significanlty expensive for our
> needs.)
>
> Thank You,
>|||Yes I was referring to creating databases then dropping them. In one
particular application, a lot of the stored procedures are running
algorithms that do this.
Thank You for the feedback. Now that we have a monitoring system in place,
I will experiment with restricting SQL to 1.5 GB or so and monitor memory
swapping and related disk I/O.
"Andrew J. Kelly" <sqlmvpnoooospam@.shadhawk.com> wrote in message
news:OzqSg7oIEHA.3276@.TK2MSFTNGP09.phx.gbl...
> Kevin,
> What do you mean by Temp databases? Are you creating databases and then
> dropping them? Or do you mean temporary tables being created in the
tempdb
> database? If you only have 2GB of ram and your using it all I would
> suggest you set your max memory setting in sql server to around 1.5GB to
> allow the OS and memtoleave areas some slack. If you are memory
constrained
> and it sounds like you are, then going to 4GB can make a huge difference.
> You can set the /3gb switch to allow sql server use of up to 3GB and leave
> 1GB for the OS. This should alleviate most of the OS paging and sql
server
> can use it's caching mechanisims as designed without dealing with the OS
> swap file.
> --
> Andrew J. Kelly SQL MVP
>
> "Kevin Hammond" <kghammond@.nrscorp.com> wrote in message
> news:c5jhcm$42i$1@.grandcanyon.binc.net...
> > We have some internal applications that rely heavily on using temporary
> > databases with a lot of data. I have noticed that when these
applications
> > run, they seem to starve the system of RAM. This is indicated by an
> > increase in the RAM used by the SQL process and a heavy amount of disk
> I/O.
> > My assumption is that when the temp db's are created, SQL tries to get
as
> > much RAM from the OS as possible which creates swapping non-SQL memory
to
> > the pagefile and SQL internally needs to free RAM and thus needs to
write
> > cached data out to disk.
> >
> > Questions:
> > 1) Are my assumptions correct in the usage of the temp databases?
> > 2) Are there any workarounds to this?
> > 3) Since SQL optimizes RAM over time, I would guess that no matter what
> we
> > do, SQL will always fill up its internal RAM with cached data, thus
adding
> > more RAM to the system won't resolve these symptoms, it will merely
delay
> > them by taking more time to cache all the RAM. (Our applications are
> > already filling up SQL with 2 GB of RAM. I suspect moving to 4GB will
not
> > have a significant improvement due to the memory address extensions. 64
> bit
> > SQL would probably be our only solution to flood the system with enough
> RAM
> > that our apps can't fill up SQL's internal RAM usage, but 64 bit SQL and
> > enough RAM in a system for this would be significanlty expensive for our
> > needs.)
> >
> >
> > Thank You,
> >
> >
>sql

performance Questions - Temp Databases

We have some internal applications that rely heavily on using temporary
databases with a lot of data. I have noticed that when these applications
run, they seem to starve the system of RAM. This is indicated by an
increase in the RAM used by the SQL process and a heavy amount of disk I/O.
My assumption is that when the temp db's are created, SQL tries to get as
much RAM from the OS as possible which creates swapping non-SQL memory to
the pagefile and SQL internally needs to free RAM and thus needs to write
cached data out to disk.
Questions:
1) Are my assumptions correct in the usage of the temp databases?
2) Are there any workarounds to this?
3) Since SQL optimizes RAM over time, I would guess that no matter what we
do, SQL will always fill up its internal RAM with cached data, thus adding
more RAM to the system won't resolve these symptoms, it will merely delay
them by taking more time to cache all the RAM. (Our applications are
already filling up SQL with 2 GB of RAM. I suspect moving to 4GB will not
have a significant improvement due to the memory address extensions. 64 bit
SQL would probably be our only solution to flood the system with enough RAM
that our apps can't fill up SQL's internal RAM usage, but 64 bit SQL and
enough RAM in a system for this would be significanlty expensive for our
needs.)
Thank You,
Kevin,
What do you mean by Temp databases? Are you creating databases and then
dropping them? Or do you mean temporary tables being created in the tempdb
database? If you only have 2GB of ram and your using it all I would
suggest you set your max memory setting in sql server to around 1.5GB to
allow the OS and memtoleave areas some slack. If you are memory constrained
and it sounds like you are, then going to 4GB can make a huge difference.
You can set the /3gb switch to allow sql server use of up to 3GB and leave
1GB for the OS. This should alleviate most of the OS paging and sql server
can use it's caching mechanisims as designed without dealing with the OS
swap file.
Andrew J. Kelly SQL MVP
"Kevin Hammond" <kghammond@.nrscorp.com> wrote in message
news:c5jhcm$42i$1@.grandcanyon.binc.net...
> We have some internal applications that rely heavily on using temporary
> databases with a lot of data. I have noticed that when these applications
> run, they seem to starve the system of RAM. This is indicated by an
> increase in the RAM used by the SQL process and a heavy amount of disk
I/O.
> My assumption is that when the temp db's are created, SQL tries to get as
> much RAM from the OS as possible which creates swapping non-SQL memory to
> the pagefile and SQL internally needs to free RAM and thus needs to write
> cached data out to disk.
> Questions:
> 1) Are my assumptions correct in the usage of the temp databases?
> 2) Are there any workarounds to this?
> 3) Since SQL optimizes RAM over time, I would guess that no matter what
we
> do, SQL will always fill up its internal RAM with cached data, thus adding
> more RAM to the system won't resolve these symptoms, it will merely delay
> them by taking more time to cache all the RAM. (Our applications are
> already filling up SQL with 2 GB of RAM. I suspect moving to 4GB will not
> have a significant improvement due to the memory address extensions. 64
bit
> SQL would probably be our only solution to flood the system with enough
RAM
> that our apps can't fill up SQL's internal RAM usage, but 64 bit SQL and
> enough RAM in a system for this would be significanlty expensive for our
> needs.)
>
> Thank You,
>
|||Yes I was referring to creating databases then dropping them. In one
particular application, a lot of the stored procedures are running
algorithms that do this.
Thank You for the feedback. Now that we have a monitoring system in place,
I will experiment with restricting SQL to 1.5 GB or so and monitor memory
swapping and related disk I/O.
"Andrew J. Kelly" <sqlmvpnoooospam@.shadhawk.com> wrote in message
news:OzqSg7oIEHA.3276@.TK2MSFTNGP09.phx.gbl...
> Kevin,
> What do you mean by Temp databases? Are you creating databases and then
> dropping them? Or do you mean temporary tables being created in the
tempdb
> database? If you only have 2GB of ram and your using it all I would
> suggest you set your max memory setting in sql server to around 1.5GB to
> allow the OS and memtoleave areas some slack. If you are memory
constrained
> and it sounds like you are, then going to 4GB can make a huge difference.
> You can set the /3gb switch to allow sql server use of up to 3GB and leave
> 1GB for the OS. This should alleviate most of the OS paging and sql
server[vbcol=seagreen]
> can use it's caching mechanisims as designed without dealing with the OS
> swap file.
> --
> Andrew J. Kelly SQL MVP
>
> "Kevin Hammond" <kghammond@.nrscorp.com> wrote in message
> news:c5jhcm$42i$1@.grandcanyon.binc.net...
applications[vbcol=seagreen]
> I/O.
as[vbcol=seagreen]
to[vbcol=seagreen]
write[vbcol=seagreen]
> we
adding[vbcol=seagreen]
delay[vbcol=seagreen]
not
> bit
> RAM
>

Monday, March 26, 2012

Performance Question

Hi, I have a sql2000 server running and I have a asp.net app that accesses this server. At the moment I am using 2 different databases to get information from and such, one database I have a bit of control over the other I am not allowed to touch without special permissions due to the sesitivity of the data. The issue is that my app is not going very fast when it comes to database calls.

I need to index some tables but I am unsure what actually happens to the data when I do this, I have one table that has ~600,000 rows and that is alot to sort through as you can imagine. This table is on the sensitive database, so I am hesitant to touch it, but I really need a performance boost somehow, can anyone suggest something to help me solve my performance problem?

I have posted around on the asp.net forums but the help is limited and most people say 99% of the time its the database calls that are the problem.

Thanks for the time,
MarkIts hard to just suggest anything without knowing your physical and logical design, but if you have many sort operations, try to put indexes on the sorted columns. If you are joining a lot of data, do also put an index on the joined columns. 600.000 is not that much data, perhaps you might also have an issue on your physical design ?

HTH, Jens Suessmeyer.

http://www.sqlserver2005.de

|||Thanks for the reply Jens, I am quite new to Indexes in SQL Server 2000, I suppose it is always best to use them no matter what database you have, but is there any risk to the data by putting them on? I just dont want to corrupt anything. And as far as I can tell, there are no indexes on any tables in the database that I am allowed to touch.

I should mention too, that I am using views to look onto the sensitive database, will this affect permormance?

thanks
Mark|||Actually there is no risks using indexes. If you use them on a separate physical storage location you can also put the load of the indexes from the database (but you don′t have to) The best way would be to evaluate the uqery plans of your queries fired against the database. They should tell you if data is retrieved by using cost extensive scans etc.

HTH, Jens Sü?meyer.

http://www.sqlserver2005.de|||Ok thats good advice thanks. When you say that I should evaluate the query plans, is that using the feature in the management studio that shows the execution plan of a given query? If so what should I be looking for? I dont really understand the details I am being shown

Thanks Jens|||Many sites already discussed about this topic, it would be too much describing the different symbols in here, but have a look on www.sqlserverperformance.com this iste can be a good starting point for finding out ways to tweak the performance of the database.

HTH, Jens Suessmeyer.

http://www.sqlserver2005.de
sql

Friday, March 23, 2012

Performance problems with more than 100 databases

I have been had performance problems with a SQL Server
with more than 100 databases.
In SQL Server are there recomendations about how many
databases on same instance?SQL Server wouldn't really have much a problem with 100 databases. The GUI
tools such as the Enterprise Manager sometimes do have problems.
--
Linchi Shea
linchi_shea@.NOSPAMml.com
"Marcos Vinicius" <vinicius@.hepta.com.br> wrote in message
news:082701c38921$7e29caa0$a401280a@.phx.gbl...
> I have been had performance problems with a SQL Server
> with more than 100 databases.
> In SQL Server are there recomendations about how many
> databases on same instance?

Performance problems when using multiple SqlConnection objects?

Hello,

I am planning to use three databases on the local SQL Server. DB1 will be for App1, DB2 for App2, and DB3 will hold tables, that both, App1 and App2 need to access.

Obviously, I need in App1 and App2 at least two SqlConnection and SqlCommand objects, one that access their respective databases, and one that will access DB3.

Will this result in a worse performance? (The using of two SqlConnection objects in one aspx page as example, and switching them)

Should I for better performance get rid of DB3 and add the tables there to DB1 and DB2 ? (Thus multiplying data, but, if the performance will be much better, it will be fine with me)

I would be thankful for any advices.

Hello my friend,

Try and use the same database where possible. By using the same database, and therefore the same connection string, the built-in connection pooling will work and therefore conserve resources for you.

Kind regards

Scotty

|||Thanks|||

ask_Scotty:

Hello my friend,

Try and use the same database where possible. By using the same database, and therefore the same connection string, the built-in connection pooling will work and therefore conserve resources for you.

Kind regards

Scotty

Thanks again, but, the more I am thinking about this and your advice, the more confused I am.

The Databases are all on the same machine and on the same instance. Will pooling stop working, or be inefficent, if I use a second SqlConnection object with anohter connection string in a aspx page? In the source code, I usualy close connections immediately, the two will not be open at the same time.

I am still somewhat unsure what to do.

|||

Hello again my friend,

Connecting to different databases, if necessary, from your web pages should be fine. If you can restrict the number of times you need to connect, this would be better. To understand what I mean, read up on page caching and especially data caching in ASP.NET applications. Basically, data caching involves connecting to the database on the first request for the data and then caching it to service subsequent requests as opposed to connecting to the database each time. Caching methods and strategies form a huge subject but one worth getting into.

Kind regards

Scotty

Wednesday, March 21, 2012

Performance problems after updating to SQL Server 2005

We have updated to SQL Server 2005, let’s say, in a hurry without thinking or testing. Databases were attached to the new instance of SQL Server 2005. It looked great when I tested it alone but then a new day come and as all users logged into the system we had got a big problem. The response times are very long and users receive time out errors all the time.

A little background:

The instance of SQL Server 2005 is installed on the same server as 2000 was installed on. 2000 has been uninstalled. It is a Xenon 3.2 GHz with 2GB RAM and SCSI raid. Data and logs are on different spins.

Application is an old ASP code and some parts are not optimized at all. But it worked fine on SQL Server 2000.

What could be the problem?

I really don’t want to downgrade to SQL Server 2000.

Hi Stolin,

Just wondering if you ran UPDATE STATS after the upgrade.

If not, This is the first thing I would do. UPDATE STATS with FULL SCAN.

Good luck and let us know how u get on

Jag

|||

Thank You,

That’s exactly what I did right after I’d posted the message. I also rebuild the indexes. Let’s hope that’s enough.

Performance problems

Hi,
I have two questions:
1. I have an SQL server with over 400 databases. I takes
quite some time to load the databases in Enterprise
manager. Does anyone have any suggestions on how I can
speed up this process.
2. I also have one database that is 2 GB in size and it
takes some time to run queries from the database. Can
anyone recommend how I can speed up the database - for
example reindex it.
Thanks for your help.
Regards,
Matthew ReedFor 2. - need more info. What type of indexes are existing on the table?
What are the major types of queries ran from it? Any locking/blocking
issues? Percentage of inserts/updates/deletes versus queries, etc. For
straight index info you might try the Inside SQL Server 2000 book.
HTH
--
Ray Higdon MCSE, MCDBA, CCNA
--
"Matthew Reed" <anonymous@.discussions.microsoft.com> wrote in message
news:088a01c3d3a1$0c6d4930$a601280a@.phx.gbl...
> Hi,
> I have two questions:
> 1. I have an SQL server with over 400 databases. I takes
> quite some time to load the databases in Enterprise
> manager. Does anyone have any suggestions on how I can
> speed up this process.
> 2. I also have one database that is 2 GB in size and it
> takes some time to run queries from the database. Can
> anyone recommend how I can speed up the database - for
> example reindex it.
> Thanks for your help.
> Regards,
> Matthew Reedsql

Tuesday, March 20, 2012

Performance problem - can't identify cause

Hi
We host a series of databases (SQL Server 2000 sp4) for customers; they are
all of identical schema. Recently, one of them became extremely slow. We
tried to find out what was wrong, but couldn't. I'll give you a quick
account of what we did in the hope that you might be able to suggest
something we overlooked.
After a bit of investigative work, we found that there were loads of locks
present and that CPU on the server was maxed out.
1 - we know that the DB schema is very optimised, so used SQL Compare to
compare this database's schema with another of our customer's in case an
index had been dropped. SQL Compare showed that the schemas were identical.
2 - we rebooted the Windows server in case there were any environmental
problems
3 - we updated the usage/statistics for the database (though these are set
to update automatically I believe) and rebuilt all the indexes.
4 - we ran a script to increase the free-space in the tables (normally set @.
10% free space - I think this script set this to 15% and forced that to
implement there and then)
5 - we ran the DBCC scripts for checking the database etc. This reported
that everything was fine.
6 - we moved the database onto another server (backup & restore) - the
performance problems exhibited themselves on this server too so we knew that
the problem (whatever it was) was specific to this database.
We then built a brand new DB using t-SQL statements and then migrated the
data from the old DB into this new one using DTS packages (only about 4 GB
of data). SQL Compare showed that the new DB has exactly the same schema as
the original DB but thankfully the new DB has NONE of the performance
problems.
So - there evidently was a problem with the database but none of the tools
we used showed up the problem. What did we miss?
Thanks everyone for any suggestions
GriffDid u Run the DBCC SHOWCONTIG or similar to check for Index
Fragmentation that could be one of the issues:
you said you recreated the schema and Copied the Data, well this is
most likely the cause of the Problem.
now these several similar databases, are they accessed in a Similar
pattern by the application, are they in a High availability scenario
etc.
Resting doubt, the TOP Issue (might) be index fragmentation:
Maninder
MCDBA
On Jan 29, 12:21 pm, "Griff" <griffithsj_...@.hotmail.com> wrote:
> Hi
> We host a series of databases (SQL Server 2000 sp4) for customers; they are
> all of identical schema. Recently, one of them became extremely slow. We
> tried to find out what was wrong, but couldn't. I'll give you a quick
> account of what we did in the hope that you might be able to suggest
> something we overlooked.
> After a bit of investigative work, we found that there were loads of locks
> present and that CPU on the server was maxed out.
> 1 - we know that the DB schema is very optimised, so used SQL Compare to
> compare this database's schema with another of our customer's in case an
> index had been dropped. SQL Compare showed that the schemas were identical.
> 2 - we rebooted the Windows server in case there were any environmental
> problems
> 3 - we updated the usage/statistics for the database (though these are set
> to update automatically I believe) and rebuilt all the indexes.
> 4 - we ran a script to increase the free-space in the tables (normally set @.
> 10% free space - I think this script set this to 15% and forced that to
> implement there and then)
> 5 - we ran the DBCC scripts for checking the database etc. This reported
> that everything was fine.
> 6 - we moved the database onto another server (backup & restore) - the
> performance problems exhibited themselves on this server too so we knew that
> the problem (whatever it was) was specific to this database.
> We then built a brand new DB using t-SQL statements and then migrated the
> data from the old DB into this new one using DTS packages (only about 4 GB
> of data). SQL Compare showed that the new DB has exactly the same schema as
> the original DB but thankfully the new DB has NONE of the performance
> problems.
> So - there evidently was a problem with the database but none of the tools
> we used showed up the problem. What did we miss?
> Thanks everyone for any suggestions
> Griff|||You've tried a bunch of different things without first identifying the cause
of the problem. Now that it's gone, it'll be pretty tough trying to figure
it out.
If this happens again, check to see what's using up the CPU resources, disk
IO activity and whether you're having memory pressure (at SQL Server and/or
OS level in case you locked SQL Server memory settings). Also, check for
blocking and recompilation activity.
Perf tuning is a lot of very invovled work.
http://msdn2.microsoft.com/en-us/sql/aa336291.aspx is a good place to start.
joe.
"Griff" <griffithsj_520@.hotmail.com> wrote in message
news:euJVgn8QHHA.4188@.TK2MSFTNGP06.phx.gbl...
> Hi
> We host a series of databases (SQL Server 2000 sp4) for customers; they
> are all of identical schema. Recently, one of them became extremely slow.
> We tried to find out what was wrong, but couldn't. I'll give you a quick
> account of what we did in the hope that you might be able to suggest
> something we overlooked.
> After a bit of investigative work, we found that there were loads of locks
> present and that CPU on the server was maxed out.
> 1 - we know that the DB schema is very optimised, so used SQL Compare to
> compare this database's schema with another of our customer's in case an
> index had been dropped. SQL Compare showed that the schemas were
> identical.
> 2 - we rebooted the Windows server in case there were any environmental
> problems
> 3 - we updated the usage/statistics for the database (though these are set
> to update automatically I believe) and rebuilt all the indexes.
> 4 - we ran a script to increase the free-space in the tables (normally set
> @. 10% free space - I think this script set this to 15% and forced that to
> implement there and then)
> 5 - we ran the DBCC scripts for checking the database etc. This reported
> that everything was fine.
> 6 - we moved the database onto another server (backup & restore) - the
> performance problems exhibited themselves on this server too so we knew
> that the problem (whatever it was) was specific to this database.
> We then built a brand new DB using t-SQL statements and then migrated the
> data from the old DB into this new one using DTS packages (only about 4 GB
> of data). SQL Compare showed that the new DB has exactly the same schema
> as the original DB but thankfully the new DB has NONE of the performance
> problems.
> So - there evidently was a problem with the database but none of the tools
> we used showed up the problem. What did we miss?
> Thanks everyone for any suggestions
> Griff
>|||Griff (griffithsj_520@.hotmail.com) writes:
> So - there evidently was a problem with the database but none of the tools
> we used showed up the problem. What did we miss?
You did a lot of things, but not the things I would have done. I would
have set up a trace, preferably server-side, and traced for statements
with a duration over some limit, say 100 ms, and then analysed that
trace to find out where the main bottlenecks are. I would then have looked
at the query plans for these queries and compared with the other databases.
I would also have looked at blocking.
My guess is that statistics for the data in some places led the optimizer
astray for one or more queries. It was resolved when you reloaded the data
through DTS, because data may have been loaded in slightly different order.
It may sound crazy, but if the optimizer has a close call between two plans,
small differences in statistics may matter.
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx|||I don't know, Erland, if he updated the stats and rebuilt with more
free space, that should tickle the recompiles.
Remember, he said he had a lot of blocks, presumably more than the
similar systems, though these could be a secondary sign of slow
performance. So, it could just be the data, but then rebuilding it
onto a clean server wouldn't help.
Of course I agree I'd do a profiler/plan based analysis, but just
speculating, it's hard to guess what it would turn up.
So I have no idea, but I wonder if the problems will recur in short
order, if they are related to data mal-distributions causing bad
plans, or different traffic patterns.
J.
On Tue, 30 Jan 2007 08:20:08 +0000 (UTC), Erland Sommarskog
<esquel@.sommarskog.se> wrote:
>Griff (griffithsj_520@.hotmail.com) writes:
>> So - there evidently was a problem with the database but none of the tools
>> we used showed up the problem. What did we miss?
>You did a lot of things, but not the things I would have done. I would
>have set up a trace, preferably server-side, and traced for statements
>with a duration over some limit, say 100 ms, and then analysed that
>trace to find out where the main bottlenecks are. I would then have looked
>at the query plans for these queries and compared with the other databases.
>I would also have looked at blocking.
>My guess is that statistics for the data in some places led the optimizer
>astray for one or more queries. It was resolved when you reloaded the data
>through DTS, because data may have been loaded in slightly different order.
>It may sound crazy, but if the optimizer has a close call between two plans,
>small differences in statistics may matter.|||Hi Erland & "J" (and everyone else on this thread)
I did mention briefly that we performed "a bit of investigative work". This
included using the performance analyser and getting traces for all stored
procedures and any dynamic SQL. There were some very slow running
queries....
We used the index tuning wizard and it suggested no new indexes were
required. As mentioned, the schema is identical for other customers (some
much larger DBs) and they have great performance. We also checked the
execution plan for one or two queries and they was the same on our problem
database and it was on another customer's database. So, we were fairly
confident that things were okay as far as the schema was concerned.
That's when we started running out of ideas. Are there any other symptoms
that we should have checked for - things that should have shouted to us to
look at the SHOWCONTIG output?
Griff|||One place to start would be the query plans. Compare the actual
execution plans for the problematic queries from the old database and the
newly built database. This will provide clues as to what might be wrong.
Before doing this, please make sure that the stats are updated and the
databases are identical in all respects (indexes, constraints, data etc). In
SQL Server 2000, you can use the SET STATISTICS PROFILE command to get the
actual execution plan. You can also use the "Show Plan Statistics" profiler
event.
--
Umachandar Jayachandran
Microsoft SQL Server Performance Team
SQL Server Engine Team Tips Blog at
http://blogs.msdn.com/sqltips/default.aspx
This posting is provided "AS IS" with no warranties, and confers no rights.
Griff wrote on Mon, 29 Jan 2007 17:21:10 -0000:
G> Hi
G> We host a series of databases (SQL Server 2000 sp4) for customers;
G> they are all of identical schema. Recently, one of them became
G> extremely slow. We tried to find out what was wrong, but couldn't.
G> I'll give you a quick account of what we did in the hope that you
G> might be able to suggest something we overlooked.
G> After a bit of investigative work, we found that there were loads of
G> locks present and that CPU on the server was maxed out.
G> 1 - we know that the DB schema is very optimised, so used SQL Compare
G> to compare this database's schema with another of our customer's in
G> case an index had been dropped. SQL Compare showed that the schemas
G> were identical.
G> 2 - we rebooted the Windows server in case there were any
G> environmental problems
G> 3 - we updated the usage/statistics for the database (though these
G> are set to update automatically I believe) and rebuilt all the
G> indexes.
G> 4 - we ran a script to increase the free-space in the tables
G> (normally set @.
G> 10% free space - I think this script set this to 15% and forced that
G> to implement there and then)
G> 5 - we ran the DBCC scripts for checking the database etc. This
G> reported that everything was fine.
G> 6 - we moved the database onto another server (backup & restore) -
G> the performance problems exhibited themselves on this server too so
G> we knew that the problem (whatever it was) was specific to this
G> database.
G> We then built a brand new DB using t-SQL statements and then migrated
G> the data from the old DB into this new one using DTS packages (only
G> about 4 GB of data). SQL Compare showed that the new DB has exactly
G> the same schema as the original DB but thankfully the new DB has
G> NONE of the performance problems.
G> So - there evidently was a problem with the database but none of the
G> tools we used showed up the problem. What did we miss?
G> Thanks everyone for any suggestions
G> Griff|||Griff (griffithsj_520@.hotmail.com) writes:
> We used the index tuning wizard and it suggested no new indexes were
> required. As mentioned, the schema is identical for other customers (some
> much larger DBs) and they have great performance. We also checked the
> execution plan for one or two queries and they was the same on our problem
> database and it was on another customer's database. So, we were fairly
> confident that things were okay as far as the schema was concerned.
If the particular queries you looked at were slow due to blocking, it is
not surprising the plans were the same. Else it sounds very strange.
Difference in execution time is usually due to bad plans or looking. But
really bad fragmentation can play in as well.
> That's when we started running out of ideas. Are there any other symptoms
> that we should have checked for - things that should have shouted to us to
> look at the SHOWCONTIG output?
You said that you reindexed all tables, and in such case you should have
resolved such problems. Provided that all your tables has clustered indexes.
--
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx|||OK. You really need to do a trace of your system and find the
slow-running queries. Make a list of them. I will bet that there's a
lot of table scanning or hashing going on. Do you have a sample of one
of the queries that you can post? Can you post the DDL of the base
tables being queried, as well as some distributions of key data? The
Index Tuning Wizard is just not something that I'd run or trust for
telling me how to run my production system...
-Dave
Griff wrote:
> Hi Erland & "J" (and everyone else on this thread)
> I did mention briefly that we performed "a bit of investigative work". This
> included using the performance analyser and getting traces for all stored
> procedures and any dynamic SQL. There were some very slow running
> queries....
> We used the index tuning wizard and it suggested no new indexes were
> required. As mentioned, the schema is identical for other customers (some
> much larger DBs) and they have great performance. We also checked the
> execution plan for one or two queries and they was the same on our problem
> database and it was on another customer's database. So, we were fairly
> confident that things were okay as far as the schema was concerned.
> That's when we started running out of ideas. Are there any other symptoms
> that we should have checked for - things that should have shouted to us to
> look at the SHOWCONTIG output?
> Griff
>
-Dave Markle
http://www.markleconsulting.com/blog|||Are you in a hyperthreading mode ? If yes, try to turn it off. See Slava
Ocks paper.
A +
Griff a écrit :
> Hi
> We host a series of databases (SQL Server 2000 sp4) for customers; they are
> all of identical schema. Recently, one of them became extremely slow. We
> tried to find out what was wrong, but couldn't. I'll give you a quick
> account of what we did in the hope that you might be able to suggest
> something we overlooked.
> After a bit of investigative work, we found that there were loads of locks
> present and that CPU on the server was maxed out.
> 1 - we know that the DB schema is very optimised, so used SQL Compare to
> compare this database's schema with another of our customer's in case an
> index had been dropped. SQL Compare showed that the schemas were identical.
> 2 - we rebooted the Windows server in case there were any environmental
> problems
> 3 - we updated the usage/statistics for the database (though these are set
> to update automatically I believe) and rebuilt all the indexes.
> 4 - we ran a script to increase the free-space in the tables (normally set @.
> 10% free space - I think this script set this to 15% and forced that to
> implement there and then)
> 5 - we ran the DBCC scripts for checking the database etc. This reported
> that everything was fine.
> 6 - we moved the database onto another server (backup & restore) - the
> performance problems exhibited themselves on this server too so we knew that
> the problem (whatever it was) was specific to this database.
> We then built a brand new DB using t-SQL statements and then migrated the
> data from the old DB into this new one using DTS packages (only about 4 GB
> of data). SQL Compare showed that the new DB has exactly the same schema as
> the original DB but thankfully the new DB has NONE of the performance
> problems.
> So - there evidently was a problem with the database but none of the tools
> we used showed up the problem. What did we miss?
> Thanks everyone for any suggestions
> Griff
>
Frédéric BROUARD, MVP SQL Server, expert bases de données et langage SQL
Le site sur le langage SQL et les SGBDR : http://sqlpro.developpez.com
Audit, conseil, expertise, formation, modélisation, tuning, optimisation
********************* http://www.datasapiens.com ***********************

Wednesday, March 7, 2012

Performance of EM

Hi,
I have no large database on my notebook. The only databases that I use for
my tests are Northwind and Pubs. Each time I install Windows and SQL Server,
I notice that EM considerably becomes slow after 1 or 2 months. This is what
all my colleagues complain about. Is it normal?! Is there any solution?
Defragging the disk did not help.
Any help would be greatly appreciated.
Leila"Leila" <Leilas@.hotpop.com> wrote in message
news:urPZ8AOWGHA.1192@.TK2MSFTNGP03.phx.gbl...
> Hi,
> I have no large database on my notebook. The only databases that I use for
> my tests are Northwind and Pubs. Each time I install Windows and SQL
> Server, I notice that EM considerably becomes slow after 1 or 2 months.
> This is what all my colleagues complain about. Is it normal?! Is there any
> solution?
> Defragging the disk did not help.
> Any help would be greatly appreciated.
> Leila
>
Fix your clock.
David|||Check if ODBC tracing is turned on.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Leila" <Leilas@.hotpop.com> wrote in message news:urPZ8AOWGHA.1192@.TK2MSFTNGP03.phx.gbl...[v
bcol=seagreen]
> Hi,
> I have no large database on my notebook. The only databases that I use for
> my tests are Northwind and Pubs. Each time I install Windows and SQL Serve
r,
> I notice that EM considerably becomes slow after 1 or 2 months. This is wh
at
> all my colleagues complain about. Is it normal?! Is there any solution?
> Defragging the disk did not help.
> Any help would be greatly appreciated.
> Leila
>[/vbcol]|||Thanks Tibor,
But this is off. Don't you really have this problem?
"Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote in
message news:u88pJVOWGHA.4768@.TK2MSFTNGP05.phx.gbl...[vbcol=seagreen]
> Check if ODBC tracing is turned on.
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://www.solidqualitylearning.com/
> Blog: http://solidqualitylearning.com/blogs/tibor/
>
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:urPZ8AOWGHA.1192@.TK2MSFTNGP03.phx.gbl...|||Thanks David,
But I didn't get it!
"David Browne" <davidbaxterbrowne no potted meat@.hotmail.com> wrote in
message news:eccxuEOWGHA.1192@.TK2MSFTNGP03.phx.gbl...
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:urPZ8AOWGHA.1192@.TK2MSFTNGP03.phx.gbl...
> Fix your clock.
> David
>|||Didn't get what? David was NOT addressing your issue of EM performance.
Both David and Aaron have asked you to fix your system clock, which is
causing your posts to be marked with tomorrow's date. Some people do this so
that their posts will show up at the top of the list for longer, and it is
considered very rude. Many very knowledgeable people on these forums will
refuse to answer posts that are post-dated like this. So do yourself a
favor, and make sure your system clock is correct.
HTH
Kalen Delaney, SQL Server MVP
www.solidqualitylearning.com
"Leila" <Leilas@.hotpop.com> wrote in message
news:OBJ6AHPWGHA.1192@.TK2MSFTNGP04.phx.gbl...
> Thanks David,
> But I didn't get it!
>
> "David Browne" <davidbaxterbrowne no potted meat@.hotmail.com> wrote in
> message news:eccxuEOWGHA.1192@.TK2MSFTNGP03.phx.gbl...
>|||Leila, do you know where your taskbar is? Do you see a clock there? Can
you please set the proper date?

> Thanks Tibor,
> But this is off. Don't you really have this problem?|||Leila (Leilas@.hotpop.com) writes:
> Date: Thu, 6 Apr 2006 22:08:56 +0430
That moment in time has not occurred yet. That's why people is yelling
at you to fix the clock.

> Thanks Tibor,
> But this is off. Don't you really have this problem?
The other standard thing to look out for is databases that are set to
autoclose. That can be a major peformance hog, if your are not sysadmin,
as EM needs to open each database to check the access rights.
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|||Oh... thanks indeed Kalen!
Honestly I was working on point-in-time recovery and I used the clock to
move the time forward when modifying the data! I did not need to check the
calendar on my notebook (I use my watch!) to fix it since few days ago :-)
I must check if I have made any mistakes on some data entry or timestamps in
my word documents!!
"Kalen Delaney" <replies@.public_newsgroups.com> wrote in message
news:O32lhMPWGHA.4920@.TK2MSFTNGP02.phx.gbl...
> Didn't get what? David was NOT addressing your issue of EM performance.
> Both David and Aaron have asked you to fix your system clock, which is
> causing your posts to be marked with tomorrow's date. Some people do this
> so that their posts will show up at the top of the list for longer, and it
> is considered very rude. Many very knowledgeable people on these forums
> will refuse to answer posts that are post-dated like this. So do yourself
> a favor, and make sure your system clock is correct.
> --
> HTH
> Kalen Delaney, SQL Server MVP
> www.solidqualitylearning.com
>
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:OBJ6AHPWGHA.1192@.TK2MSFTNGP04.phx.gbl...
>|||Oh... thanks indeed Kalen!
Honestly I was working on point-in-time recovery and I used the clock to
move the time forward when modifying the data! I did not need to check the
calendar on my notebook (I use my watch!) to fix it since few days ago :-)
I must check if I have made any mistakes on some data entries (with default
date) or timestamps in
my word documents!!
"Kalen Delaney" <replies@.public_newsgroups.com> wrote in message
news:O32lhMPWGHA.4920@.TK2MSFTNGP02.phx.gbl...
> Didn't get what? David was NOT addressing your issue of EM performance.
> Both David and Aaron have asked you to fix your system clock, which is
> causing your posts to be marked with tomorrow's date. Some people do this
> so that their posts will show up at the top of the list for longer, and it
> is considered very rude. Many very knowledgeable people on these forums
> will refuse to answer posts that are post-dated like this. So do yourself
> a favor, and make sure your system clock is correct.
> --
> HTH
> Kalen Delaney, SQL Server MVP
> www.solidqualitylearning.com
>
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:OBJ6AHPWGHA.1192@.TK2MSFTNGP04.phx.gbl...
>

Performance of EM

Hi,
I have no large database on my notebook. The only databases that I use for
my tests are Northwind and Pubs. Each time I install Windows and SQL Server,
I notice that EM considerably becomes slow after 1 or 2 months. This is what
all my colleagues complain about. Is it normal?! Is there any solution?
Defragging the disk did not help.
Any help would be greatly appreciated.
Leila
"Leila" <Leilas@.hotpop.com> wrote in message
news:urPZ8AOWGHA.1192@.TK2MSFTNGP03.phx.gbl...
> Hi,
> I have no large database on my notebook. The only databases that I use for
> my tests are Northwind and Pubs. Each time I install Windows and SQL
> Server, I notice that EM considerably becomes slow after 1 or 2 months.
> This is what all my colleagues complain about. Is it normal?! Is there any
> solution?
> Defragging the disk did not help.
> Any help would be greatly appreciated.
> Leila
>
Fix your clock.
David
|||Check if ODBC tracing is turned on.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Leila" <Leilas@.hotpop.com> wrote in message news:urPZ8AOWGHA.1192@.TK2MSFTNGP03.phx.gbl...
> Hi,
> I have no large database on my notebook. The only databases that I use for
> my tests are Northwind and Pubs. Each time I install Windows and SQL Server,
> I notice that EM considerably becomes slow after 1 or 2 months. This is what
> all my colleagues complain about. Is it normal?! Is there any solution?
> Defragging the disk did not help.
> Any help would be greatly appreciated.
> Leila
>
|||Thanks Tibor,
But this is off. Don't you really have this problem?
"Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote in
message news:u88pJVOWGHA.4768@.TK2MSFTNGP05.phx.gbl...[vbcol=seagreen]
> Check if ODBC tracing is turned on.
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://www.solidqualitylearning.com/
> Blog: http://solidqualitylearning.com/blogs/tibor/
>
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:urPZ8AOWGHA.1192@.TK2MSFTNGP03.phx.gbl...
|||Thanks David,
But I didn't get it!
"David Browne" <davidbaxterbrowne no potted meat@.hotmail.com> wrote in
message news:eccxuEOWGHA.1192@.TK2MSFTNGP03.phx.gbl...
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:urPZ8AOWGHA.1192@.TK2MSFTNGP03.phx.gbl...
> Fix your clock.
> David
>
|||Didn't get what? David was NOT addressing your issue of EM performance.
Both David and Aaron have asked you to fix your system clock, which is
causing your posts to be marked with tomorrow's date. Some people do this so
that their posts will show up at the top of the list for longer, and it is
considered very rude. Many very knowledgeable people on these forums will
refuse to answer posts that are post-dated like this. So do yourself a
favor, and make sure your system clock is correct.
HTH
Kalen Delaney, SQL Server MVP
www.solidqualitylearning.com
"Leila" <Leilas@.hotpop.com> wrote in message
news:OBJ6AHPWGHA.1192@.TK2MSFTNGP04.phx.gbl...
> Thanks David,
> But I didn't get it!
>
> "David Browne" <davidbaxterbrowne no potted meat@.hotmail.com> wrote in
> message news:eccxuEOWGHA.1192@.TK2MSFTNGP03.phx.gbl...
>
|||Leila, do you know where your taskbar is? Do you see a clock there? Can
you please set the proper date?

> Thanks Tibor,
> But this is off. Don't you really have this problem?
|||Leila (Leilas@.hotpop.com) writes:
> Date: Thu, 6 Apr 2006 22:08:56 +0430
That moment in time has not occurred yet. That's why people is yelling
at you to fix the clock.

> Thanks Tibor,
> But this is off. Don't you really have this problem?
The other standard thing to look out for is databases that are set to
autoclose. That can be a major peformance hog, if your are not sysadmin,
as EM needs to open each database to check the access rights.
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
|||Oh... thanks indeed Kalen!
Honestly I was working on point-in-time recovery and I used the clock to
move the time forward when modifying the data! I did not need to check the
calendar on my notebook (I use my watch!) to fix it since few days ago :-)
I must check if I have made any mistakes on some data entry or timestamps in
my word documents!!
"Kalen Delaney" <replies@.public_newsgroups.com> wrote in message
news:O32lhMPWGHA.4920@.TK2MSFTNGP02.phx.gbl...
> Didn't get what? David was NOT addressing your issue of EM performance.
> Both David and Aaron have asked you to fix your system clock, which is
> causing your posts to be marked with tomorrow's date. Some people do this
> so that their posts will show up at the top of the list for longer, and it
> is considered very rude. Many very knowledgeable people on these forums
> will refuse to answer posts that are post-dated like this. So do yourself
> a favor, and make sure your system clock is correct.
> --
> HTH
> Kalen Delaney, SQL Server MVP
> www.solidqualitylearning.com
>
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:OBJ6AHPWGHA.1192@.TK2MSFTNGP04.phx.gbl...
>
|||Oh... thanks indeed Kalen!
Honestly I was working on point-in-time recovery and I used the clock to
move the time forward when modifying the data! I did not need to check the
calendar on my notebook (I use my watch!) to fix it since few days ago :-)
I must check if I have made any mistakes on some data entries (with default
date) or timestamps in
my word documents!!
"Kalen Delaney" <replies@.public_newsgroups.com> wrote in message
news:O32lhMPWGHA.4920@.TK2MSFTNGP02.phx.gbl...
> Didn't get what? David was NOT addressing your issue of EM performance.
> Both David and Aaron have asked you to fix your system clock, which is
> causing your posts to be marked with tomorrow's date. Some people do this
> so that their posts will show up at the top of the list for longer, and it
> is considered very rude. Many very knowledgeable people on these forums
> will refuse to answer posts that are post-dated like this. So do yourself
> a favor, and make sure your system clock is correct.
> --
> HTH
> Kalen Delaney, SQL Server MVP
> www.solidqualitylearning.com
>
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:OBJ6AHPWGHA.1192@.TK2MSFTNGP04.phx.gbl...
>

Performance of EM

Hi,
I have no large database on my notebook. The only databases that I use for
my tests are Northwind and Pubs. Each time I install Windows and SQL Server,
I notice that EM considerably becomes slow after 1 or 2 months. This is what
all my colleagues complain about. Is it normal?! Is there any solution?
Defragging the disk did not help.
Any help would be greatly appreciated.
Leila"Leila" <Leilas@.hotpop.com> wrote in message
news:urPZ8AOWGHA.1192@.TK2MSFTNGP03.phx.gbl...
> Hi,
> I have no large database on my notebook. The only databases that I use for
> my tests are Northwind and Pubs. Each time I install Windows and SQL
> Server, I notice that EM considerably becomes slow after 1 or 2 months.
> This is what all my colleagues complain about. Is it normal?! Is there any
> solution?
> Defragging the disk did not help.
> Any help would be greatly appreciated.
> Leila
>
Fix your clock.
David|||Check if ODBC tracing is turned on.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Leila" <Leilas@.hotpop.com> wrote in message news:urPZ8AOWGHA.1192@.TK2MSFTNGP03.phx.gbl...[
color=darkred]
> Hi,
> I have no large database on my notebook. The only databases that I use for
> my tests are Northwind and Pubs. Each time I install Windows and SQL Serve
r,
> I notice that EM considerably becomes slow after 1 or 2 months. This is wh
at
> all my colleagues complain about. Is it normal?! Is there any solution?
> Defragging the disk did not help.
> Any help would be greatly appreciated.
> Leila
>[/color]|||Thanks Tibor,
But this is off. Don't you really have this problem?
"Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote in
message news:u88pJVOWGHA.4768@.TK2MSFTNGP05.phx.gbl...
> Check if ODBC tracing is turned on.
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://www.solidqualitylearning.com/
> Blog: http://solidqualitylearning.com/blogs/tibor/
>
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:urPZ8AOWGHA.1192@.TK2MSFTNGP03.phx.gbl...|||Thanks David,
But I didn't get it!
"David Browne" <davidbaxterbrowne no potted meat@.hotmail.com> wrote in
message news:eccxuEOWGHA.1192@.TK2MSFTNGP03.phx.gbl...
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:urPZ8AOWGHA.1192@.TK2MSFTNGP03.phx.gbl...
> Fix your clock.
> David
>|||Didn't get what? David was NOT addressing your issue of EM performance.
Both David and Aaron have asked you to fix your system clock, which is
causing your posts to be marked with tomorrow's date. Some people do this so
that their posts will show up at the top of the list for longer, and it is
considered very rude. Many very knowledgeable people on these forums will
refuse to answer posts that are post-dated like this. So do yourself a
favor, and make sure your system clock is correct.
HTH
Kalen Delaney, SQL Server MVP
www.solidqualitylearning.com
"Leila" <Leilas@.hotpop.com> wrote in message
news:OBJ6AHPWGHA.1192@.TK2MSFTNGP04.phx.gbl...
> Thanks David,
> But I didn't get it!
>
> "David Browne" <davidbaxterbrowne no potted meat@.hotmail.com> wrote in
> message news:eccxuEOWGHA.1192@.TK2MSFTNGP03.phx.gbl...
>|||Leila, do you know where your taskbar is? Do you see a clock there? Can
you please set the proper date?

> Thanks Tibor,
> But this is off. Don't you really have this problem?|||Leila (Leilas@.hotpop.com) writes:
> Date: Thu, 6 Apr 2006 22:08:56 +0430
That moment in time has not occurred yet. That's why people is yelling
at you to fix the clock.

> Thanks Tibor,
> But this is off. Don't you really have this problem?
The other standard thing to look out for is databases that are set to
autoclose. That can be a major peformance hog, if your are not symin,
as EM needs to open each database to check the access rights.
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|||Oh... thanks indeed Kalen!
Honestly I was working on point-in-time recovery and I used the clock to
move the time forward when modifying the data! I did not need to check the
calendar on my notebook (I use my watch!) to fix it since few days ago :-)
I must check if I have made any mistakes on some data entry or timestamps in
my word documents!!
"Kalen Delaney" <replies@.public_newsgroups.com> wrote in message
news:O32lhMPWGHA.4920@.TK2MSFTNGP02.phx.gbl...
> Didn't get what? David was NOT addressing your issue of EM performance.
> Both David and Aaron have asked you to fix your system clock, which is
> causing your posts to be marked with tomorrow's date. Some people do this
> so that their posts will show up at the top of the list for longer, and it
> is considered very rude. Many very knowledgeable people on these forums
> will refuse to answer posts that are post-dated like this. So do yourself
> a favor, and make sure your system clock is correct.
> --
> HTH
> Kalen Delaney, SQL Server MVP
> www.solidqualitylearning.com
>
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:OBJ6AHPWGHA.1192@.TK2MSFTNGP04.phx.gbl...
>|||Oh... thanks indeed Kalen!
Honestly I was working on point-in-time recovery and I used the clock to
move the time forward when modifying the data! I did not need to check the
calendar on my notebook (I use my watch!) to fix it since few days ago :-)
I must check if I have made any mistakes on some data entries (with default
date) or timestamps in
my word documents!!
"Kalen Delaney" <replies@.public_newsgroups.com> wrote in message
news:O32lhMPWGHA.4920@.TK2MSFTNGP02.phx.gbl...
> Didn't get what? David was NOT addressing your issue of EM performance.
> Both David and Aaron have asked you to fix your system clock, which is
> causing your posts to be marked with tomorrow's date. Some people do this
> so that their posts will show up at the top of the list for longer, and it
> is considered very rude. Many very knowledgeable people on these forums
> will refuse to answer posts that are post-dated like this. So do yourself
> a favor, and make sure your system clock is correct.
> --
> HTH
> Kalen Delaney, SQL Server MVP
> www.solidqualitylearning.com
>
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:OBJ6AHPWGHA.1192@.TK2MSFTNGP04.phx.gbl...
>

Performance of EM

Hi,
I have no large database on my notebook. The only databases that I use for
my tests are Northwind and Pubs. Each time I install Windows and SQL Server,
I notice that EM considerably becomes slow after 1 or 2 months. This is what
all my colleagues complain about. Is it normal?! Is there any solution?
Defragging the disk did not help.
Any help would be greatly appreciated.
Leila"Leila" <Leilas@.hotpop.com> wrote in message
news:urPZ8AOWGHA.1192@.TK2MSFTNGP03.phx.gbl...
> Hi,
> I have no large database on my notebook. The only databases that I use for
> my tests are Northwind and Pubs. Each time I install Windows and SQL
> Server, I notice that EM considerably becomes slow after 1 or 2 months.
> This is what all my colleagues complain about. Is it normal?! Is there any
> solution?
> Defragging the disk did not help.
> Any help would be greatly appreciated.
> Leila
>
Fix your clock.
David|||Check if ODBC tracing is turned on.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Leila" <Leilas@.hotpop.com> wrote in message news:urPZ8AOWGHA.1192@.TK2MSFTNGP03.phx.gbl...
> Hi,
> I have no large database on my notebook. The only databases that I use for
> my tests are Northwind and Pubs. Each time I install Windows and SQL Server,
> I notice that EM considerably becomes slow after 1 or 2 months. This is what
> all my colleagues complain about. Is it normal?! Is there any solution?
> Defragging the disk did not help.
> Any help would be greatly appreciated.
> Leila
>|||Thanks Tibor,
But this is off. Don't you really have this problem?
"Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote in
message news:u88pJVOWGHA.4768@.TK2MSFTNGP05.phx.gbl...
> Check if ODBC tracing is turned on.
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://www.solidqualitylearning.com/
> Blog: http://solidqualitylearning.com/blogs/tibor/
>
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:urPZ8AOWGHA.1192@.TK2MSFTNGP03.phx.gbl...
>> Hi,
>> I have no large database on my notebook. The only databases that I use
>> for my tests are Northwind and Pubs. Each time I install Windows and SQL
>> Server, I notice that EM considerably becomes slow after 1 or 2 months.
>> This is what all my colleagues complain about. Is it normal?! Is there
>> any solution?
>> Defragging the disk did not help.
>> Any help would be greatly appreciated.
>> Leila|||Thanks David,
But I didn't get it!
"David Browne" <davidbaxterbrowne no potted meat@.hotmail.com> wrote in
message news:eccxuEOWGHA.1192@.TK2MSFTNGP03.phx.gbl...
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:urPZ8AOWGHA.1192@.TK2MSFTNGP03.phx.gbl...
>> Hi,
>> I have no large database on my notebook. The only databases that I use
>> for my tests are Northwind and Pubs. Each time I install Windows and SQL
>> Server, I notice that EM considerably becomes slow after 1 or 2 months.
>> This is what all my colleagues complain about. Is it normal?! Is there
>> any solution?
>> Defragging the disk did not help.
>> Any help would be greatly appreciated.
>> Leila
> Fix your clock.
> David
>|||Didn't get what? David was NOT addressing your issue of EM performance.
Both David and Aaron have asked you to fix your system clock, which is
causing your posts to be marked with tomorrow's date. Some people do this so
that their posts will show up at the top of the list for longer, and it is
considered very rude. Many very knowledgeable people on these forums will
refuse to answer posts that are post-dated like this. So do yourself a
favor, and make sure your system clock is correct.
--
HTH
Kalen Delaney, SQL Server MVP
www.solidqualitylearning.com
"Leila" <Leilas@.hotpop.com> wrote in message
news:OBJ6AHPWGHA.1192@.TK2MSFTNGP04.phx.gbl...
> Thanks David,
> But I didn't get it!
>
> "David Browne" <davidbaxterbrowne no potted meat@.hotmail.com> wrote in
> message news:eccxuEOWGHA.1192@.TK2MSFTNGP03.phx.gbl...
>> "Leila" <Leilas@.hotpop.com> wrote in message
>> news:urPZ8AOWGHA.1192@.TK2MSFTNGP03.phx.gbl...
>> Hi,
>> I have no large database on my notebook. The only databases that I use
>> for my tests are Northwind and Pubs. Each time I install Windows and SQL
>> Server, I notice that EM considerably becomes slow after 1 or 2 months.
>> This is what all my colleagues complain about. Is it normal?! Is there
>> any solution?
>> Defragging the disk did not help.
>> Any help would be greatly appreciated.
>> Leila
>>
>> Fix your clock.
>> David
>|||Leila, do you know where your taskbar is? Do you see a clock there? Can
you please set the proper date?
> Thanks Tibor,
> But this is off. Don't you really have this problem?|||Leila (Leilas@.hotpop.com) writes:
> Date: Thu, 6 Apr 2006 22:08:56 +0430
That moment in time has not occurred yet. That's why people is yelling
at you to fix the clock.
> Thanks Tibor,
> But this is off. Don't you really have this problem?
The other standard thing to look out for is databases that are set to
autoclose. That can be a major peformance hog, if your are not sysadmin,
as EM needs to open each database to check the access rights.
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx|||Oh... thanks indeed Kalen!
Honestly I was working on point-in-time recovery and I used the clock to
move the time forward when modifying the data! I did not need to check the
calendar on my notebook (I use my watch!) to fix it since few days ago :-)
I must check if I have made any mistakes on some data entry or timestamps in
my word documents!!
"Kalen Delaney" <replies@.public_newsgroups.com> wrote in message
news:O32lhMPWGHA.4920@.TK2MSFTNGP02.phx.gbl...
> Didn't get what? David was NOT addressing your issue of EM performance.
> Both David and Aaron have asked you to fix your system clock, which is
> causing your posts to be marked with tomorrow's date. Some people do this
> so that their posts will show up at the top of the list for longer, and it
> is considered very rude. Many very knowledgeable people on these forums
> will refuse to answer posts that are post-dated like this. So do yourself
> a favor, and make sure your system clock is correct.
> --
> HTH
> Kalen Delaney, SQL Server MVP
> www.solidqualitylearning.com
>
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:OBJ6AHPWGHA.1192@.TK2MSFTNGP04.phx.gbl...
>> Thanks David,
>> But I didn't get it!
>>
>> "David Browne" <davidbaxterbrowne no potted meat@.hotmail.com> wrote in
>> message news:eccxuEOWGHA.1192@.TK2MSFTNGP03.phx.gbl...
>> "Leila" <Leilas@.hotpop.com> wrote in message
>> news:urPZ8AOWGHA.1192@.TK2MSFTNGP03.phx.gbl...
>> Hi,
>> I have no large database on my notebook. The only databases that I use
>> for my tests are Northwind and Pubs. Each time I install Windows and
>> SQL Server, I notice that EM considerably becomes slow after 1 or 2
>> months. This is what all my colleagues complain about. Is it normal?!
>> Is there any solution?
>> Defragging the disk did not help.
>> Any help would be greatly appreciated.
>> Leila
>>
>> Fix your clock.
>> David
>>
>|||Oh... thanks indeed Kalen!
Honestly I was working on point-in-time recovery and I used the clock to
move the time forward when modifying the data! I did not need to check the
calendar on my notebook (I use my watch!) to fix it since few days ago :-)
I must check if I have made any mistakes on some data entries (with default
date) or timestamps in
my word documents!!
"Kalen Delaney" <replies@.public_newsgroups.com> wrote in message
news:O32lhMPWGHA.4920@.TK2MSFTNGP02.phx.gbl...
> Didn't get what? David was NOT addressing your issue of EM performance.
> Both David and Aaron have asked you to fix your system clock, which is
> causing your posts to be marked with tomorrow's date. Some people do this
> so that their posts will show up at the top of the list for longer, and it
> is considered very rude. Many very knowledgeable people on these forums
> will refuse to answer posts that are post-dated like this. So do yourself
> a favor, and make sure your system clock is correct.
> --
> HTH
> Kalen Delaney, SQL Server MVP
> www.solidqualitylearning.com
>
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:OBJ6AHPWGHA.1192@.TK2MSFTNGP04.phx.gbl...
>> Thanks David,
>> But I didn't get it!
>>
>> "David Browne" <davidbaxterbrowne no potted meat@.hotmail.com> wrote in
>> message news:eccxuEOWGHA.1192@.TK2MSFTNGP03.phx.gbl...
>> "Leila" <Leilas@.hotpop.com> wrote in message
>> news:urPZ8AOWGHA.1192@.TK2MSFTNGP03.phx.gbl...
>> Hi,
>> I have no large database on my notebook. The only databases that I use
>> for my tests are Northwind and Pubs. Each time I install Windows and
>> SQL Server, I notice that EM considerably becomes slow after 1 or 2
>> months. This is what all my colleagues complain about. Is it normal?!
>> Is there any solution?
>> Defragging the disk did not help.
>> Any help would be greatly appreciated.
>> Leila
>>
>> Fix your clock.
>> David
>>
>