9.7-9.12
// dblu 提供即时更新的接口
// 有空试用 ecshop2
o 为 discuz 的posts 表(16,100,000条记录,6个字段, 分别是fid tid invisible message subject,其中 message 和 subject 需要全文检索)创建索引的时间 65789064ms => 18.27474 个小时
o 检查分段 rebuild 是否生效
o dblu , 分段索引时,使用的sql语句,要加上 order by [primary key] ,按照 primary key 来分段和排序 ———– (取消)
o 等 posts 表的数据创建完毕,在远程服务器上再做测试修改后的DBLu
o 下午2点,讨论 cbdb 的需求
o 商品搜索项目需要接手,相关的资料需要阅读
o discuz 的 posts表需要索引的字段:
fid tid invisible message subject
o 分段搜索下的返回结果
o 当 按照beginPercent=”90″ 和 endPercent=”100″ 来更新的时候 , db.getIndex 方法取回的 resultSet 为空,需要看代码检查原因。目前怀疑是根据百分比取到的 primary key 的值所在的记录可能不存在
o 调整架构
o 取消对 schedule 中 对 limit 的处理
o 按百分比分段检索
configListFilePath=/var/DBLu/list
dataDirectory=/mnt/ramfs/DBLu/data
/home/zczhong/var/DBLu/f/localhost.wiki.page.xml
threads 表,5个字段(tid, closed, fid, displayorder, subject),其中subject做全文检索,100w条记录,用时39分钟,如果1000w的表,10%就是100w,也差不多是么长的时间