QueryCachingLevel
Sets the level of caching for executed queries.
Possible Values
None, Local, CloudData Type
string
Default Value
"Local"
Remarks
Sets the level of caching for executed queries.
Local | Setting QueryCachingLevel to Local will persist the query Id returned by IBM Cloud SQL Query after a query execution individually for every connection. Closing the connection will clean the cache, so that only a single connection can make use of the results. |
Cloud | Setting QueryCachingLevel to Cloud will attempt to retrieve the latest executed jobs by IBM Cloud SQL Query, and if the query being run matches with one of the recent finished jobs, a job will not be created and the result set will be retrieved directly. If CleanQueryResults is set to true (default false), then the result sets of these recent (cached) jobs will be removed. |
None | Setting QueryCachingLevel to None will disable the feature. |