From f02b8ceaa025a61d49d460c232db54c0b97eb72c Mon Sep 17 00:00:00 2001 From: H2SU Date: Wed, 19 Feb 2025 14:02:47 +0900 Subject: [PATCH 1/3] [CUBRIDMAN-216] Fix manuals for system parameter 'enable_memory_monitoring' and memmon utility --- en/admin/config.rst | 2 +- ko/admin/config.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/admin/config.rst b/en/admin/config.rst index b502a02b6..66d9c1b5c 100644 --- a/en/admin/config.rst +++ b/en/admin/config.rst @@ -2461,7 +2461,7 @@ The following are other parameters. The type and value range for each parameter **enable_memory_monitoring** - **enable_memory_monitoring** specifies whether to monitor the server's heap memory usage. Setting the value to YES activates the server's memory monitoring feature, which continuously tracks and manages the server's heap memory usage. Heap memory usage is tracked based on the file and line where dynamic memory allocation occurs in the CUBRID source code. If multiple memory allocations occur at the same location, the memory usage is accumulated. When the tracked memory is deallocated, the amount of deallocated memory is subtracted from the accumulated total, continuously tracking the real-time heap memory usage. The monitored heap memory usage can be checked using the :ref:`memmon` utility. The default value is NO. + **enable_memory_monitoring** specifies whether to monitor the server's heap memory usage. The default value is NO. To apply any modifications to this value, a server restart is required. Setting the value to YES activates the server's memory monitoring feature, which continuously tracks and manages the server's heap memory usage. Heap memory usage is tracked based on the file and line where dynamic memory allocation occurs in the CUBRID source code. If multiple memory allocations occur at the same location, the memory usage is accumulated. When the tracked memory is deallocated, the amount of deallocated memory is subtracted from the accumulated total, continuously tracking the real-time heap memory usage. The monitored heap memory usage can be checked using the :ref:`memmon` utility. .. note:: diff --git a/ko/admin/config.rst b/ko/admin/config.rst index 41df51bfe..cc4c32ac6 100644 --- a/ko/admin/config.rst +++ b/ko/admin/config.rst @@ -2444,7 +2444,7 @@ HA 관련 파라미터 **enable_memory_monitoring** - **enable_memory_monitoring**\은 서버의 힙 메모리 사용량 모니터링 여부를 지정한다. 이 값을 YES로 설정하면, 서버의 메모리 모니터링 기능이 활성화되어 서버의 힙 메모리 사용량을 지속적으로 추적 관리한다. 힙 메모리 사용량은 큐브리드 소스 코드에서 메모리 동적 할당이 발생하는 파일과 라인을 기준으로 추적되며, 동일한 위치에서 여러 번 메모리 할당이 발생하는 경우 메모리 사용량은 누적된다. 추적 중인 메모리가 해제되면 누적된 총 메모리 사용량에서 해제된 메모리 크기 만큼 감산하여 실시간 힙 메모리 사용량을 계속 추적한다. 추적 중인 힙 메모리 사용량은 :ref:`memmon` 유틸리티를 통해 확인할 수 있다. 기본값은 NO이다. + **enable_memory_monitoring**\은 서버의 힙 메모리 사용량 모니터링 여부를 지정한다. 기본값은 NO이다. 이 값을 수정 후 적용하기 위해서는 서버 재구동이 필요하다. 이 값을 YES로 설정하면, 서버의 메모리 모니터링 기능이 활성화되어 서버의 힙 메모리 사용량을 지속적으로 추적 관리한다. 힙 메모리 사용량은 큐브리드 소스 코드에서 메모리 동적 할당이 발생하는 파일과 라인을 기준으로 추적되며, 동일한 위치에서 여러 번 메모리 할당이 발생하는 경우 메모리 사용량은 누적된다. 추적 중인 메모리가 해제되면 누적된 총 메모리 사용량에서 해제된 메모리 크기 만큼 감산하여 실시간 힙 메모리 사용량을 계속 추적한다. 추적 중인 힙 메모리 사용량은 :ref:`memmon` 유틸리티를 통해 확인할 수 있다. .. note:: From db94de4607976e299584ace44863709e217b06d5 Mon Sep 17 00:00:00 2001 From: H2SU Date: Wed, 19 Feb 2025 14:56:54 +0900 Subject: [PATCH 2/3] fix --- ko/admin/config.rst | 2 -- 1 file changed, 2 deletions(-) diff --git a/ko/admin/config.rst b/ko/admin/config.rst index cc4c32ac6..522f4d685 100644 --- a/ko/admin/config.rst +++ b/ko/admin/config.rst @@ -400,8 +400,6 @@ CUBRID는 데이터베이스 서버, 브로커, CUBRID 매니저로 구성된다 | +-------------------------------------+-------------------------+---------+----------+--------------------------------+-----------------+ | | deduplicate_key_level | 클라이언트/서버 | | int | -1 | | | +-------------------------------------+-------------------------+---------+----------+--------------------------------+-----------------+ -| | enable_memory_monitoring | 클라이언트/서버 | | bool | no | | -| +-------------------------------------+-------------------------+---------+----------+--------------------------------+-----------------+ | | print_index_detail | 클라이언트/서버 | | bool | no | | | +-------------------------------------+-------------------------+---------+----------+--------------------------------+-----------------+ | | enable_memory_monitoring | 클라이언트/서버 | | bool | no | | From 75f8ff83e11ec5dda959ae7a9c44f90d499246e6 Mon Sep 17 00:00:00 2001 From: H2SU Date: Wed, 19 Feb 2025 16:18:00 +0900 Subject: [PATCH 3/3] =?UTF-8?q?feedback=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ko/admin/config.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ko/admin/config.rst b/ko/admin/config.rst index 522f4d685..cdc90a97c 100644 --- a/ko/admin/config.rst +++ b/ko/admin/config.rst @@ -2442,7 +2442,7 @@ HA 관련 파라미터 **enable_memory_monitoring** - **enable_memory_monitoring**\은 서버의 힙 메모리 사용량 모니터링 여부를 지정한다. 기본값은 NO이다. 이 값을 수정 후 적용하기 위해서는 서버 재구동이 필요하다. 이 값을 YES로 설정하면, 서버의 메모리 모니터링 기능이 활성화되어 서버의 힙 메모리 사용량을 지속적으로 추적 관리한다. 힙 메모리 사용량은 큐브리드 소스 코드에서 메모리 동적 할당이 발생하는 파일과 라인을 기준으로 추적되며, 동일한 위치에서 여러 번 메모리 할당이 발생하는 경우 메모리 사용량은 누적된다. 추적 중인 메모리가 해제되면 누적된 총 메모리 사용량에서 해제된 메모리 크기 만큼 감산하여 실시간 힙 메모리 사용량을 계속 추적한다. 추적 중인 힙 메모리 사용량은 :ref:`memmon` 유틸리티를 통해 확인할 수 있다. + **enable_memory_monitoring**\은 서버의 힙 메모리 사용량 모니터링 여부를 지정하며, 기본값은 NO이다. 이 값을 수정 후 적용하기 위해서는 서버 재구동이 필요하다. 이 값을 YES로 설정하면, 서버의 메모리 모니터링 기능이 활성화되어 서버의 힙 메모리 사용량을 지속적으로 추적 관리한다. 힙 메모리 사용량은 큐브리드 소스 코드에서 메모리 동적 할당이 발생하는 파일과 라인을 기준으로 추적되며, 동일한 위치에서 여러 번 메모리 할당이 발생하는 경우 메모리 사용량은 누적된다. 추적 중인 메모리가 해제되면 누적된 총 메모리 사용량에서 해제된 메모리 크기 만큼 감산하여 실시간 힙 메모리 사용량을 계속 추적한다. 추적 중인 힙 메모리 사용량은 :ref:`memmon` 유틸리티를 통해 확인할 수 있다. .. note::