load index to memory, than write out to cdb