in reply to DBI Queries take half an hour

hi try by inserting indexes for both the columns that you are fetching so that it will fetch the data's from data base quickly