-
Notifications
You must be signed in to change notification settings - Fork 0
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
Be/feature/#522 데이터베이스 최적화 #523
Merged
The head ref may contain hidden characters: "BE/feature/#522-\uB370\uC774\uD130\uBCA0\uC774\uC2A4-\uCD5C\uC801\uD654"
Merged
Commits on Feb 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8ee4eee - Browse repository at this point
Copy the full SHA 8ee4eeeView commit details -
refactor: find 작업 시 필요한 컬럼만 조회하도록 수정
- findBy -> find, findOneBy -> findOne으로 수정하고 select 옵션을 작성하여 엔티티 전체를 불러오는 것이 아니라 필요한 컬럼만 가져오도록 변경 - mysql 스토리지 엔진으로 innoDB를 사용하는데, 버퍼풀이 캐싱 기능을 효율적으로 사용하기 위해서는 버퍼풀에 정말 필요한 정보만 가져와야 함
Configuration menu - View commit details
-
Copy full SHA for 3909f4a - Browse repository at this point
Copy the full SHA 3909f4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 57270fc - Browse repository at this point
Copy the full SHA 57270fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for c7e0e4b - Browse repository at this point
Copy the full SHA c7e0e4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f70792 - Browse repository at this point
Copy the full SHA 0f70792View commit details -
- TypeORM의 save 메서드는 insert 후 select를 실행함 - 불필요한 조회 작업을 수행하므로 select가 필요 없는 경우 insert만 수행하도록 insert 함수로 변경함
Configuration menu - View commit details
-
Copy full SHA for 3371bfa - Browse repository at this point
Copy the full SHA 3371bfaView commit details
Commits on Feb 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8d7032d - Browse repository at this point
Copy the full SHA 8d7032dView commit details
Commits on Feb 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fab20a4 - Browse repository at this point
Copy the full SHA fab20a4View commit details -
- 데이터 크기를 최적화하여 디스크에 저장되는 데이터 양 절약 - int 대신 tinyint 사용 - text 대신 varchar 사용
Configuration menu - View commit details
-
Copy full SHA for 29d668d - Browse repository at this point
Copy the full SHA 29d668dView commit details -
- enum을 적용하여 varchar 대신 tinyint를 사용하도록 수정 - 처음엔 타입을 enum으로 적용하려 하였으나 e2e 테스트에서 사용하는 sqlite에 enum 타입이 없어 e2e 테스트를 패스할 수 없었음 -> tinyint와 타입스크립트의 enum 타입을 사용
Configuration menu - View commit details
-
Copy full SHA for c33e9d4 - Browse repository at this point
Copy the full SHA c33e9d4View commit details -
refactor: 결과를 반환하는 DTO에서 enum 키 적용
- 데이터베이스에서는 tinyint가 사용됨 - tinyint를 올바른 문자열로 매핑하여 반환하도록 수정
Configuration menu - View commit details
-
Copy full SHA for ec3a83a - Browse repository at this point
Copy the full SHA ec3a83aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f211fe0 - Browse repository at this point
Copy the full SHA f211fe0View commit details -
Configuration menu - View commit details
-
Copy full SHA for d42e1be - Browse repository at this point
Copy the full SHA d42e1beView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.