Skip to content Skip to sidebar Skip to footer
Showing posts with the label Performance

Sqlserver Case Expressions - Short Circuit Evaluation?

I am trying to optimize a query that does something like this: SELECT ... CASE WHEN (conditio… Read more Sqlserver Case Expressions - Short Circuit Evaluation?

Convert Select-endselect In For All Entries With More Table

I would like to convert this SELECT-ENDSELECT into FOR ALL ENTRIES to have better performance. LOOP… Read more Convert Select-endselect In For All Entries With More Table

Find Out Which Query Increasing Dtu In Sql Azure

I am using SQL Azure SQL Server for my App. The DB tier, which my app was in was working perfectly … Read more Find Out Which Query Increasing Dtu In Sql Azure

Is Bit Field Faster Than Int Field In Sql Server?

I have table with some fields that the value will be 1 0. This tables will be extremely large overt… Read more Is Bit Field Faster Than Int Field In Sql Server?

Sql: Speed Improvement - Left Join On Cond1 Or Cond2

SELECT DISTINCT a.*, b.* FROM current_tbl a LEFT JOIN import_tbl b … Read more Sql: Speed Improvement - Left Join On Cond1 Or Cond2

Sql Query Performance Question (multiple Sub-queries)

I have this query: SELECT p.id, r.status, r.title FROM page AS p INNER JOIN page_revision as r … Read more Sql Query Performance Question (multiple Sub-queries)

Faster To Query One Binary(1) Field Or 8 Bit Fields?

If I have 8 boolean values in a record and those 8 values are always used when doing a query agains… Read more Faster To Query One Binary(1) Field Or 8 Bit Fields?

Performance - Single Join Select Vs. Multiple Simple Selects

What is better as far as performance goes? Solution 1: There is only one way to know: Time it. In … Read more Performance - Single Join Select Vs. Multiple Simple Selects