Parameters¶
Snowflake provides parameters that let you control the behavior of your account, individual user sessions, and objects. All parameters have default values. You can set these parameters and override them at different levels, depending on the parameter type (account, session, or object).
Parameter hierarchy and types¶
This section describes the different types of parameters and the levels at which each type can be set. There are three types of parameters:
The following diagram illustrates the hierarchical relationship between the different parameter types and how individual parameters can be overridden at each level:

Account parameters¶
You can only set account parameters at the account level, if you are using a role that has been granted the privilege to set the parameter. To set an account parameter, you run the ALTER ACCOUNT command.
Snowflake provides the following account parameters:
| Parameter | Notes |
|---|---|
| ACCOUNT_LEVEL_FILE_EXTENSIONS_ALLOW_LIST_FOR_PRIVATE_WORKSPACES | Used to specify the file extensions allowed in private workspaces for the account. |
| ACCOUNT_LEVEL_FILE_EXTENSIONS_ALLOW_LIST_FOR_SHARED_WORKSPACES | Used to specify the file extensions allowed in shared workspaces for the account. |
| ALLOW_BIND_VALUES_ACCESS | Used to allow clients to access bind variable values. |
| ALLOW_CLIENT_MFA_CACHING | Used to enable Multi-Factor Authentication (MFA) token caching for Snowflake-provided clients. |
| ALLOW_ID_TOKEN | Used to enable connection caching in browser-based single sign-on (SSO) for Snowflake-provided clients. |
| ALLOWED_SPCS_WORKLOAD_TYPES | Used to specify the workload types that are allowed in your account to deploy to Snowpark Container Services. |
| CLIENT_ENCRYPTION_KEY_SIZE | Used for encryption of files staged for data loading or unloading; might require additional installation and configuration (see description for details). |
| COCO_CLOUD_AGENTS_NON_SNOWFLAKE_EGRESS_DISABLED | Used to disable non-Snowflake network egress from the Cortex Code Cloud Agents sandbox for the account. |
| COCO_SNOWSIGHT_ALLOW_ALL_PERMISSION_OPTIONS_DISABLED | Used to disable allow-all permission options and Bypass approvals for tool calls in Cortex Code in Snowsight. |
| CORTEX_ENABLED_CROSS_REGION | Used to enable cross-region processing of Snowflake Cortex calls in a different region if the call cannot be processed in your account region. |
| DEFAULT_DBT_VERSION | Used to set the default version for all future dbt project objects created in an account. |
| DISABLE_USER_PRIVILEGE_GRANTS | Used to disable granting of privileges directly to users. For more information, see GRANT privileges to USERS Usage notes. |
| DISALLOWED_SPCS_WORKLOAD_TYPES | Used to specify the workload types that are disallowed in your account to deploy to Snowpark Container Services. |
| ENABLE_AUTOMATIC_SENSITIVE_DATA_CLASSIFICATION_LOG | Controls whether events from sensitive data classification are logged to the user event table. |
| ENABLE_BUDGET_EVENT_LOGGING | Controls whether events from budgets are logged to the event table. |
| ENABLE_DUAL_STACK_LOAD_BALANCER | Enables IPv6 ingress by adding dual-stack (IPv4 + IPv6) endpoints for the account (AWS only). |
| ENABLE_EGRESS_COST_OPTIMIZER | Used to enable or disable listing auto-fulfillment egress cost optimization. |
| ENABLE_IDENTIFIER_FIRST_LOGIN | |
| ENABLE_INTERNAL_STAGES_PRIVATELINK | Allows the SYSTEM$GET_PRIVATELINK_CONFIG function to return the private-internal-stages key in the query result. |
| ENABLE_SNOWFLAKE_MANAGED_STORAGE_VOLUME_PRIVATELINK | Allows the SYSTEM$GET_PRIVATELINK_CONFIG function to return the privatelink-snowflake-managed-storage-volume-nfs and privatelink-snowflake-managed-storage-volume-fs keys in the query result on Azure deployments. |
| ENABLE_NOTEBOOK_CREATION_IN_PERSONAL_DB | Used to enable or disable private notebooks on a Snowflake account. |
| ENABLE_SPCS_BLOCK_STORAGE_SNOWFLAKE_FULL_ENCRYPTION_ENFORCEMENT | Used to enable enforcement of SNOWFLAKE_FULL encryption for Snowpark Container Services block-storage volumes and snapshots. |
| ENABLE_TAG_PROPAGATION_EVENT_LOGGING | Controls whether Snowflake collects telemetry data for tag propagation. |
| ENABLE_TRI_SECRET_AND_REKEY_OPT_OUT_FOR_IMAGE_REPOSITORY | Used to specify an image repository’s choice to opt out of Tri-Secret Secure and Periodic rekeying. |
| ENABLE_WORKSPACE_FILE_CONTENT_SEARCH | Controls whether Universal Search indexes the contents of workspace files, enabling it to search within workspace files, return more complete results, and better rank them by relevance. |
| ENFORCE_NETWORK_RULES_FOR_INTERNAL_STAGES | |
| ENFORCE_NETWORK_RULES_FOR_SNOWFLAKE_MANAGED_STORAGE_VOLUME | |
| ENFORCE_TAG_PROPAGATION_FOR_DATA_MOVEMENT_POLICIES | Controls whether tags with a data movement policy attached are required to have their propagation level set to ON_DEPENDENCY_AND_DATA_MOVEMENT. |
| EXTERNAL_OAUTH_ADD_PRIVILEGED_ROLES_TO_BLOCKED_LIST | |
| INITIAL_REPLICATION_SIZE_LIMIT_IN_TB | |
| LISTING_AUTO_FULFILLMENT_INITIAL_REFRESH_SIZE_LIMIT_IN_TB | Used to set the maximum size limit for the initial refresh of a listing data product for Cross-Cloud Auto-Fulfillment. |
| LISTING_AUTO_FULFILLMENT_REPLICATION_REFRESH_SCHEDULE | Used to set the refresh schedule for all listings in an account. |
| MAP_SCIM_USERNAME_TO_ENTERPRISE_ATTR | Controls how SCIM user attributes map to the Snowflake NAME and LOGIN_NAME properties. |
| MIN_DATA_RETENTION_TIME_IN_DAYS | Used to set the minimum data retention period for retaining historical data for Time Travel operations. |
| NETWORK_POLICY | This is the only account parameter that can be set by either account administrators (that is, users with the ACCOUNTADMIN system role) or security administrators (that is, users with the SECURITYADMIN system role). For more information, see Object parameters. |
| OAUTH_ADD_PRIVILEGED_ROLES_TO_BLOCKED_LIST | |
| PERIODIC_DATA_REKEYING | |
| READ_CONSISTENCY_MODE | |
| REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_CREATION | |
| REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_OPERATION | |
| SQL_TRACE_QUERY_TEXT | Used to specify whether to capture the SQL text of a traced SQL statement. |
| SSO_LOGIN_PAGE | |
| USE_WORKSPACES_FOR_SQL | Used to enable or disable Workspaces as the default SQL editor for the account. |
Note
By default, account parameters are not displayed in the output of SHOW PARAMETERS. For information about viewing account parameters, see Viewing the Parameters and Their Values (in this topic).
Session parameters¶
Most parameters are session parameters, which you can set at the following levels:
- Account:
Account administrators can run the ALTER ACCOUNT command to set session parameters for the account.
The values that you set at this level become the default values for individual users and their sessions.
- User:
Administrators with the appropriate privileges (typically, a user who has been granted the SECURITYADMIN role) can run the ALTER USER command to override session parameters for individual users. In addition, individual users can run the ALTER USER command to override default session parameters for themselves.
The values that you set for a user become the default values in any session started by that user.
- Session:
Users can run the ALTER SESSION command to override session parameters for the current session.
Note
By default, only session parameters are displayed in the output of SHOW PARAMETERS. For information about viewing account and object parameters, see Viewing the Parameters and Their Values (in this topic).
Object parameters¶
You can set object parameters at the following levels:
- Account:
Account administrators can run the ALTER ACCOUNT command to set object parameters for objects in the account.
The values that you set at this level become the default values for individual objects created in the account.
- Object:
Users with the appropriate privileges can run the CREATE <object> or ALTER <object> commands to override object parameters for an individual object.
Snowflake provides the following object parameters:
| Parameter | Object Type | Notes |
|---|---|---|
| AUTO_EVENT_LOGGING | Snowflake Scripting stored procedure | |
| BASE_LOCATION_PREFIX | Database, Schema | Specifies a prefix to use in the write path for Apache Iceberg™ table files. |
| CATALOG | Database, Schema, Apache Iceberg™ table | |
| CATALOG_SYNC | Account, Database, Schema, Apache Iceberg™ table | This parameter is only supported for Snowflake-managed Iceberg tables that you sync with Open Catalog. |
| CORTEX_CODE_CLI_DAILY_EST_CREDIT_LIMIT_PER_USER | User | Sets a daily estimated credit usage limit per user for Cortex Code CLI. |
| CORTEX_CODE_DESKTOP_DAILY_EST_CREDIT_LIMIT_PER_USER | User | Sets a daily estimated credit usage limit per user for Cortex Code Desktop. |
| CORTEX_CODE_SNOWSIGHT_DAILY_EST_CREDIT_LIMIT_PER_USER | User | Sets a daily estimated credit usage limit per user for Cortex Code in Snowsight. |
| CORTEX_MODELS_ALLOWLIST | Cortex AI Functions and models | Comma-separated names of allowed Cortex language models, 'All', or 'None'. |
| DATA_METRIC_SCHEDULE | Table | Specifies the schedule to run the data metric functions associated to the table. All data metric functions on the table or view follow the same schedule. |
| DATA_RETENTION_TIME_IN_DAYS | Database, Schema, Table | |
| DEFAULT_DDL_COLLATION | Database, Schema, Table | |
| DEFAULT_METADATA_WRITE_FORMAT | Account, Database, Schema | Sets the default metadata write format for CREATE TABLE and ALTER TABLE. For more information, see Configure Iceberg as the default metadata format for tables. |
| DEFAULT_NOTEBOOK_COMPUTE_POOL_CPU | Database, Schema | System compute pools |
| DEFAULT_NOTEBOOK_COMPUTE_POOL_GPU | Database, Schema | System compute pools |
| DEFAULT_STREAMLIT_COMPUTE_POOL | Account | Configuring your own preferred compute pools for Streamlit apps |
| DEFAULT_STREAMLIT_NOTEBOOK_WAREHOUSE | Account, Database, Schema | |
| DISABLE_UI_DOWNLOAD_BUTTON | Account, User | |
| ENABLE_DATA_COMPACTION | Account, Database, Schema, Apache Iceberg™ table | This parameter is only supported for Snowflake-managed Iceberg tables. |
| ENABLE_ICEBERG_MERGE_ON_READ | Account, Database, Schema, Apache Iceberg™ table | |
| ENABLE_UNREDACTED_QUERY_SYNTAX_ERROR | User | Affects the query history for queries that fail because of syntax or parsing errors. |
| ENABLE_UNREDACTED_SECURE_OBJECT_ERROR | User | Affects redaction of error messages related to secure objects in metadata. |
| EVENT_TABLE | Database, Account | |
| EXTERNAL_VOLUME | Database, Schema, Apache Iceberg™ table | |
| ICEBERG_DEFAULT_DDL_COLLATION | Account, Database, Schema, Table | Sets the default collation for new string columns on Snowflake-managed Iceberg tables. |
| ICEBERG_TIMESTAMP_DEFAULT_PRECISION | Session | Specifies the default precision for Apache Iceberg™ timestamp columns when no precision is specified in DDL. |
| ICEBERG_VERSION | Apache Iceberg™ table | |
| ICEBERG_VERSION_DEFAULT | Account, Database, Schema | |
| LOG_LEVEL | Account, Database, Schema, DCM project, Stored Procedure, Function, Dynamic Table, Iceberg table, Task, Service. | Log messages from logging APIs. |
| LOG_EVENT_LEVEL | Account, Database, Schema, DCM project, Stored Procedure, Function, Dynamic Table, Iceberg table, Task, Service. | Log events (record type EVENT) written to the event table. |
| MAX_CONCURRENCY_LEVEL | Warehouse | |
| MAX_DATA_EXTENSION_TIME_IN_DAYS | Database, Schema, Table | |
| METRIC_LEVEL | Account, Database, Schema, Stored Procedure, Function | |
| NETWORK_POLICY | User | This is the only user parameter that can be set by either account administrators (users with the ACCOUNTADMIN system role) or security administrators (users with the SECURITYADMIN system role). If this parameter is set on the account and a user in the same account, the user-level network policy overrides the account-level network policy. |
| OAUTH_AUTHORIZATION_SERVER | Account, Database, Schema | Specifies the name of an External OAuth security integration to use as the authorization server for MCP server Protected Resource Metadata discovery and token enforcement. |
| OAUTH_SCOPES_SUPPORTED | Account, Database, Schema | Specifies a comma-separated list of OAuth scopes advertised in MCP server Protected Resource Metadata. |
| PATH_LAYOUT | Apache Iceberg™ table | Specifies the path layout for Parquet data files written to partitioned Iceberg tables. |
| PURGE_ON_DROP_TABLE | Database, Schema, Apache Iceberg™ table | When set to TRUE on a catalog-linked database, schema, or table, automatically forwards the purge intent to the external catalog whenever the table is dropped. Applies only to externally managed Iceberg tables in a catalog-linked database. |
| PIPE_EXECUTION_PAUSED | Schema, Pipe | |
| PREVENT_UNLOAD_TO_INLINE_URL | User | |
| PREVENT_UNLOAD_TO_INTERNAL_STAGES | User | |
| REPLACE_INVALID_CHARACTERS | Database, Schema, file format, Apache Iceberg™ table | Can only be set for Iceberg tables that use an external Iceberg catalog. |
| ROW_TIMESTAMP | Database, Schema, Table | Use this parameter to enable row timestamps on your tables. For more information, see Use row timestamps to measure latency in your pipelines. |
| ROW_TIMESTAMP_DEFAULT | Database, Schema, Table | Use this parameter to set row timestamps by default for new tables in a container. For more information, see Use row timestamps to measure latency in your pipelines. |
| SERVERLESS_TASK_MAX_STATEMENT_SIZE | Database, Schema, Task, Account | |
| SERVERLESS_TASK_MIN_STATEMENT_SIZE | Database, Schema, Task, Account | |
| SERVICE_CALLER_TOKEN_VALIDITY_SECS | Account, Database, Schema, Service | Controls how long a caller’s rights login token is valid for Snowpark Container Services. |
| STATEMENT_QUEUED_TIMEOUT_IN_SECONDS | Warehouse | Also a session parameter (can be set at both the object and session levels). For inheritance and override details, see the parameter description. |
| STATEMENT_TIMEOUT_IN_SECONDS | Warehouse | Also a session parameter (can be set at both the object and session levels). For inheritance and override details, see the parameter description. |
| STORAGE_SERIALIZATION_POLICY | Database, Schema, Apache Iceberg™ table | This parameter is only supported for Iceberg tables that use Snowflake as the catalog. |
| SUSPEND_ALERT_AFTER_NUM_FAILURES | Account, Database, Schema, Alert | |
| SUSPEND_TASK_AFTER_NUM_FAILURES | Database, Schema, Task | |
| TASK_AUTO_RETRY_ATTEMPTS | Database, Schema, Task | |
| TRACE_LEVEL | Account, Database, Schema, Stored Procedure, Function | |
| USER_TASK_MANAGED_INITIAL_WAREHOUSE_SIZE | Database, Schema, Task | |
| USER_TASK_MINIMUM_TRIGGER_INTERVAL_IN_SECONDS | Database, Schema, Task | |
| USER_TASK_TIMEOUT_MS | Database, Schema, Task |
Note
By default, object parameters are not displayed in the output of SHOW PARAMETERS. For information about viewing object parameters, see Viewing the Parameters and Their Values (in this topic).
Viewing the parameters and their values¶
To view the parameters that are set and their default values, run the SHOW PARAMETERS command. You can run the command with different command parameters to display different types of parameter:
- Viewing session parameters
- Viewing object parameters
- Viewing all parameters (including account and object parameters)
- Limiting the list of parameters by name
Viewing session parameters¶
By default, the command displays only session parameters:
Viewing object parameters¶
To display the object parameters for a specific object, include the IN clause with the object type and name. For example:
Viewing all parameters (including account and object parameters)¶
To display all parameters, including account and object parameters, include the IN ACCOUNT clause:
Limiting the list of parameters by name¶
You can specify the LIKE clause to limit the list of parameters by name. For example:
-
To display the session parameters with names containing “time”:
-
To display all the parameters with names starting with “time”:
Note
You must specify the LIKE clause before the IN clause.
ABORT_ DETACHED_ QUERY¶
- Type:
Session — Can be set for Account » User » Session
- Data Type:
Boolean
- Description:
Specifies the action that Snowflake performs for in-progress queries if connectivity is lost due to abrupt termination of a session (e.g. network outage, browser termination, service interruption).
- Values:
TRUE: In-progress queries are aborted 5 minutes after connectivity is lost.FALSE: In-progress queries are completed.- Default:
FALSE
Note
-
For client drivers, closing the connection from the client side (such as calling
connection.close()) is different from actually logging out from the Snowflake session. Closing the connection can be associated with cleaning up resources owned by the connection, including but not limited to performing a session logout. Performing a session logout also implies that any queries still running in the same session (for example, queries submitted asynchronously) are canceled after a couple of minutes when the session is logged out, even if the ABORT_DETACHED_QUERY parameter is set tofalse(the default value).Therefore, some Snowflake drivers implement their own business logic to decide whether session logout is performed when the connection is closed.
Currently, this functionality is implemented in the following drivers:
-
Most queries require compute resources in order to be executed. These resources are provided by virtual warehouses, which consume credits while running. If the Snowflake session is not terminated when the connection closes, warehouses might continue running and consuming credits to complete any queries that were in progress at the time the connection was closed, up to the value of the STATEMENT_TIMEOUT_IN_SECONDS parameter, which has a default of two days.
ACTIVE_ PYTHON_ PROFILER¶
- Type:
Session — Can be set for Account » User » Session
- Data Type:
String (Constant)
- Description:
Sets the profiler to use for the session when profiling Python handler code.
- Values:
'LINE': To have the profile focus on line use activity.'MEMORY': To have the profile focus on memory use activity.- Default:
None.
ACCOUNT_ LEVEL_ FILE_ EXTENSIONS_ ALLOW_ LIST_ FOR_ PRIVATE_ WORKSPACES¶
- Type:
Account — Can be set only for Account
- Data Type:
String
- Description:
Specifies the file extensions that are allowed in private workspaces for the account. The value is a comma-separated list of extensions, for example:
.ipynb,.sql,.txt. If the parameter is empty (default), all file extensions are allowed.When the allow list is non-empty:
- Only the listed extensions are permitted; all others are blocked.
- Files uploaded through Workspaces with a non-allowed extension will immediately fail to upload.
- If a file is renamed to use a non-allowed extension, the file becomes inaccessible within the workspace.
- Pre-existing files with disallowed extensions will not appear in Workspaces.
- Users can still use the Snowflake CLI
PUTcommand to upload files with non-allowed extensions to a workspace’s virtual stage or a Notebook Project Object’s virtual stage. However, these files are inaccessible and cannot be used, viewed, downloaded (viaGET), or listed (viaLIST) from within the workspace or Code Bundle environment. - To maintain core workspace functionality, include
.ipynband.sqlin the allow list. - Files without an extension (for example,
Makefile) are not allowed once the list is non-empty. - Dotfiles (for example,
.gitignoreor.venv) must be explicitly added to the list. - Extension matching is case-sensitive. For example, if
.txtis in the list,.TXTis not allowed.
- Default:
Empty string (all extensions allowed)
ACCOUNT_ LEVEL_ FILE_ EXTENSIONS_ ALLOW_ LIST_ FOR_ SHARED_ WORKSPACES¶
- Type:
Account — Can be set only for Account
- Data Type:
String
- Description:
Specifies the file extensions that are allowed in shared workspaces for the account. The value is a comma-separated list of extensions, for example:
.ipynb,.sql,.txt. If the parameter is empty (default), all file extensions are allowed.When the allow list is non-empty:
- Only the listed extensions are permitted; all others are blocked.
- Files uploaded through Workspaces with a non-allowed extension will immediately fail to upload.
- If a file is renamed to use a non-allowed extension, the file becomes inaccessible within the workspace.
- Pre-existing files with disallowed extensions will not appear in Workspaces.
- Users can still use the Snowflake CLI
PUTcommand to upload files with non-allowed extensions to a workspace’s virtual stage or a Notebook Project Object’s virtual stage. However, these files are inaccessible and cannot be used, viewed, downloaded (viaGET), or listed (viaLIST) from within the workspace or Code Bundle environment. - To maintain core workspace functionality, include
.ipynband.sqlin the allow list. - Files without an extension (for example,
Makefile) are not allowed once the list is non-empty. - Dotfiles (for example,
.gitignoreor.venv) must be explicitly added to the list. - Extension matching is case-sensitive. For example, if
.txtis in the list,.TXTis not allowed. - Files with disallowed extensions that originate from a connected Git repository are visible to the user but remain inaccessible within the workspace.
- Default:
Empty string (all extensions allowed)
ALLOW_ BIND_ VALUES_ ACCESS¶
- Type:
Account — Can only be set for Account
- Data Type:
Boolean
- Description:
Specifies whether clients can access bind variable values by using the BIND_VALUES table function, the QUERY_HISTORY Account Usage view, the QUERY_HISTORY Organization Usage view, or the QUERY_HISTORY function. For more information, see Retrieve bind variable values.
- Values:
TRUE: Allows the retrieval of bind variable values.FALSE: Doesn’t allow retrieval of bind variable values.- Default:
TRUE
ALLOW_ CLIENT_ MFA_ CACHING¶
- Type:
Account — Can only be set for Account
- Data Type:
Boolean
- Description:
Specifies whether an MFA token can be saved in the client-side operating system keystore to promote continuous, secure connectivity without users needing to respond to an MFA prompt at the start of each connection attempt to Snowflake. For details and the list of supported Snowflake-provided clients, see Using MFA token caching to minimize the number of prompts during authentication — *optional*.
- Values:
TRUE: Stores an MFA token in the client-side operating system keystore to enable the client application to use the MFA token whenever a new connection is established. While true, users are not prompted to respond to additional MFA prompts.FALSE: Does not store an MFA token. Users must respond to an MFA prompt whenever the client application establishes a new connection with Snowflake.- Default:
FALSE
ALLOW_ ID_ TOKEN¶
- Type:
Account — Can be set only for Account
- Data Type:
Boolean
- Description:
Specifies whether a connection token can be saved in the client-side operating system keystore to promote continuous, secure connectivity without users needing to enter login credentials at the start of each connection attempt to Snowflake. For details and the list of supported Snowflake-provided clients, see Using connection caching to minimize the number of prompts for authentication — *Optional*.
- Values:
TRUE: Stores a connection token in the client-side operating system keystore to enable the client application to perform browser-based SSO without prompting users to authenticate whenever a new connection is established.FALSE: Does not store a connection token. Users are prompted to authenticate whenever the client application establishes a new connection with Snowflake. SSO to Snowflake is still possible if this parameter is set to false.- Default:
FALSE
ALLOWED_ SPCS_ WORKLOAD_ TYPES¶
- Type:
Account — Can be set only for Account
- Data Type:
String
- Description:
Specifies the workload types that are allowed in your account to deploy to Snowpark Container Services. Also see DISALLOWED_SPCS_WORKLOAD_TYPES.
- Values:
The value is a comma-separated list of the following supported workload types:
USER: Any workloads directly deployed by users.NOTEBOOK: Snowflake Notebooks.STREAMLIT: Streamlit in Snowflake.MODEL_SERVING: ML Model Serving.ML_JOB: Snowflake ML Jobs.ALL: All workloads.
- Default:
ALL
Note
If you configure both ALLOWED_SPCS_WORKLOAD_TYPES and DISALLOWED_SPCS_WORKLOAD_TYPES, DISALLOWED_SPCS_WORKLOAD_TYPES takes precedence. For example, if you configure both these parameters and specify the NOTEBOOK workload, NOTEBOOK workloads aren’t allowed to run on Snowpark Container Services.
AUTO_ EVENT_ LOGGING¶
- Type:
Object (for Snowflake Scripting stored procedures)
- Data Type:
String (Constant)
- Description:
Controls whether Snowflake Scripting log messages and trace events are ingested automatically into the event table. To set this parameter, run the ALTER PROCEDURE command.
- Values:
-
LOGGING: Automatically adds the following additional logging information to the event table when a procedure is executed:- BEGIN/END of a Snowflake Scripting block.
- BEGIN/END of a child job request.
This information is added to the event table only if the effective LOG_LEVEL is set to
TRACEfor the stored procedure. -
TRACING: Automatically adds the following additional trace information to the event table when a stored procedure is executed:- Exception catching.
- Information about child job execution.
- Child job statistics.
- Stored procedure statistics, including execution time and input values.
This information is added to the event table only if the effective TRACE_LEVEL is set to
ALWAYSorON_EVENTfor the stored procedure. -
ALL: Automatically adds both the logging information added for theLOGGINGvalue and the trace information added for theTRACINGvalue. -
OFF: Does not automatically add logging information or trace information to the event table.
-
- Default:
OFF
For more information about using this parameter, see Setting levels for logging, metrics, and tracing, Automatically add log messages about blocks and child jobs, and Automatically emit trace events for child jobs and exceptions.
AUTOCOMMIT¶
- Type:
Session — Can be set for Account » User » Session
- Data Type:
Boolean
- Description:
Specifies whether autocommit is enabled for the session. Autocommit determines whether a DML statement, when executed without an active transaction, is automatically committed after the statement successfully completes. For more information, see Transactions.
Note
Setting this parameter to
FALSEstops usage data from being saved to the ORGANIZATION_USAGE schema of an organization account.- Values:
TRUE: Autocommit is enabled.FALSE: Autocommit is disabled, meaning DML statements must be explicitly committed or rolled back.- Default:
TRUE
Note
The FALSE value isn’t supported for tasks.
AUTOCOMMIT_ API_ SUPPORTED (view-only)¶
- Type:
N/A
- Data Type:
Boolean
- Description:
For Snowflake internal use only. View-only parameter that indicates whether API support for autocommit is enabled for your account. If the value is
TRUE, you can enable or disable autocommit through the APIs for the following drivers/connectors:
BASE_ LOCATION_ PREFIX¶
- Type:
Object (for databases and schemas) — Can be set for Account » Database » Schema
- Data Type:
String
- Description:
Specifies a prefix for Snowflake to use in the write path for Snowflake-managed Apache Iceberg™ tables. For more information, see data and metadata directories for Iceberg tables.
- Values:
Any valid string prefix that complies with the storage naming conventions of your cloud provider.
- Default:
None
BINARY_ INPUT_ FORMAT¶
- Type:
Session — Can be set for Account » User » Session
- Data Type:
String (Constant)
- Description:
The format of VARCHAR values passed as input to VARCHAR-to-BINARY conversion functions. For more information, see Binary input and output.
- Values:
HEX,BASE64, orUTF8/UTF-8- Default:
HEX
BINARY_ OUTPUT_ FORMAT¶
- Type:
Session — Can be set for Account » User » Session
- Data Type:
String (Constant)
- Description:
The format for VARCHAR values returned as output by BINARY-to-VARCHAR conversion functions. For more information, see Binary input and output.
- Values:
HEXorBASE64- Default:
HEX
CATALOG¶
- Type:
Object (for databases, schemas, and Apache Iceberg™ tables) — Can be set for Account » Database » Schema » Iceberg table
- Data Type:
String
- Description:
Specifies the catalog for Apache Iceberg™ tables. For more information, see the Iceberg table documentation.
- Values:
SNOWFLAKEor any valid catalog integration identifier.- Default:
None
CATALOG_ SYNC¶
- Type:
Object (for databases, schemas, and Iceberg tables) — Can be set for Account » Database » Schema » Iceberg Table
- Data Type:
String
- Description:
Specifies the name of your catalog integration for Snowflake Open Catalog. Snowflake syncs tables that use the specified catalog integration with your Snowflake Open Catalog account. For more information, see Sync a Snowflake-managed table with Snowflake Open Catalog.
- Values:
The name of any existing catalog integration for Open Catalog.
- Default:
None
CLIENT_ ENABLE_ LOG_ INFO_ STATEMENT_ PARAMETERS¶
- Type:
Session — Can be set for Account » User » Session
- Data Type:
Boolean
- Clients:
JDBC
- Description:
Enables users to log the data values bound to PreparedStatements.
To see the values, you must not only set this session-level parameter to
TRUE, but also set the connection parameter namedTRACINGto eitherINFOorALL.- Set
TRACINGtoALLto see all debugging information and all binding information. - Set
TRACINGtoINFOto see the binding parameter values and less other debug information.
Caution
If you bind confidential information, such as medical diagnoses or passwords, that information is logged. Snowflake recommends making sure that the log file is secure, or only using test data, when you set this parameter to
TRUE.- Set
- Values:
TRUEorFALSE.- Default:
FALSE
CLIENT_ ENCRYPTION_ KEY_ SIZE¶
- Type:
Account — Can be set only for Account
- Data Type:
Integer
- Clients:
Any
- Description:
Specifies the AES encryption key size, in bits, used by Snowflake to encrypt/decrypt files stored on internal stages (for loading/unloading data) when you use the
SNOWFLAKE_FULLencryption type.- Values:
128or256- Default:
128
Note
- This parameter is not used for encrypting/decrypting files stored in external stages (that is, S3 buckets or Azure containers). Encryption/decryption of these files is accomplished using an external encryption key explicitly specified in the COPY command or in the named external stage referenced in the command.
- If you are using the JDBC driver and you wish to set this parameter to 256 (for strong encryption), additional JCE policy files must be installed on each client machine from which data is loaded/unloaded. For more information about installing the required files, see Java requirements for the JDBC Driver.
- If you are using the Python connector (or SnowSQL) and you wish to set this parameter to 256 (for strong encryption), no additional installation or configuration tasks are required.
CLIENT_ MEMORY_ LIMIT¶
- Type:
Session — Can be set for Account » User » Session
- Data Type:
Integer
- Clients:
JDBC, ODBC
- Description:
Parameter that specifies the maximum amount of memory the JDBC driver or ODBC driver should use for the result set from queries (in MB).
For the JDBC driver:
- To simplify JVM memory management, the parameter sets a global maximum memory usage limit for all queries.
- CLIENT_RESULT_CHUNK_SIZE specifies the maximum size of each set (or chunk) of query results to download (in MB). The driver might require additional memory to process a chunk; if so, it will adjust memory usage during runtime to process at least one thread/query. Verify that CLIENT_MEMORY_LIMIT is set significantly higher than CLIENT_RESULT_CHUNK_SIZE to ensure sufficient memory is available.
For the ODBC driver:
- This parameter is supported in version 2.22.0 and higher.
CLIENT_RESULT_CHUNK_SIZEis not supported.
Note
- The driver will attempt to honor the parameter value, but will cap usage at 80% of your system memory.
- The memory usage limit set in this parameter does not apply to any other JDBC or ODBC driver operations (e.g. connecting to the database, preparing a query, or PUT and GET statements).
- Values:
Any valid number of megabytes.
- Default:
1536(effectively 1.5 GB)Most users should not need to set this parameter. If this parameter is not set by the user, the driver starts with the default specified above.
In addition, the JDBC driver actively manages its memory conservatively to avoid using up all available memory.
CLIENT_ METADATA_ REQUEST_ USE_ CONNECTION_ CTX¶
- Type:
Session — Can be set for Account » User » Session
- Data Type:
Boolean
- Clients:
JDBC, ODBC
- Description:
For specific ODBC functions and JDBC methods, this parameter can change the default search scope from all databases/schemas to the current database/schema. The narrower search typically returns fewer rows and executes more quickly.
For example, the
getTables()JDBC method accepts a database name and schema name as arguments, and returns the names of the tables in the database and schema. If the database and schema arguments arenull, then by default, the method searches all databases and all schemas in the account. Setting CLIENT_METADATA_REQUEST_USE_CONNECTION_CTX toTRUEnarrows the search to the current database and schema specified by the connection context.In essence, setting this parameter to
TRUEcreates the following precedence for database and schema:- Values passed as arguments to the functions/methods.
- Values specified in the connection context (if any).
- Default (all databases and all schemas).
For more details, see the information below.
This parameter applies to the following:
-
JDBC driver methods (for the
DatabaseMetaDataclass):getColumnsgetCrossReferencegetExportedKeysgetForeignKeysgetFunctionsgetImportedKeysgetPrimaryKeysgetSchemasgetTables
-
ODBC driver functions:
SQLTablesSQLColumnsSQLPrimaryKeysSQLForeignKeysSQLGetFunctionsSQLProcedures
- Values:
TRUE: If the database and schema arguments arenull, then the driver retrieves metadata for only the database and schema specified by the connection context.The interaction is described in more detail in the table below.
FALSE: If the database and schema arguments arenull, then the driver retrieves metadata for all databases and schemas in the account.- Default:
FALSE- Additional Notes:
The connection context refers to the current database and schema for the session, which can be set using any of the following options:
- Specify the default namespace for the user who connects to Snowflake (and initiates the session). This can be set for the user through the CREATE USER or ALTER USER command, but must be set before the user connects.
- Specify the database and schema when connecting to Snowflake through the driver.
- Issue a USE DATABASE or USE SCHEMA command within the session.
If the database or schema was specified by more than one of these, then the most recent one applies.
When CLIENT_METADATA_REQUEST_USE_CONNECTION_CTX is set to
TRUE:
Note
For the JDBC driver, this behavior applies to version 3.6.27 (and higher). For the ODBC driver, this behavior applies to version 2.12.96 (and higher).
If you want to search only the connection context database, but want to search all schemas within that database, see CLIENT_METADATA_USE_SESSION_DATABASE.
CLIENT_ METADATA_ USE_ SESSION_ DATABASE¶
- Type:
Session — Can be set for Account » User » Session
- Data Type:
Boolean
- Clients:
JDBC
- Description:
This parameter applies to only the methods affected by CLIENT_METADATA_REQUEST_USE_CONNECTION_CTX.
This parameter applies only when both of the following conditions are met:
- CLIENT_METADATA_REQUEST_USE_CONNECTION_CTX is
FALSEor unset. - No database or schema is passed to the relevant ODBC function or JDBC method.
For specific ODBC functions and JDBC methods, this parameter can change the default search scope from all databases to the current database. The narrower search typically returns fewer rows and executes more quickly.
For more details, see the information below.
- CLIENT_METADATA_REQUEST_USE_CONNECTION_CTX is
- Values:
TRUE:The driver searches all schemas in the connection context’s database. (For more details about the connection context, see the documentation for CLIENT_METADATA_REQUEST_USE_CONNECTION_CTX.)
FALSE:The driver searches all schemas in all databases.
- Default:
FALSE- Additional Notes:
When the database is null and the schema is null and CLIENT_METADATA_REQUEST_USE_CONNECTION_CTX is FALSE:
CLIENT_METADATA_USE_SESSION_DATABASE Behavior FALSE All schemas in all databases are searched. TRUE All schemas in the current database are searched.
CLIENT_ PREFETCH_ THREADS¶
- Type:
Session — Can be set for Account » User » Session
- Data Type:
Integer
- Clients:
JDBC, ODBC, Python, .NET
- Description:
Parameter that specifies the number of threads used by the client to pre-fetch large result sets. The driver will attempt to honor the parameter value, but defines the minimum and maximum values (depending on your system’s resources) to improve performance.
- Values:
1to10- Default:
4Most users should not need to set this parameter. If this parameter is not set by the user, the driver starts with the default specified above, but also actively manages its thread count conservatively to avoid using up all available memory.
CLIENT_ RESULT_ CHUNK_ SIZE¶
- Type:
Session — Can be set for Account » User » Session
- Data Type:
Integer
- Clients:
JDBC, Node.js, SQL API, Go
- Description:
Parameter that specifies the maximum size of each set (or chunk) of query results to download (in MB). The JDBC driver downloads query results in chunks.
Also see CLIENT_MEMORY_LIMIT.
- Values:
16to160- Default:
160Most users should not need to set this parameter. If this parameter is not set by the user, the driver starts with the default specified above, but also actively manages its memory conservatively to avoid using up all available memory.
CLIENT_ RESULT_ COLUMN_ CASE_ INSENSITIVE¶
- Type:
Session — Can be set for Account » User » Session
- Data Type:
Boolean
- Clients:
JDBC
- Description:
Parameter that indicates whether to match column name case-insensitively in
ResultSet.get*methods in JDBC.- Values:
TRUE: matches column names case-insensitively.FALSE: matches column names case-sensitively.- Default:
FALSE
CLIENT_ SESSION_ KEEP_ ALIVE¶
- Type:
Session — Can be set for Account » User » Session
- Data Type:
Boolean
- Clients:
.NET, Golang, JDBC, Node.js, ODBC, Python,
- Description:
Parameter that indicates whether to force a user to log in again after a period of inactivity in the session.
- Values:
TRUE: Snowflake keeps the session active indefinitely as long as the connection is active, even if there is no activity from the user.FALSE: The user must log in again after four hours of inactivity.- Default:
FALSE
Note
Currently, the parameter only takes effect while initiating the session. You can modify the parameter value within the session level by executing an ALTER SESSION command, but it does not affect the session keep-alive functionality, such as extending the session. For information about setting the parameter at the session level, see the client documentation:
CLIENT_ SESSION_ KEEP_ ALIVE_ HEARTBEAT_ FREQUENCY¶
- Type:
Session — Can be set for Account » User » Session
- Data Type:
Integer
- Clients:
SnowSQL, JDBC, ODBC, Python, Node.js
- Description:
Number of seconds in-between client attempts to update the token for the session.
- Values:
900to3600- Default:
3600
CLIENT_ TIMESTAMP_ TYPE_ MAPPING¶
- Type:
Session — Can be set for Account » User » Session
- Data Type:
String (Constant)
- Clients:
Any
- Description:
Specifies the TIMESTAMP_* variation to use when binding timestamp variables for JDBC or ODBC applications that use the bind API to load data.
- Values:
TIMESTAMP_LTZorTIMESTAMP_NTZ- Default:
TIMESTAMP_LTZ
CORTEX_ CODE_ CLI_ DAILY_ EST_ CREDIT_ LIMIT_ PER_ USER¶
- Type:
User — Can be set for Account » User
- Data Type:
Number
- Description:
Sets a daily estimated credit usage limit per user for Cortex Code CLI. Snowflake tracks the user’s estimated credit usage over a rolling 24-hour window and blocks access to the Cortex Code CLI when usage reaches the configured limit. Only users with the
ACCOUNTADMINrole, or a role with sufficient privileges to modify the account or user object, can set this parameter. For more information, see Daily credit usage limits for CoCo.- Values:
-1: No limit. The user has unlimited access.0: Access is blocked entirely for the user.- Positive number: Access is blocked when the user’s estimated credit usage in the past 24 hours exceeds this value.
- Default:
-1(no limit)
CORTEX_ CODE_ DESKTOP_ DAILY_ EST_ CREDIT_ LIMIT_ PER_ USER¶
- Type:
User — Can be set for Account » User
- Data Type:
Number
- Description:
Sets a daily estimated credit usage limit per user for Cortex Code Desktop. Snowflake tracks the user’s estimated credit usage over a rolling 24-hour window and blocks access to Cortex Code Desktop when usage reaches the configured limit. Only users with the
ACCOUNTADMINrole, or a role with sufficient privileges to modify the account or user object, can set this parameter. For more information, see Daily credit usage limits for CoCo.- Values:
-1: No limit. The user has unlimited access.0: Access is blocked entirely for the user.- Positive number: Access is blocked when the user’s estimated credit usage in the past 24 hours exceeds this value.
- Default:
-1(no limit)
COCO_ CLOUD_ AGENTS_ NON_ SNOWFLAKE_ EGRESS_ DISABLED¶
- Type:
Account — Can be set only for Account
- Data Type:
Boolean
- Description:
Controls whether the Cortex Code Cloud Agents sandbox in Snowflake can make outbound network connections to hosts outside Snowflake. For more information, see Cloud Agents.
- Values:
TRUE: Non-Snowflake network egress from the Cloud Agents sandbox is disabled.FALSE: Non-Snowflake network egress to platform-configured package registries and build tooling is allowed.- Default:
FALSE
Example:
COCO_ SNOWSIGHT_ ALLOW_ ALL_ PERMISSION_ OPTIONS_ DISABLED¶
- Type:
Account — Can be set only for Account
- Data Type:
Boolean
- Description:
Controls whether users in Cortex Code in Snowsight can approve tool calls in bulk. When Cortex Code requests permission to run a tool call (for example, SQL execution or Bash), users are normally offered two allow-all options: Allow <tool> in this chat and Always allow <tool>. The CoCo side panel also includes a Bypass approvals mode that runs tool calls without individual prompts.
Setting this parameter to
TRUEdisables both allow-all options for all tool types, hides the approval-mode selector, and keeps the composer on Default approvals. Users must approve each tool call individually.- Values:
TRUE: Allow-all permission options (Allow <tool> in this chat and Always allow <tool>) are disabled, Bypass approvals is unavailable, and the composer stays on Default approvals. Users must approve each tool call individually.FALSE: Allow-all permission options and Bypass approvals are available to users.- Default:
FALSE
Example:
CORTEX_ CODE_ SNOWSIGHT_ DAILY_ EST_ CREDIT_ LIMIT_ PER_ USER¶
- Type:
User — Can be set for Account » User
- Data Type:
Number
- Description:
Sets a daily estimated credit usage limit per user for Cortex Code in the Snowsight web interface. Snowflake tracks the user’s estimated credit usage over a rolling 24-hour window and blocks access to Cortex Code in Snowsight when usage reaches the configured limit. Only users with the
ACCOUNTADMINrole, or a role with sufficient privileges to modify the account or user object, can set this parameter. For more information, see Daily credit usage limits for CoCo.- Values:
-1: No limit. The user has unlimited access.0: Access is blocked entirely for the user.- Positive number: Access is blocked when the user’s estimated credit usage in the past 24 hours exceeds this value.
- Default:
-1(no limit)
CORTEX_ MODELS_ ALLOWLIST¶
Warning
CORTEX_MODELS_ALLOWLIST is being deprecated. Starting in August 2026, you can no longer change this parameter to a new value — the only permitted change will be to set it to 'None'. Later in 2026, the parameter will be removed entirely. Snowflake recommends migrating to role-based access control (RBAC) for Cortex models, which provides finer-grained, per-role control.
- Type:
Account — Can be set only for Account
- Data Type:
String
- Description:
Specifies the models that users in the account can access. Use this parameter to allowlist models for all users in the account. If you need to provide specific users with access beyond what you’ve specified in the allowlist, use role-based access control instead. For more information, see Account-level allowlist parameter.
When users make a request, Snowflake Cortex evaluates the parameter to determine whether the user can access the model.
- Values:
-
'All': Provides access to all models, including fine-tuned models.Example:
-
'model1,model2,...': Provides access to the models specified in a comma-separated list.Model names are case-sensitive and must be specified in lowercase.
Example:
-
'None': Prevents access to any model.Example:
-
- Default:
'All'
CORTEX_ ENABLED_ CROSS_ REGION¶
- Type:
Account — Can be set only for Account
- Data Type:
String
- Description:
Specifies the regions where an inference request may be processed in case the request cannot be processed in the region where request is originally placed. Specifying
DISABLEDdisables cross-region inferencing. For examples and details, see Cross-region inference.- Values:
This parameter can be set to one of the following:
DISABLEDANY_REGION- Comma-separated list including one or more of the following values:
AWS_JPAWS_APJAWS_AUAWS_EUAWS_USAWS_GLOBALAZURE_EUAZURE_USAZURE_GLOBALGCP_USGCP_GLOBAL
Explanation of each parameter value
Value Behavior DISABLEDInference requests will be handled in:
- The region where the request is placed.
ANY_REGIONInference requests may be routed to:
- Any region that supports cross-region inference (listed in this table) and that has availability, including the region where the request is placed.
AWS_JPInference requests will be handled in the region where the request is placed and in the following AWS regions
- AWS Asia Pacific (Tokyo) ap-northeast-1
- AWS Asia Pacific (Osaka) ap-northeast-3
AWS_APJInference requests will be handled in the region where the request is placed and in the following AWS regions
- AWS Asia Pacific (Tokyo) ap-northeast-1
- AWS Asia Pacific (Seoul) ap-northeast-2
- AWS Asia Pacific (Osaka) ap-northeast-3
- AWS Asia Pacific (Mumbai) ap-south-1
- AWS Asia Pacific (Hyderabad) ap-south-2
- AWS Asia Pacific (Singapore) ap-southeast-1
- AWS Asia Pacific (Sydney) ap-southeast-2
- AWS Asia Pacific (Melbourne) ap-southeast-4
AWS_AUInference requests will be handled in the region where the request is placed and in the following AWS regions
- AWS Asia Pacific (Sydney) ap-southeast-2
- AWS Asia Pacific (Melbourne) ap-southeast-4
AWS_EUInference requests will be handled in the region where the request is placed and in the following AWS regions, which are (and will be) located within the European Union:
- AWS Europe (Frankfurt) eu-central-1
- AWS Europe (Stockholm) eu-north-1
- AWS Europe (Milan) eu-south-1
- AWS Europe (Spain) eu-south-2
- AWS Europe (Ireland) eu-west-1
- AWS Europe (Paris) eu-west-3
AWS_USInference requests will be handled in the region where the request is placed and in the following AWS regions, which are (and will be) located within the United States:
- AWS US East (N. Virginia) us-east-1
- AWS US East (Ohio) us-east-2
- AWS US West (Oregon) us-west-2
AWS_GLOBALInference requests will be handled in the region where the request is placed and in any AWS commercial region. AZURE_EUInference requests will be handled in the region where the request is placed and in the following Azure regions, which are (and will be) located within the European Union:
- Azure Europe (Netherlands) westeurope
- Azure Europe (France) francecentral
- Azure Europe (Germany) germanywestcentral
- Azure Europe (Italy) italynorth
- Azure Europe (Poland) polandcentral
- Azure Europe (Spain) spaincentral
- Azure Europe (Sweden) swedencentral
AZURE_USInference requests will be handled in the region where the request is placed and in the following Azure regions, which are (and will be) located within the United States:
- Azure US (Virginia) eastus2
- Azure US (Virginia) eastus
- Azure US (California) westus
- Azure US (Phoenix) westus3
- Azure US (Illinois) northcentralus
- Azure US (Texas) southcentralus
AZURE_GLOBALInference requests will be handled in the region where the request is placed and in any Azure commercial region. GCP_USInference requests will be handled in the region where the request is placed and in the following GCP regions, which are (and will be) located within the United States:
- GCP US (Iowa) us-central1
- GCP US (Oregon) us-west1
- GCP US (Las Vegas) us-west4
- GCP US (N. Virginia) us-east4
GCP_GLOBALInference requests will be handled in the region where the request is placed and in any GCP commercial region. - Default:
The default value depends on when the account was created and where it is located:
ANY_REGIONfor new accounts in new organizations within commercial regions created after March 9, 2026.- A same-cloud geography value for commercial accounts that have not set this parameter, as shown in the following table. Requests stay within that cloud provider.
DISABLEDfor government, FedRAMP, and VPS accounts, and for commercial regions with no same-cloud geography value.
An explicit account-level value, including
DISABLED, is unchanged.Account cloud and geography Default AWS in the United States or Canada AWS_USAWS in Ireland, Frankfurt, London, Paris, Stockholm, or Zurich AWS_EUAWS in Japan AWS_JPAWS in Australia AWS_AUAWS in Seoul, Mumbai, Singapore, Jakarta, Malaysia, New Zealand, or Thailand AWS_APJAzure in the United States, Canada, or Mexico AZURE_USAzure in Ireland, the Netherlands, the United Kingdom, Switzerland, or Sweden AZURE_EUGoogle Cloud in the United States GCP_USAll other commercial regions DISABLEDFor the value assigned to each cloud region, see the 2026_06 behavior change.
To see the value in effect for your account: