d-b to index