《SQL应用重构》(Refactoring Sql Applications)文字版[PDF]

  • 状态: 精华资源
  • 摘要:
    出版社O'Reilly Media
  • 时间: 2012/03/09 00:11:15 发布 | 2012/03/09 14:42:08 更新
  • 分类: 图书  计算机与网络 


精华资源: 77

全部资源: 79

相关: 分享到新浪微博   转播到腾讯微博   分享到开心网   分享到人人   分享到QQ空间   订阅本资源RSS更新   美味书签  subtitle
原名Refactoring Sql Applications
出版社O'Reilly Media
书号ISBN: 9780596514976

IPB Image


What can you do when database performance doesn't meet expectations? Before you turn to expensive hardware upgrades to solve the problem, reach for this book. Refactoring SQL Applications provides a set of tested options for making code modifications to dramatically improve the way your database applications function. Backed by real-world examples, you'll find quick fixes for simple problems, in-depth answers for more complex situations, and complete solutions for applications with extensive problems.

Learn to:
Determine if and where you can expect performance gains
Apply quick fixes, such as limiting calls to the database in stored functions and procedures
Refactor tasks, such as replacing application code by a stored procedure, or replacing iterative, procedural statements with sweeping SQL statements
Refactor flow by increasing parallelism and switching business-inducted processing from synchronous to asynchronous
Refactor design using schema extensions, regular views, materialized views, partitioning, and more
Compare before and after versions of a program to ensure you get the same results once you make modifications

Refactoring SQL Applications teaches you to recognize and assess code that needs refactoring, and to understand the crucial link between refactoring and performance. If and when your application bogs down, this book will help you get it back up to speed.


Stephane Faroult
Stephane Faroult first discovered relational databases and the SQL language back in 1983. He joined Oracle France in their early days (after a brief spell with IBM and a bout of teaching at the University of Ottawa) and soon developed an interest in performance and tuning topics. After leaving Oracle in 1988, he briefly tried to reform and did a bit of operational research, but after one year, he succumbed again to relational databases. He has been continuously performing database consultancy since then, and founded RoughSea Ltd in 1998.

Pascal L'Hermite
Pascal L'Hermite has been working with relational databases in OLTP, production and development environments on Oracle Databases for the past 12 years and on Microsoft SQL Server for the past 5 years.


IPB Image


Chapter 1 Assessment
A Simple Example
Assessing Possible Gains
Chapter 2 Sanity Checks
Statistics and Data Skewness
Indexing Review
Parsing and Bind Variables
Bulk Operations
Transaction Management
Chapter 3 User Functions and Views
User-Defined Functions
Chapter 4 Testing Framework
Generating Test Data
Comparing Alternative Versions
Chapter 5 Statement Refactoring
Execution Plans and Optimizer Directives
Analyzing a Slow Query
Refactoring the Query Core
Rebuilding the Initial Query
Chapter 6 Task Refactoring
The SQL Mindset
Restructuring the Code
Chapter 7 Refactoring Flows and Databases
Reorganizing Processing
Shaking Foundations
Chapter 8 How It Works: Refactoring in Practice
Can You Look at the Database?
Queries of Death
All These Fast Queries
No Obvious Very Wrong Query
Time to Conclude
Appendix Scripts and Sample Programs
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
Chapter 7 (MySQL)
Appendix Tools
mklipsum and lipsum






(?) [公告]留口水、评论相关规则

  1. 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  2. 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  3. 勿催片。请相信驴友们对分享是富有激情的,如果确有更新版本,您一定能搜索到。
  4. 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
  5. 如果您发现自己的评论不见了,请参考以上4条。