[PerlChina] 关于Class::DBI, DBIx::Class, Rose::DB::Object

joe jiang lamp.purl at gmail.com
Thu Oct 23 20:28:36 PDT 2008


个人认为脱离具体的 Database 谈论 interface 的性能是不够全面的。
其实还是看它们这些 interface 生成的 SQL 在特定 DB 产品中的优化程度。
不能单单谈论这些 Object-Relation mapping 的 quality,
因为每个 ORM 都很难覆盖众多的习惯。

for oracle you need to check v$sql_plan for the join & using of index,
and check v$mystat for the accumulation of physical reads by SQL
using more free but advanced feature to improve memory usage...
all these go beyond the thin layer of ORM :)

On 五, 2008-10-24 at 11:07 +0800, 黄叶 wrote:
> 我一直在用DBIx::Class, 文档里写了这个不是为performance准备的东西。
> 和我的同事也讨论过这个问题。他也认为performance不好。
> 本来想是不是Class::DBI的好些,但是没用过,不敢确认。昨天晚上看到有个老
> 外写的VS ,
> 他说Rose::DB::Object的performance好很多。
> 不知道有哪位用过。
> 能不能介绍一下?
> 
> _______________________________________________
> China-pm mailing list
> China-pm at pm.org
> http://mail.pm.org/mailman/listinfo/china-pm



More information about the China-pm mailing list