Improve fetching data performance when cmt use online database mode of the source database