The Art of SQL
T**N
Sun Tzu Meets E. F. Codd; Wonderful!
Stephane Faroult has written perhaps one of the most important books on SQL and Relational Databases since the magisterial work of Dr. E.F. Codd. Faroult uniquely, and effectively, casts the sage teachings of Sun Tzu from "The Art of War" upon the sound theoretical underpinnings of Dr. Codd's "Relational Model for Database Management". And the result is a wonderful, entertaining, and insightful exposition of the critical success factors in modern relational database implementation.The writing is wonderful, and stunningly clear. A word of caution is necessary, though. Faroult is obviously a brilliant and experienced expert. Some of his work reflected in the corpus of this text is what we could rightly call deep and heavy. It requires serious and thoughtful contemplation. This is not a book to be read quickly. Rather, it is an important work to be studied carefully and referred to often.There were many aspects of this excellent book that I enjoyed a great deal. His initial chapter on "Laying Plans", Designing Databases for Performance, is one of the best single chapters I've ever read in a technical book. And his final chapter, "Employment of Spies", Monitoring for Performance, was also great. I personally savored Faroult's sage teaching that a sound relational design was the factor most dispositive of success in making modern databases work as described in the first chapter. But I was absolutely delighted that Faroult both headed his final chapter with a quote from the Gospel according to Saint John and included the value of syllogistic logic in his excellent arguments in this final chapter.In short, the book is great. Faroult is much to be applauded for this excellent work. His book should occupy an honored place in the library of any professional seriously involved in SQL development and design. God bless.
M**D
This is your graduate level course in SQL - how and why
Probably most database solution developers and DBAs have picked up their knowledge of the subject as they have needed it, rather than in a formal and structured (so to speak) method. And even those that have had a structured education probably learned a lot more while in the field. And so there are always gaps. Gaps in technique, but also gaps in the why of many things that I, for example, took for granted about large DBMS's and SQL.This book handily fills in those gaps. It assumes a moderate to advanced foundation in SQL and DBMS, and then takes off from there.It is mostly prose with some code and SQL sprinkled throughout, but if you have a foundation, you can flesh out the technique. It is like listening to a graduate level lecture. It is distilled wisdom more than How To, and the more you bring to the material, the more you will get from it. And every page is rich with information. I don't feel like I have wasted my time on any one page, as I often do in the how to manuals.Definitely an advanced piece.
O**1
Lots of food for thought
I haven't yet put any of this book's ideas into practice, but they address real problems I've run into. That in itself makes this book different from the many other database books I've seen, which focus just on introductory stuff.
Z**H
Recommended for those who want to understand more than basic syntax once past The Art of War theme.
I was pleasantly surprised by the content of this book. I was at first concerned about how it is themed after The Art of War, but the material really builds on my basic knowledge of MySQL and I find it very educational. Now I understand why it has kept its resale value in the used bookstores. Recommended.
E**U
i felt like there was a lot of fluff and nothing super ...
meh - i didnt get that much out of it. but i guess the book may not be right for someone at my level. i have 2 years experience in SQL and i was looking for something that will teach me more complex methods such as CTE, temp tables, and recursion. i felt like there was a lot of fluff and nothing super concrete. maybe i need more years of experience to appreciate it or maybe it's just not that insightful.
O**R
Most Unusual Technical Book
Imagine a cookbook with no recipes but after you read it it helps to become a better cook. This book does not specifically tells what to do. It does not have codes or technical jargon. It gives you an understanding. The book reads well, it is not full of technical references but it is not to say this book is for someone who does not know the workings of a DBMS. The author draws a relevant parallel between designing a database and waging a war. I enjoyed the quotes thoughtfully peppered in the book. Do me a favor and do not get it...in case we are going after the same job
S**D
A gem
The rare book on SQL that goes beyond what we've already figured out by hard knocks. The author has a wonderful mix of theory and practice, and shows how procedural realities affect the relational ideals of data access in a relational database.The chapter on nested data structures is so clear that it makes the topic seem self-evident, so, while simplified, you get a solid picture of what's happening before having to 'attack' an overly-messy real-world project.It truly makes a developer using SQL feel like s/he has the upper hand, the inside track, and the secret touch!
M**L
An excellent book to read after you think you know databases
This is a book in a somewhat-similar vein to Effective C++: 55 Specific Ways to Improve Your Programs and Designs (3rd Edition) (Addison-Wesley Professional Computing Series) : it spends most of its time shining light on the dark nooks and crannies of database design and query optimization, and assumes that you've already at least learned that those dark nooks and crannies exist.It is also written with the database programmer in mind, rather than the database administrator. There are not many books written for us, and I'm really pleased that one of them is a book this excellent.
A**A
Ottimo libro ma non per principianti.
Ottimo libro che permette di acquisire una più ampia visione dei database relazionali sia in fase di modellazione che di ottimizzazione delle queries. A mio parere per comprendere il valore dei suggerimenti dell'autore è necessario avere già un'esperienza concreta con un database relazionale.
J**E
Legendary book.
This books is mostly filled with Oracle examples, but the ideas presented are applicable to other RDBM's too. It presents you SQL in a way no other book does.
G**E
Superb
One of the best Sql books books available -still very relevant in 2011 - i have read this book many times - the author writes using superb entertaining battle analogies to aid understandin of very complex topics. Enjoyable and illuminating - Most sql books are too simplistic and therefore very boring not this one - also very practical.
N**E
Une méthode claire orientée vers l'action : indispensable
Plutôt que de lister et décrire les innombrables compteurs de performance, Stéphane Faroult présente ce qui manque à beaucoup d'intervenants intéressés par les temps de réponses d''une base de donnée : une méthode.Nombreux sont les spécialistes qui disposent d'une solide connaissances des mécanismes internes d''un SGBDR. Mais quand la mer est mauvaise (rough sea), quand les réunions de crises deviennent électriques, il faut plus qu''une connaissance encyclopédique. Car rien n''agace plus les responsables d''un projet que les querelles d''experts. Stéphane est de ceux dont l''autorité apaise les réunions.Les principes qu''il présente dans son « Art du SQL » et dans son "Refactoring SQL Applications" sont ceux qui prévalent dans l''art de la guerre que livrent au quotidien DBAs et développeurs face à l''explosion des volumes, au code improbable livré en catastrophe à l''époque mais qui depuis n'a cessé d'être copié/collés, aux requêtes générées à la volé par les progiciels et qu''on ne peut pas modifier, à la distance irréconciliable entre logique ensembliste du relationnel et programmation objet avec ses méthodes unitaires, ..'.Au-delà, préparer la guerre, ie. intégrer cette dimension performance au plus tôt dans la conception du projet, c'est le meilleur moyen de garantir la paix. Et cela est d'autant plus nécessaire que les problèmes de performances naissent souvent d'erreur de conception : en ce sens, penser les performances c'est également s'interroger sur la fidélité de la représentation électronique du monde réél : la garantie de l'unicité, l'estimation des cardinalités ou le contrôle d'intégrité en sont de bon exemples.Les principes énoncés nous ramènent souvent au bon sens, celui qui peut disparaître sous la complexité d''un système d''information. Et c'est la marque des gens qui ont les idées claires que de distinguer l''essentiel de l''accessoire, l''information utile parmi le bruit.Enfin, Stéphane ne se départi jamais de son humour, so british, et c''est un réel bonheur que de lire ou de relire son Art of SQLLe livre a rencontré un succès international et c''est amplement mérité.
P**R
This is an excellent book which teaches how to write efficient SQL code ...
This is an excellent book which teaches how to write efficient SQL code from the outset rather than performance tuning afterwards.
Trustpilot
3 weeks ago
1 month ago