Changed sql query time to seconds
Added memory usage