You are here: QUESTION: Performance issue on *one* database on a server « MsSQL Server « IT news, forums, messages
QUESTION: Performance issue on *one* database on a server

Posted by BD on 09/21/06 17:13

Hi there.

I'm on a SQL 2000 SP4 machine.

This is a development machine, with only a couple of small databases on
it.

Yesterday I needed to recover a table from backup, so I went through
the following process:

-Used 'Create SQL script' to generate a create db statement from the
current db.
-Changed the db name, and all file paths to not conflict with the
current db.
-Created a new db in a new directory with this script.
-Restored last night's backup from the 'real' db to the new one.
-Went into the 'recovered' database, located the table which needed to
be restored, and renamed it to "<table_name>_RECOVER"
-Used DTS to transfer that table to the 'real' database
-Truncated the table to be recovered
-did a 'Insert into select * from' statement to recover the records.
-dropped the table that I had copied in via DTS. This table was small -
8000 rows or so.

The database seemed fine at the time.

Now (the next morning) I am finding that performance of the 'real'
database is agonizingly slow. Even doing a 'select count (*) from <a
small table> simply does not return a result. the 'processing' globe
icon spins merrily away, and I get no result set.

However, the same query, submitted against the 'recovered' database
(the one I restored in order to get the data I required) responds
instantly, as it should.

These databases are both hanging off the same named instance of this
server (there are three instances).

A quick Perfmon check shows the CPU to be nearly idle.

I'm not sure what to look at here - can anyone suggest a direction?

Thanks!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация