QueryCachingLevel Parameter (Connect-IBMCloudSQLQuery Cmdlet)
Sets the level of caching for executed queries.
Syntax
Connect-IBMCloudSQLQuery -QueryCachingLevel string
Possible Values
None, Local, CloudData Type
cstr
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 Data Engine 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 Data Engine, 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. |