changing 2ndary db to btree