> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-postgresql-tls-support.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# materialized_views_* 세션 설정

> materialized_views_*로 생성된 그룹의 ClickHouse 세션 설정입니다.

export const VersionHistory = ({rows = []}) => {
  if (rows.length === 0) {
    return null;
  }
  const headers = ["버전", "기본값", "설명"];
  const border = "1px solid rgba(128, 128, 128, 0.3)";
  const cell = {
    border,
    padding: "0.25rem 0.5rem",
    textAlign: "start",
    verticalAlign: "top"
  };
  return <details className="not-prose" style={{
    border,
    borderRadius: "0.5rem",
    margin: "0.5rem 0",
    padding: "0.5rem 0.75rem",
    fontSize: "0.8125rem",
    lineHeight: "1.125rem"
  }}>
      <summary style={{
    cursor: "pointer",
    fontWeight: 600,
    opacity: 0.72
  }}>
        버전 이력
      </summary>
      <table style={{
    borderCollapse: "collapse",
    width: "100%",
    margin: "0.5rem 0 0"
  }}>
        <thead>
          <tr>
            {headers.map(header => <th key={header} style={{
    ...cell,
    fontWeight: 600,
    opacity: 0.72
  }}>
                {header}
              </th>)}
          </tr>
        </thead>
        <tbody>
          {rows.map((row, row_index) => <tr key={row.id ?? row_index}>
              {(row.items ?? []).map((item, item_index) => <td key={item_index} style={{
    ...cell,
    overflowWrap: "anywhere"
  }}>
                  {item?.label}
                </td>)}
            </tr>)}
        </tbody>
      </table>
    </details>;
};

export const SettingsInfoBlock = ({type, default_value, changeable_without_restart}) => {
  return <div className="not-prose" style={{
    display: "flex",
    flexWrap: "wrap",
    alignItems: "baseline",
    columnGap: "0.5rem",
    rowGap: "0.125rem",
    margin: "0.375rem 0",
    fontSize: "0.8125rem",
    lineHeight: "1.125rem"
  }}>
      <div style={{
    fontWeight: 600,
    opacity: 0.72
  }}>유형</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{type}</div>
      <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>기본값</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{default_value}</div>
      {changeable_without_restart && <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>
          재시작 없이 변경 가능
        </div>}
      {changeable_without_restart && <div style={{
    overflowWrap: "anywhere"
  }}>
          {changeable_without_restart}
        </div>}
    </div>;
};

이 설정은 [system.settings](/ko/reference/system-tables/settings)에서 확인할 수 있으며 [소스 코드](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.cpp)에서 자동 생성됩니다.

<div id="materialized_views_ignore_errors">
  ## materialized\_views\_ignore\_errors
</div>

<SettingsInfoBlock type="Bool" default_value="0" />

활성화하면 종속 materialized view로 데이터를 푸시하는 중(`SELECT` 또는 내부 테이블 싱크에서) 발생한 예외가 경고로 기록되고 `INSERT` 문은 성공합니다. 비활성화하면(기본값) 이러한 예외가 전파되어 `INSERT` 문이 실패합니다.

이 설정은 오류 보고만 제어합니다. 원본 테이블에 대한 쓰기를 롤백하지 않으며, 종속 뷰의 pipeline에서 오류가 발생했을 때 원래 block이 이미 원본 테이블에 commit되었는지도 보장하지 않습니다. 비활성화하면(기본값) 뷰 오류 시 `INSERT`가 실패합니다. 원본 테이블과 모든 종속 뷰에 exactly-once로 전달하려면 삽입 중복 제거(`insert_deduplicate`, `deduplicate_blocks_in_dependent_materialized_views`)와 함께 다시 시도하십시오. 활성화하면 실패한 뷰와 그 downstream chain에 부분적으로만 전달된 경우에도 `INSERT`는 성공으로 보고됩니다. 원본 테이블 쓰기가 뷰 측 문제로 차단되어서는 안 되는 경우(예: `system.*_log` 테이블)에만 이 설정을 사용하십시오. 전체 의미 체계는 `CREATE VIEW` 문서를 참조하십시오.

<div id="materialized_views_squash_parallel_inserts">
  ## materialized\_views\_squash\_parallel\_inserts
</div>

<SettingsInfoBlock type="Bool" default_value="1" />

생성되는 파트 수를 줄이기 위해, 병렬 삽입 시 단일 INSERT 쿼리가 materialized view 대상 테이블에 수행하는 삽입을 병합합니다.
false로 설정되어 있고 `parallel_view_processing`이 활성화된 경우, INSERT 쿼리는 각 `max_insert_thread`마다 대상 테이블에 파트를 생성합니다.
