getsampleDB function

Function to sample data path