Viewing 15 posts - 46,231 through 46,245 (of 49,552 total)
It's unlikely to increase performance, unless the new file is on a different physical drive and IO is your bottelneck. It usually isn't
You will probably get better return on your...
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
June 13, 2008 at 12:20 am
Some of them.
With most it's a working relationship only. Some I'm happy to sit with and chat about anything and everything.
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
June 12, 2008 at 8:04 am
Perhaps what you could do is just a simple check. Does the address have an '@' sign in? Does it have at least 1 '.' (though I seem to recall...
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
June 12, 2008 at 7:39 am
Not a solution, a workaround. There's some connection somewhere that's getting forcefully closed by the server when you do that. If it's in your app and you then try to...
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
June 12, 2008 at 7:38 am
Gut feel is that it's the UDF at fault here. It has to run for each row of the update. It's essentially a hidden cursor.
Is there any way you can...
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
June 12, 2008 at 6:38 am
Not asking about the connection string.
If you open a SQL Server query tool, like management studio, and query the open connections to the server, what do you see?
Stick a...
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
June 12, 2008 at 6:24 am
I'm no C# expert I'm afraid. I would guess that the data table keeps the connection open until it's destroyed.
If you use a SQL querying tool (management studio) what connections...
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
June 12, 2008 at 6:12 am
Because both operands are int, you're getting integer division and the result is an int.
To avoid that, cast one of the operands to float or an appropriatly sized numeric. It...
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
June 12, 2008 at 5:46 am
What do you mean by 'its not getting updated or deleted'?
You get an error?
The update waits forever?
The update succeeds but the row isn't changed?
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
June 12, 2008 at 4:46 am
Extended stored procedures are written in C++. They can do anything. If you write one badly (not handle errors, mess up memory access, etc) you can very easily cause the...
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
June 12, 2008 at 4:43 am
Truncate is not the same as shink. Was my explaination not clear?
Truncate just marks space inside the file for reuse. Shrink changes the size of the file.
Truncates occur on checkpoint...
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
June 12, 2008 at 4:32 am
Pleasure.
I'm still unclear why you're using dynamic SQL at all. There doesn't seem to be a need.
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
June 12, 2008 at 3:17 am
See my edited post.
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
June 12, 2008 at 2:33 am
It is possible to do that as a check constraint, however be aware that email addresses are very complex to validate properly. See here for some details on what is...
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
June 12, 2008 at 2:26 am
You can't change sys.databases. It's a system view.
log_reuse_wait_desc tells you what the log is waiting for to be reused. Nothing more. It's a report of database information, not a...
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
June 12, 2008 at 2:16 am
Viewing 15 posts - 46,231 through 46,245 (of 49,552 total)