Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CBRD-25775] SP 성능 개선: 실행 권한 변경 요청 동작 변경으로 호출 성능 개선 #5762

Merged
merged 4 commits into from
Jan 3, 2025

Conversation

hgryoo
Copy link
Member

@hgryoo hgryoo commented Jan 3, 2025

http://jira.cubrid.org/browse/CBRD-25775

CAS에 실행 권한에 대한 유저 변경 요청에 대하여 one-way communciation 으로, 불필요한 응답을 받지 않도록 변경

Test Scenario

-- 함수 정의
CREATE OR REPLACE FUNCTION fn_string(s string) RETURN STRING AS BEGIN RETURN s; END;

-- 다음 질의를 50회 반복 후 평균
SELECT count(a.event_nm) as cnt
FROM   ( SELECT /*+ NO_MERGE */ fn_string (athlete_code) as event_nm
         FROM   game
         WHERE  1 = 1
       ) a
WHERE 1 = 1;

develop (11.4.0.1543-e7f3240) : 891 ms (avg)
release 11.3: 334 ms (avg)

Improved: 301 ms (avg)

@hgryoo hgryoo self-assigned this Jan 3, 2025
@hgryoo hgryoo requested a review from beyondykk9 as a code owner January 3, 2025 01:55
@hgryoo hgryoo requested a review from mhoh3963 January 3, 2025 03:57
@hgryoo hgryoo merged commit cec18b6 into CUBRID:develop Jan 3, 2025
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants