1. A solid state drive, comprising: a controller; a nonvolatile memory connected to the controller; and a host interface connected to the controller, the solid state drive being configured to: receive a query through the host interface; and execute the query, the executing of the query comprising executing a plurality of read operations, the executing of the read operations comprising: determining whether the query is time-sensitive; and when the query is not time-sensitive, executing the read operations with a data retention scan, wherein the determining of whether the query is time-sensitive comprises determining whether the query includes a requested completion interval less than a threshold interval.