Viewing 15 posts - 47,431 through 47,445 (of 49,552 total)
You could insist that she adds OPTION (MAXDOP 1) to the end of each of her queries. Not ideal, but it might work.
You can use the governor that's in SQL...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 6, 2008 at 4:30 am
No indexes and 2 million rows. Ouch. Does the table have a primary key?
I can suggest an index that is almost guaranteed to make this view faster. However, it's not...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 6, 2008 at 4:17 am
Possibly someone formerly or currently on the dev team would know. There doesn't seem to be much available on the internals of statistics
Conor Cunningham[/url] indicated he might be writing on...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 6, 2008 at 3:47 am
Please don't post in caps. It's the online equilalent of shouting, and it's kinda hard to read.
Could you please post the definition of the view, the schema and indexes of...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 6, 2008 at 2:30 am
May I ask why you're interested?
In SQL 2005, all the implementation details of stats are hidden. On SQL 2000 it was possible to see the statsblob (an IMAGE column...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 6, 2008 at 2:27 am
How about just
update header set Siebeltransnumber = CONVERT (char(6),h.trans_date,12)
+substring (h.trans_number, patindex('%[^0]%', h.trans_number), 20)
where Siebeltransnumber IS NULL
The reason you're getting errors is that SQL was trying to evaluate the subquery...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 6, 2008 at 2:24 am
Placing hints without using WITH is deprecated syntax. SQL 2000 does allow hints to be placed without using WITH. SQL 2005 does not
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 6, 2008 at 2:07 am
Refer to OP's other post on this please- Reindexing and defragmentation (SQL 2000)
Apparently server is 2000, post was initially in wrong forum.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 5, 2008 at 11:57 pm
Can you post the update statement that you're trying to run?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 5, 2008 at 11:53 pm
Transactions by themselves don't cause locks or force locking modes. They just mean that a number of statements are treated like a single statement.
Temp table names don't clash with other...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 5, 2008 at 11:47 pm
If you're on SP2, use a login trigger. I've got one on my main server to prevent exactly this - users logging in using accounts they're not supposed to.
Short sample...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 5, 2008 at 11:43 pm
Spaceused can get out of sync with reality, especially on SQL 2000. I've had it reporting negative space used on a table.
Run DBCC updateusage on that index and see if...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 5, 2008 at 11:35 pm
If you need to do transactional replication, then you'll have to ensure there are primary keys on all tables you want to replicate.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 5, 2008 at 11:32 pm
Please don't cross post. It wastes people's time and fragments replies. Most of he regulars here read all the forums
Disscussions to the following thread please - Index size (Performance tuning)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 5, 2008 at 11:31 pm
Also the table schemas and index definitions would help.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 5, 2008 at 11:28 pm
Viewing 15 posts - 47,431 through 47,445 (of 49,552 total)