Sql Server consuming 100% CPU


hi,

 

we've been using sql server 2005 time , we've found stable , pretty bug free, done! (as opposed oracle 10g, bug-ridden) i'm not sure if right forum post in, felt best place start. please move post if not correct.

 

in the last few weeks we've had serious problem; whenever try execute our upgrade scripts cpu usage spikes 100%. , every insert takes > 0.5 seconds. needless say, i'll anyway, huge problem. of our scripts have > 100 000 inserts, upgrade process takes "forever".

 

at point might useful talk briefly how use our sql server; have application configured via database (we support sql server , oracle) , use database lot more "dumb" datastore. massive amounts of insert/update every version of our application , add new tables quite often. have build system, using tfsbuild, nightly builds. build drop current database (example of name: monday, tuesday etc.) , restore again using image. upgrade new database current version of our scripts. on our sql server 2005 server have 4 such databases process repeated 4 times each night. , since build our database using baseline image , scripts (both stored in source control) not need backups of databases, no backup plan running. i'm mentioning because we've had theory might cause of our problems...

 

so, have idea how might go solving this?

 

 



SQL Server  >  Getting started with SQL Server



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........