> For the complete documentation index, see [llms.txt](https://docs.tibero.com/tmaxopensql/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tibero.com/tmaxopensql/tmax-o2-extensions/troubleshooting/faq.md).

# FAQ

## Q. PostgreSQL 서버에 O2 Extension을 어떻게 설치합니까?

A. PostgreSQL은 Extension 설치를 간편하게 할 수 있도록 설계되어 있습니다. O2 Extension도 마찬가지로 손쉽게 설치가 가능합니다. 자세한 내용은 [설치 안내서](https://docs.tibero.com/tmaxopensql/tmax-o2-extensions/installation/o2-extension.md)를 참조합니다.

## Q. 설치한 O2 Extension을 어떻게 활성화합니까?

A. PostgreSQL은 동적 링크를 활용하여 Extension을 간단한 SQL 구문으로 활성화하도록 설계되어 있습니다. O2 Extension도 마찬가지로 간단한 SQL 구문을 사용하여 활성화할 수 있습니다. 자세한 내용은 [설치 안내서](https://docs.tibero.com/tmaxopensql/tmax-o2-extensions/installation/o2-extension.md)를 참조합니다.

## Q. O2 Extension이 특정 PostgreSQL 버전과 호환되지 않는 경우도 있습니까?

A. O2 Extension의 기능은 대부분 PostgreSQL 14 이상 버전을 지원합니다. 하지만 일부 기능은 PostgreSQL 15 이상을, 또 다른 일부 기능은 PostgreSQL 16 이상의 버전을 요구합니다.

사용 중인 PostgreSQL 버전이 특정 기능의 최소 요구 사항을 충족하지 못할 경우, 설치 시 해당 기능은 자동으로 제외됩니다. 기능별 최소 지원 버전은 아래와 같습니다.

|  Extension  |          Feature         | Object Type | PostgreSQL 최소 버전 |
| :---------: | :----------------------: | :---------: | :--------------: |
| O2Functions |       REGEXP\_LIKE       |   Function  |        15        |
|             |       REGEXP\_COUNT      |   Function  |        15        |
|             |       REGEXP\_INSTR      |   Function  |        15        |
|             |      REGEXP\_SUBSTR      |   Function  |        15        |
|             |      REGEXP\_REPLACE     |   Function  |        15        |
|   O2Views   | O2\_SHARED\_MEMORY\_INFO |     View    |        15        |
| DBMS\_ALERT |         REMOVEALL        |  Procedure  |        15        |
|             |          WAITANY         |  Procedure  |        15        |
|  DBMS\_RLS  |           전체 기능          |  Procedure  |        16        |

## Q. O2 Extension을 사용한 후 성능 저하가 발생하면 어떻게 해결할 수 있습니까?

A. 데이터베이스 성능 저하는 다양한 이유로 인해 발생할 수 있으며 문제 해결을 위해서는 정확한 원인을 찾는 것이 중요합니다. 성능 저하 해결에 대한 자세한 내용은 [TroubleShooting의 Common Issues 항목](https://docs.tibero.com/tmaxopensql/tmax-o2-extensions/troubleshooting/common-issues.md)을 참조합니다.

## Q. O2 Extension 사용 중 발생하는 일반적인 에러 코드와 그 해결 방법은 무엇입니까?

A. O2 Extension에서는 PostgreSQL의 빌트인 에러 코드와 O2 Extension의 커스텀 에러 코드를 발생시킵니다. PostgreSQL의 빌트인 에러 코드는 [PostgreSQL Error Codes](https://www.postgresql.org/docs/current/errcodes-appendix.html) 매뉴얼을 참조합니다. O2 Extension의 커스텀 에러 코드는 [TroubleShooting의 에러 코드 항목](https://docs.tibero.com/tmaxopensql/tmax-o2-extensions/troubleshooting/error-code.md)을 참조합니다.

## Q. O2 Extension을 최신으로 업데이트하는 방법은 무엇입니까?

A. PostgreSQL은 Extension을 간단한 SQL 구문으로 업데이트할 수 있도록 설계되어 있습니다.\
O2 Extension도 마찬가지로 간단한 SQL 구문을 사용하여 업데이트할 수 있다. 자세한 내용은 [설치 안내서](https://docs.tibero.com/tmaxopensql/tmax-o2-extensions/installation/o2-extension.md)를 참조합니다.

## Q. 더 이상 필요하지 않은 O2 Extension을 어떻게 제거합니까?

A. PostgreSQL은 Extension을 데이터베이스 객체로서 관리하며 간단한 SQL 구문으로 제거할 수 있도록 설계되어 있습니다. O2 Extension도 마찬가지로 간단한 SQL 구문을 사용하여 제거할 수 있습니다. 자세한 내용은 [설치 안내서](https://docs.tibero.com/tmaxopensql/tmax-o2-extensions/installation/o2-extension.md)를 참조합니다.

## Q. O2 Extension 관련 로그를 어디서 확인할 수 있습니까?

A. O2 Extension 관련 로그는 PostgreSQL의 로그 파일에 함께 작성됩니다.

###
