Sql Is Eating Up The Cpu
Feb 20, 2008
how can i figure out why?
it's a brand new high spec computer.
i have sp that is being run probably about 25 times a minute which checks that a records is not a duplicate and inserts... could this be tying up the cpu? how can i figure out what is doing it?
View 11 Replies
Sep 9, 2006
hi,I have sql server express installed and checked its process and noticed it is consuming over 47k of ram. Is this normal?Why is this process taking up so much memory? Thanks,john
View 1 Replies
View Related
Apr 25, 2008
Hello again.I'm developing an ASP.NET web application with VS2005 and SLQ Server 2005. The problem is with SQL Server: I tried to add a new column to an existent table (with more than 2500 rows) by mean SQL Server, but it takes almost 1 minute to do each click when I open the table in edit mode. I don't think that it is normal. May be it because the size of the databases? (8 databases: 30GB in total)? may be a error of configuration? I reviewed the RAM use of SQL Server and it takes 1.1 GB!!! so, I rebooted the server and then it was taking 540Kb of RAM. I don't know if this is the better place to do this question, but if it isn't please refer me to the right place to do it. Thanks in advance. PD: sorry for any misspell/mistake, I'm not a fluent English-speaker.
View 5 Replies
View Related
Apr 14, 2004
Hi all,
sql server 7.0
I have tempdb.mdf which .mdf file is taking up 1.33gb of my hard disk.
Is there any way i can solve this problem.
will it help me by just restarting the sqlserver
Waiting for ur reply.
Pls help its very urgent
TIA
Adil
View 7 Replies
View Related
Feb 25, 2004
Hi All,
Sql Server 7
My tempdb is eating 1.27 gb of space of my d dive, and now only 10 mb is left in d drive . for this i stoped and started sqlserver but it didnt release much of space.Pls let me know is there any other way so that i can release some space from my tempdb.
Waiting for reply
TIA
Adil
View 5 Replies
View Related
Feb 9, 2007
Hi to all, i have a very important problem...pls help me
I have a server with Windows 2003 Server (3GB RAM) and SQL SERVER 2000 running on it, my problem is that sqlserv.exe eat 2GB RAM even if on this server nothing happen....if i restart the service of SQL Server everything is ok eat just 30 MB RAM but after some minutes...after i made a simple select or a simple delete....simple things he arrive to 2GB RAM...this not happen until now(2 days ago)...the problem is that when he arrive to ~2GB RAM the statio run very slow and i receive the error "Time out expire"
this problem happens and on my local station where i have Win XP PRO (1 GB RAM) SQL Server 2000....
thx a lot
View 1 Replies
View Related
Jan 23, 2006
Hey,
I have a large set of data that I need to match against another large set of data. The reference table has 9.8mill rows and my input has 14.6mill rows. I started with a new project. I added my connection, then a task to clear the result table, then my data flow, then my OLE source, then my Fuzzy Lookup task, then my SQL Server Destination. I set the connection of my OLE source and set the query to pull the data. Then I set the connection of my Fuzzy Lookup task, set the reference table and told it to create a new index (the problem also occurs if I use a generated index) and then set up the matching criteria. Then I set the connection and destination for the SQL Server Destination.
After setting all this up, I hit Run. The thing ran great until ~ 800k rows and then it failed. I ran it several times and it always failed right around 800k with a message saying there was not enough space and then an error with buffers being passed to the Fuzzy Lookup component. I opened Task Manager and watched the resources as it ran and was amazed at what I saw. The Fuzzy Lookup component eats up every bit of Virtual Memory available and when it can't take any more, it errors out. I tried setting the Max Memory setting on the component and it seems to have no effect. I also played with the buffer settings on the data flow task to no avail. I even went as far as to put an identity on my input table and create a function that outputs selects that use a between on the identity to break the data into 600k chunks. I set up a ForEach component and DTS variables, but the Fuzzy Lookup component does not free the VM after the iteration of the ForEach component!
I ended up running each chunk of 600k one at a time. I have to automate this for the future, so I need a solution. Does anyone have an idea for me?
View 7 Replies
View Related
Mar 20, 2008
[.NET 2.0, Visual Basic, RadChart/RadPanel/RadTimer controls (www.telerik.com), SQLDataSource controls, SQLServer 2002]
I have only been working with .NET for about a month now so my knowledge and understanding are pretty low in some areas, including this one.
What I have is a number of webpages that have several RadChart controls on them (8 to 12 charts per page). Each of these charts is bound to a seperate SQLDataSource with a variation of the following query:
1 SELECT [QC Shot Logs].penetration, charges.penmra, charges.penmts, [QC Shot Logs].time2 FROM [QC Shot Logs] INNER JOIN (select top 1 run.runid, run.linerpress#, run.partid3 from run where run.linerpress# = '1' order by run.[date] desc) as drun ON [QC Shot Logs].RunID = dRun.RunID4 INNER JOIN Charges ON dRun.PartID = Charges.PartID5 where [qc shot logs].shottype < 3 order by [qc shot logs].timeEach chart represents the results of a quality control check on explosives that my company uses and puts the data in a visual format so that it is easy to see if the blasts passed or failed inspection. The different variations in the SQL code above are simply a change in line #3: where run.linerpress# = '1', where run.linerpress# = '2', and so on up to '12'.
Data is added and modified in the database quite a bit throughout the day at random times, so I need the charts to refresh their data pretty frequently (done with a RadTimer control). The problem that is caused then is that I have 12 RadCharts individually bound to 12 SQLDataSources that all get refreshed every 30 seconds or so, which takes quite a bit of time. The main Quality Control computer monitors four webpages at a time, one of them with 12 Charts/Sources, and three with 8 Charts/Sources each. Having 36 charts up at a time with 36 hits on the database going as well causes a great deal of lag on the system. In addition to that though, there are also two other pages (each with 12 charts/sources) that can be viewed by any number of people at any time, which (obviously) causes more lag on the system.
So, on to my actual questions:
1) Can I use a single SQLDataSource control to gather all of the data I need for the 8-12 RadCharts on a single page? I'm not too well versed in SQL either, so I don't know if I can modify the SQL so that it picks up all of the information I need, or if I can gather the data for the first chart, change a variable to pull the data for the second, change the variable again, etc.
2) Is there a way to refresh the RadCharts so that the data they display is relatively real time without having to refresh the SQLDataSources as well?
And then, of course, any suggestions at all that you can give me that will help to improve overall performace or anything of the like is definitely appreciated.
View 3 Replies
View Related