현재 사용자에 대한 세션 설정 정보를 포함합니다.
- PRODUCTION: 이 기능은 안정적이고 안전하게 사용할 수 있으며, 다른 PRODUCTION 기능과 함께 사용할 때 상호작용 문제도 없습니다.
- BETA: 이 기능은 안정적이고 안전합니다. 다만 다른 기능과 함께 사용할 때의 결과는 알려져 있지 않으며 정확성은 보장되지 않습니다. 테스트와 보고를 환영합니다.
- EXPERIMENTAL: 이 기능은 개발 중입니다. 개발자와 ClickHouse 애호가를 위한 기능입니다. 정상적으로 동작할 수도, 동작하지 않을 수도 있으며 언제든지 제거될 수 있습니다.
- OBSOLETE: 더 이상 지원되지 않습니다. 이미 제거되었거나 향후 릴리스에서 제거될 예정입니다.
다음 예시는 이름에 min_i가 포함된 설정에 대한 정보를 조회하는 방법을 보여줍니다.
SELECT *
FROM system.settings
WHERE name LIKE '%min_insert_block_size_%'
FORMAT Vertical
Row 1:
──────
name: min_insert_block_size_rows
value: 1048449
changed: 0
description: Sets the minimum number of rows in the block that can be inserted into a table by an `INSERT` query. Smaller-sized blocks are squashed into bigger ones.
Possible values:
- Positive integer.
- 0 — Squashing disabled.
min: ᴺᵁᴸᴸ
max: ᴺᵁᴸᴸ
readonly: 0
type: UInt64
default: 1048449
alias_for:
is_obsolete: 0
tier: Production
Row 2:
──────
name: min_insert_block_size_bytes
value: 268402944
changed: 0
description: Sets the minimum number of bytes in the block which can be inserted into a table by an `INSERT` query. Smaller-sized blocks are squashed into bigger ones.
Possible values:
- Positive integer.
- 0 — Squashing disabled.
min: ᴺᵁᴸᴸ
max: ᴺᵁᴸᴸ
readonly: 0
type: UInt64
default: 268402944
alias_for:
is_obsolete: 0
tier: Production
Row 3:
──────
name: min_insert_block_size_rows_for_materialized_views
value: 0
changed: 0
description: Sets the minimum number of rows in the block which can be inserted into a table by an `INSERT` query. Smaller-sized blocks are squashed into bigger ones. This setting is applied only for blocks inserted into [materialized view](../../sql-reference/statements/create/view.md). By adjusting this setting, you control blocks squashing while pushing to materialized view and avoid excessive memory usage.
Possible values:
- Any positive integer.
- 0 — Squashing disabled.
## 관련 항목
- [min_insert_block_size_rows](/operations/settings/settings#min_insert_block_size_rows)
min: ᴺᵁᴸᴸ
max: ᴺᵁᴸᴸ
readonly: 0
type: UInt64
default: 0
alias_for:
is_obsolete: 0
tier: Production
Row 4:
──────
name: min_insert_block_size_bytes_for_materialized_views
value: 0
changed: 0
description: Sets the minimum number of bytes in the block which can be inserted into a table by an `INSERT` query. Smaller-sized blocks are squashed into bigger ones. This setting is applied only for blocks inserted into [materialized view](../../sql-reference/statements/create/view.md). By adjusting this setting, you control blocks squashing while pushing to materialized view and avoid excessive memory usage.
Possible values:
- Any positive integer.
- 0 — Squashing disabled.
## 관련 항목
- [min_insert_block_size_bytes](/operations/settings/settings#min_insert_block_size_bytes)
min: ᴺᵁᴸᴸ
max: ᴺᵁᴸᴸ
readonly: 0
type: UInt64
default: 0
alias_for:
is_obsolete: 0
tier: Production
예를 들어, 다음 사항을 확인하려는 경우 WHERE changed를 사용하면 유용합니다:
- 설정 파일의 설정이 올바르게 로드되어 실제로 사용 중인지 여부.
- 현재 세션에서 변경된 설정.
SELECT * FROM system.settings WHERE changed AND name='load_balancing'
관련 항목