The Art of SQL (Paperback)

Stephane Faroult, Peter Robson

  • 出版商: O'Reilly
  • 出版日期: 2006-04-18
  • 定價: $1,820
  • 售價: 9.0$1,638
  • 語言: 英文
  • 頁數: 372
  • 裝訂: Paperback
  • ISBN: 0596008945
  • ISBN-13: 9780596008949
  • 相關分類: SQL
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

Description  

Enterprises throughout the world are confronted with exploding volumes of data, and many IT departments are looking for quick solutions. This insightful book demonstrates that since SQL code may run for 5 to 10 years, and run on different hardware, it must be fast and sound from the start. Expert authors Stephane Faroult and Peter Robson offer SQL best practices and relational theory that force you to focus on strategy rather than specifics.

For all the buzz about trendy IT techniques, data processing is still at the core of our systems, especially now that enterprises all over the world are confronted with exploding volumes of data. Database performance has become a major headache, and most IT departments believe that developers should provide simple SQL code to solve immediate problems and let DBAs tune any "bad SQL" later.


In The Art of SQL, author and SQL expert Stephane Faroult argues that this "safe approach" only leads to disaster. His insightful book, named after Art of War by Sun Tzu, contends that writing quick inefficient code is sweeping the dirt under the rug. SQL code may run for 5 to 10 years, surviving several major releases of the database management system and on several generations of hardware. The code must be fast and sound from the start, and that requires a firm understanding of SQL and relational theory.

 


The Art of SQL offers best practices that teach experienced SQL users to focus on strategy rather than specifics. Faroult's approach takes a page from Sun Tzu's classic treatise by viewing database design as a military campaign. You need knowledge, skills, and talent. Talent can't be taught, but every strategist from Sun Tzu to modern-day generals believed that it can be nurtured through the experience of others. They passed on their experience acquired in the field through basic principles that served as guiding stars amid the sound and fury of battle. This is what Faroult does with SQL.

 


Like a successful battle plan, good architectural choices are based on contingencies. What if the volume of this or that table increases unexpectedly? What if, following a merger, the number of users doubles? What if you want to keep several years of data online? Faroult's way of looking at SQL performance may be unconventional and unique, but he's deadly serious about writing good SQL and using SQL well. The Art of SQL is not a cookbook, listing problems and giving recipes. The aim is to get you-and your manager-to raise good questions.

 

商品描述(中文翻譯)

描述
全球企業面臨爆炸性的數據量增長,許多IT部門正在尋找快速解決方案。這本富有洞察力的書籍證明,由於SQL代碼可能運行5到10年,並在不同的硬件上運行,因此必須從一開始就快速且可靠。專家作者Stephane Faroult和Peter Robson提供了SQL最佳實踐和關聯理論,迫使您專注於策略而不是細節。

儘管有關時尚IT技術的熱烈討論,數據處理仍然是我們系統的核心,尤其是現在全球企業面臨爆炸性的數據量增長。數據庫性能已成為一個主要問題,大多數IT部門認為開發人員應提供簡單的SQL代碼來解決即時問題,並讓DBA稍後調整任何“不良SQL”。

在《SQL的藝術》中,作者和SQL專家Stephane Faroult認為這種“安全方法”只會導致災難。他的富有洞察力的書籍以孫子兵法為名,認為編寫快速而低效的代碼只是把灰塵掃到地毯下。SQL代碼可能運行5到10年,經歷數據庫管理系統的幾個重大版本和幾代硬件。代碼必須從一開始就快速且可靠,這需要對SQL和關聯理論有牢固的理解。

《SQL的藝術》提供了最佳實踐,教導有經驗的SQL用戶專注於策略而不是細節。Faroult的方法借鑒了孫子兵法的經典著作,將數據庫設計視為一場軍事行動。您需要知識、技能和才能。才能無法教授,但從孫子到現代將軍,每一位戰略家都相信通過他人的經驗可以培養出來。他們通過基本原則將他們在戰場上獲得的經驗傳授給後人,這些原則在戰鬥的聲音和激情中成為指引之星。這就是Faroult在SQL中所做的。

就像一個成功的戰略計劃一樣,良好的架構選擇是基於應變的。如果這個或那個表的數量意外增加怎麼辦?如果在合併後,用戶數量翻倍怎麼辦?如果您想保留幾年的數據在線怎麼辦?Faroult對SQL性能的看法可能不尋常和獨特,但他對編寫良好的SQL和有效使用SQL非常認真。《SQL的藝術》不是一本列出問題並提供解決方案的食譜。目的是讓您和您的經理提出好問題。