index_db function

Create indexes for an mpathsenser database