Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
pebkacbigdatauser
Starting Member
23 Posts |
Posted - 2012-07-07 : 23:40:20
|
| So I've been running some very large queries, and what's been happening is it uses up all the memory and disk IO it can for a long item, then it just slows down to nothing.Its sitting at 1mb\s right now off two SSD drives and processor usage is going between 25-48%.Is this what happens when TempDB isn't big enough?Any ideas? |
|
|
pebkacbigdatauser
Starting Member
23 Posts |
Posted - 2012-07-08 : 00:40:57
|
| name minimum maximum config_value run_valueaccess check cache bucket count 0 65536 0 0access check cache quota 0 2147483647 0 0Ad Hoc Distributed Queries 0 1 1 1affinity I/O mask -2147483648 2147483647 0 0affinity mask -2147483648 2147483647 0 0affinity64 I/O mask -2147483648 2147483647 0 0affinity64 mask -2147483648 2147483647 0 0Agent XPs 0 1 1 1allow updates 0 1 0 0backup compression default 0 1 0 0blocked process threshold (s) 0 86400 0 0c2 audit mode 0 1 0 0clr enabled 0 1 0 0common criteria compliance enabled 0 1 0 0contained database authentication 0 1 0 0cost threshold for parallelism 0 32767 5 5cross db ownership chaining 0 1 0 0cursor threshold -1 2147483647 -1 -1Database Mail XPs 0 1 0 0default full-text language 0 2147483647 1033 1033default language 0 9999 0 0default trace enabled 0 1 1 1disallow results from triggers 0 1 0 0EKM provider enabled 0 1 0 0filestream access level 0 2 0 0fill factor (%) 0 100 0 0ft crawl bandwidth (max) 0 32767 100 100ft crawl bandwidth (min) 0 32767 0 0ft notify bandwidth (max) 0 32767 100 100ft notify bandwidth (min) 0 32767 0 0index create memory (KB) 704 2147483647 0 0in-doubt xact resolution 0 2 0 0lightweight pooling 0 1 0 0locks 5000 2147483647 0 0max degree of parallelism 0 32767 0 0max full-text crawl range 0 256 4 4max server memory (MB) 128 2147483647 25000 25000max text repl size (B) -1 2147483647 65536 65536max worker threads 128 65535 512 512media retention 0 365 0 0min memory per query (KB) 512 2147483647 25600000 25600000min server memory (MB) 0 2147483647 25000 25000nested triggers 0 1 1 1network packet size (B) 512 32767 4096 4096Ole Automation Procedures 0 1 0 0open objects 0 2147483647 0 0optimize for ad hoc workloads 0 1 0 0PH timeout (s) 1 3600 60 60precompute rank 0 1 0 0priority boost 0 1 1 1query governor cost limit 0 2147483647 0 0query wait (s) -1 2147483647 -1 -1recovery interval (min) 0 32767 0 0remote access 0 1 1 1remote admin connections 0 1 0 0remote login timeout (s) 0 2147483647 10 10remote proc trans 0 1 0 0remote query timeout (s) 0 2147483647 600 600Replication XPs 0 1 0 0scan for startup procs 0 1 0 0server trigger recursion 0 1 1 1set working set size 0 1 0 0show advanced options 0 1 1 1SMO and DMO XPs 0 1 1 1transform noise words 0 1 0 0two digit year cutoff 1753 9999 2049 2049user connections 0 32767 0 0user options 0 32767 0 0xp_cmdshell 0 1 0 0 |
 |
|
|
jackv
Master Smack Fu Yak Hacker
2179 Posts |
Posted - 2012-07-08 : 01:33:35
|
| Not necessarily. Do you mean it slows down during the query or when the query has finished. How do you have the databases distributed? i.e data\ log\ tempdb separated out onto different drives.Have you checked the Execution plan of the query? Is the query pulling back excessive amounts of data?Jack Vamvas--------------------http://www.sqlserver-dba.com |
 |
|
|
pebkacbigdatauser
Starting Member
23 Posts |
Posted - 2012-07-08 : 11:47:04
|
quote: Originally posted by jackv Not necessarily. Do you mean it slows down during the query or when the query has finished. How do you have the databases distributed? i.e data\ log\ tempdb separated out onto different drives.Have you checked the Execution plan of the query? Is the query pulling back excessive amounts of data?Jack Vamvas--------------------http://www.sqlserver-dba.com
The query has not finished, the tempdb is on a different drive, the execution plan has no warnings, but it is going through a large amount of data.When I checked the wait list, there were 4 or 5 cxpackets waiting, 1 for basically forever.It just doesn't make any sense to me. Is there a legitimate reason for a query to basically have i\o drop from 1gb\s to 1\mbs for hours? |
 |
|
|
|
|
|