Link to home
Start Free TrialLog in
Avatar of marrowyung
marrowyung

asked on

learning how to tune T-SQL query ASAP

Dear all,

right now focusing on T-SQL tuning in order to make myself more as Application DBA and some expertist here suggest the following books for me on data modelling:

http://www.amazon.com/gp/product/1449316409/ref=ox_sc_act_title_3?ie=UTF8&psc=1&smid=ATVPDKIKX0DER

http://www.amazon.com/gp/product/012802044X/ref=ox_sc_act_title_4?ie=UTF8&psc=1&smid=ATVPDKIKX0DER

http://www.amazon.com/gp/product/1118530802/ref=ox_sc_act_title_5?ie=UTF8&psc=1&smid=ATVPDKIKX0DER

but all those is only focusing on data modelling but not quickly jump into turn the query ASAP and then let me have time to read logic and theory later on in order to catch up.

any Link/Books that make me dig into necessary detail ASAP and find out what index has to add and what the optimizer is looking for and implement that ASAP so that big boss is not complain anymore and then I will go back to the theory on how to change the SQL developer in a better way ( this can take months to change it but not at that moment),

LINk is hightly prefer as I can save paper but good books from beginning to expertist is welcome if no choice.

query indexing and query parallel execution is the one I want as it will be the direction, right?
SOLUTION
Avatar of Ronak Patel
Ronak Patel
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of marrowyung
marrowyung

ASKER

I think these

Expert Performance Indexing for SQL Server 2012
SQL Server 2014 Design & Programming
SQL Server Tuning Scripts: Performance Optimization Secrets (IT In-Focus)

are good
but do you know the author ?

books from him/she is good ?

you know if your links or links here are enough , I should avoid to buy books to save tree, right?
no. I mean links to write T-sQL / SP/ UDF in a way that is much faster and SQL server prefer to see this query as it will be fastest (like no cursor , while loop to loop out record one by one but bulk insert/select)

and that's why I said query indexing and query parallel execution is the one I want as it will be the direction.

any other suggestion ?

In this way I will just search for lowest top x query and then site down with developer and provide guideline to them base on that.
I don't know any of the authors from those books.  That doesn't necessarily mean anything, but I think the reviews on some of those are telling, however.  I am totally biased, as I have built my T-SQL foundation from Ben-Gan books, but I think his material on T-SQL is by far the best available (fyi, the query tuning chapter in Ben-Gan's book is 140 pages).  Like I said, I am totally biased in my opinion of T-SQL books, but Ben-Gan's window functions book is also a great, albeit more advanced, book on high performing T-SQL (http://www.amazon.com/Microsoft-High-Performance-Functions-Developer-Reference/dp/0735658366/)
PadawanDBA,

" high performing T-SQL (http://www.amazon.com/Microsoft-High-Performance-Functions-Developer-Reference/dp/0735658366/)'

Microsoft SQL Server 2012 High-Performance T-SQL Using Window Functions (Developer Reference)

mean call T-sQL from within Windows application and this books shows how can we make it as fast as we can ?
There were no changes to window functions in 2014, so it's all 100% valid.
tks. very good.

but one thing in mind, that book is about pure Microsoft Development platform but not java, how about java application connect using JDBC, I tried this before and I don't know how to turn it.
so that book is purely for Windows application developer on MS SQL server?
I'll have to defer to someone else on app dev in various environments, that's not really my thing.  The books I mentioned are purely T-SQL querying on MS SQL Server.
ok, tks,

so you are infrastruture side DB professional ?

as I am going to be an application DBA, I need many of this as reference.

any diff between your books and this http://www.amazon.com/gp/product/1449316409/ref=ox_sc_act_title_3?ie=UTF8&psc=1&smid=ATVPDKIKX0DER  ?
also the T-SQL query is about tuning query, any books about advance T-SQL Query tunning that make use of any special feature of SQL server 2008 R2 and afterwards that focus on the way to write T-SQL query, like parallel execution?
any advance tuning guide/books for same function but less coding on T- SQL so faster model?

any guide for parallel execution T-SQL programming guide?
sorry close very late and I am ready to buy them.