Ticket #1 (assigned enhancement) — at Version 5
数据库优化
| Reported by: | chenchongqi | Owned by: | chenyinle |
|---|---|---|---|
| Priority: | major | Milestone: | 2011年第一阶段提交 |
| Component: | 商家后台 | Version: | 5.0 |
| Keywords: | 数据库优化,表拆分 | Cc: | |
| Due Date: |
Description (last modified by chenchongqi) (diff)
对商品表访问频繁的业务操作,如批量更新、报价、上下架,针对性在数据库中把表分拆,提高性能,减少锁冲突。
此优化与即将开始的批量报价功能关系密切,如果没有数据库方面的优化,预计数据库服务器负担进一步加重,锁冲突将更加密集。
如果时间允许,把商家和商品的状态也抽出来,例如允许在首页出现,允许在产品库出现等等,各个使用的地方就直接根据这些状态来判断,各种规则的影响也只是影响这些状态,这样避免某种规则变化的时候,全部的sql都要改,这部分有时间才优化。
Change History
Note: See
TracTickets for help on using
tickets.
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/global/2008/images/jss/m_logo091125.jpg)