db: changed query log format: now each row is subarray consisting all relevant information