Cmdlets for IBM Cloud Data Engine

Build 24.0.9062

QueryCachingLevel Parameter (Connect-IBMCloudSQLQuery Cmdlet)

Sets the level of caching for executed queries.

Syntax

Connect-IBMCloudSQLQuery -QueryCachingLevel string

Possible Values

None, Local, Cloud

Data Type

cstr

Default Value

"Local"

Remarks

Sets the level of caching for executed queries.

LocalSetting 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.
CloudSetting 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.
NoneSetting QueryCachingLevel to None will disable the feature.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9062