14. The computer-readable storage medium of claim 6 , wherein the query execution plan is associated with a query cursor; wherein storing the first mapping in association with the query execution plan comprises associating the first mapping with the query cursor of the query execution plan; and wherein storing the second mapping in association with the query execution plan comprises associating the second mapping with the query cursor of the query execution plan.
6. A computer-readable storage medium storing one or more sequences of instructions which, when executed by one or more processors, cause: initially resolving a resource path, identified in one or more queries directed to data in a database system, to a file; compiling a query execution plan for the query; storing, in association with the query execution plan, a first mapping between the resource path and the file; detecting a change in the resource path for the file; performing a subsequent resolution in response to detecting the change in the resource path; after performing the subsequent resolution, storing, in association with the query execution plan, a second mapping based on the subsequent resolution, wherein the second mapping replaces the first mapping; before detecting the change in the resource path for the file, executing the query using the query execution plan and the first mapping; after detecting the change in the resource path for the file, executing the query using the query execution plan and the second mapping.