AdvancedPerlDBI.ppt

  1. 1、本文档共102页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
AdvancedPerlDBI.ppt

Advanced Perl DBI Making simple things easy and difficult things possible by Tim Bunce Topical Topics Speed Speed Speed! Handling handles and binding values Error checking and error handling Transactions Architecture and Tracing DBI for the web Bulk operations Tainting Handling LONG/BLOB data Portability Proxy power and flexible multiplex What’s planned Trimmed Topics and Tips Lack of time prevents the inclusion of ... Details of issues relating to specific databases and drivers (other than where used as examples of general issues) each driver would warrant a tutorial of its own! Non-trivial worked examples Handy DBIx::* and other DBI related modules … and anything I’d not finished implementing when this was written … But I hope you’ll agree that there’s ample information in the following 90+ slides… Tips for those attending the conference tutorial: Doodle notes from my whitterings about the ‘whys and wherefores’ on your printed copy of the slides as we go along... The DBI - What’s it all about? The Perl DBI defines and implements an interface to databases Plug-in driver modules do the database-specific work DBI provides default methods, functions, tools etc for drivers Not limited to the lowest common denominator The Perl DBI has built-in… Automatic error checking Detailed call tracing/debugging Flexible call profiling/benchmarking Designed and built for speed A picture is worth? Speed Speed Speed! What helps,what doesnt, and how to measure it Give me speed! DBI was designed for speed from day one DBI method dispatcher written in hand-crafted XS/C Dispatch to XS driver method calls is specially optimized Cached attributes returned directly by DBI dispatcher DBI overhead is generally insignificant So well talk about other speed issues instead ... Partition for speed Start at the beginning Pick the right database for the job, if you have the choice. Understand the performance issues in schema design. Application partitioning: Do What Where? Work close

文档评论(0)

2105194781 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档