Viewing 15 posts - 3,961 through 3,975 (of 49,552 total)
MadAdmin (12/22/2015)
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
December 22, 2015 at 5:27 am
Narendra-274001 (12/22/2015)
I believe partitioning the table will boost up the performance for reporting purposes.
Very unlikely. Partitioning is not for performance. It's for data management.
Will partition gain performance for data...
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
December 22, 2015 at 3:42 am
Ok, so why are you looking at partitioning?
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
December 22, 2015 at 1:57 am
Adrian Chapman (12/22/2015)
Ivanova (12/21/2015)
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
December 22, 2015 at 1:22 am
Why are you partitioning?
If you're partitioning for data loads and data archives, then the granularity of the data imports will determine what you want to partition by.
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
December 22, 2015 at 1:12 am
Edit: nm
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
December 22, 2015 at 1:08 am
Let's turn this into something more readable first and take out the invalid quotes.
SELECT Supplier_Details_tbl.Supplier_Name,
Documents_tbl.Document_Type,
...
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
December 22, 2015 at 1:06 am
Yes, the behaviour's correct. There's no predicate comparing a to b, and the predicate on b cannot filter the rows in a, therefore all rows qualify for the delete and...
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
December 22, 2015 at 1:03 am
Eric M Russell (12/21/2015)
Try unit testing using (MAXDOP 1) query hint.
Why? Parallel execution is good, it means SQL's using resources effectively to return results quickly. A parallel query is no...
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
December 22, 2015 at 12:59 am
T2512 (12/21/2015)
That's what i always thought, from a users perspective speed is the only factor.
From a *user's* perspective all that's important is speed, but you're not a user. 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
December 22, 2015 at 12:56 am
James Goodwin (12/21/2015)
I doubt that there is a major difference in execution plan between these.
You would be wrong.
The first is a guaranteed table scan every time. The second is far...
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
December 22, 2015 at 12:50 am
I'm pretty sure mall security would have objected to a sabre with light-up blade.
I don't have one that's just the hilt yet.
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
December 21, 2015 at 6:59 am
If you mean a function that takes an undisclosed number of parameters, you can't create such a function. You have to define the parameters exactly when the function is created...
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
December 21, 2015 at 6:25 am
Scene from Friday evening
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
December 21, 2015 at 6:07 am
They've both got inherent performance problems. Take a read through https://www.simple-talk.com/content/article.aspx?article=2280
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
December 21, 2015 at 3:34 am
Viewing 15 posts - 3,961 through 3,975 (of 49,552 total)