Replies: 6 comments
-
Auth
로그인# MemberJpaRepository.fetchByName
select
m1_0.id,
m1_0.created_at,
m1_0.modified_at,
m1_0.name,
m1_0.password,
m1_0.salt
from
member m1_0
where
m1_0.name=? 쓰레드당 100건 (총 1,000건)Total elapsed time: 7964ms 쓰레드당 1,000건 (총 10,000건)Total elapsed time: 51395ms 쓰레드당 5,000건 (총 50,000건)(실제 요청은 16319개 밖에 안 갔고 다 처리 못함) Total elapsed time: 0ms 로그인 상태 체크# MemberJpaRepository.fetchByName
select
m1_0.id,
m1_0.created_at,
m1_0.modified_at,
m1_0.name,
m1_0.password,
m1_0.salt
from
member m1_0
where
m1_0.name=? 쓰레드당 100건 (총 1,000건)Total elapsed time: 6647ms 쓰레드당 1,000건 (총 10,000건)Total elapsed time: 44284ms 쓰레드당 5,000건 (총 50,000건)(실제 요청은 16310개 밖에 안 갔고 다 처리 못함) Total elapsed time: 0ms |
Beta Was this translation helpful? Give feedback.
-
Tag
회원의 태그 목록 조회# templateRepository.findByMemberId
select
t1_0.id,
t1_0.category_id,
t1_0.created_at,
t1_0.description,
t1_0.member_id,
t1_0.modified_at,
t1_0.title
from
template t1_0
where
t1_0.member_id=?
select # 카테고리 전체 갯수만큼 나감;; 왜지?
c1_0.id,
c1_0.created_at,
c1_0.is_default,
c1_0.member_id,
c1_0.modified_at,
c1_0.name
from
category c1_0
where
c1_0.id=?
# templateTagRepository.findDistinctByTemplateIn
select
distinct tt1_0.tag_id
from
template_tag tt1_0
where
tt1_0.template_id in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,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, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
select
t1_0.id,
t1_0.created_at,
t1_0.modified_at,
t1_0.name
from
tag t1_0
where
t1_0.id=?
# TagJpaRepository.fetchById 태그 갯수만큼 실행
select
t1_0.id,
t1_0.created_at,
t1_0.modified_at,
t1_0.name
from
tag t1_0
where
t1_0.id=?
쓰레드당 1건 (총 10건)Total elapsed time: 180003ms 쓰레드당 10건 (총 100건)(실제 요청은 6개 밖에 안 갔고 다 처리 못함) Total elapsed time: 0ms 쓰레드당 100건 (총 1,000건)(실제 요청은 5개 밖에 안 갔고 다 처리 못함) Total elapsed time: 0ms |
Beta Was this translation helpful? Give feedback.
-
카테고리카테고리 생성# MemberJpaRepository.fetchById
select
m1_0.id,
m1_0.created_at,
m1_0.modified_at,
m1_0.name,
m1_0.password,
m1_0.salt
from
member m1_0
where
m1_0.name=?
# CategoryJpaRepository.existsByNameAndMember
select
c1_0.id
from
category c1_0
where
c1_0.name=?
and c1_0.member_id=?
limit
?
# CategoryRepository.save
insert
into
category
(created_at, is_default, member_id, modified_at, name)
values
(?, ?, ?, ?, ?)
쓰레드당 100건 (총 1,000건)856건 생성 Total elapsed time: 20111ms 쓰레드당 1,000건 (총 10,000건)약 8,800건 생성되었고 Total elapsed time: 135380ms 쓰레드당 5,000건 (총 50,000건)(실제 요청은 13139개 밖에 안 갔고 11,635개만 저장) Total elapsed time: 0 회원의 카테고리 목록 조회# MemberJpaRepository.fetchById
select
m1_0.id,
m1_0.created_at,
m1_0.modified_at,
m1_0.name,
m1_0.password,
m1_0.salt
from
member m1_0
where
m1_0.id=?
# CategoryJpaRepository.findAllByMemberOrderById
select
c1_0.id,
c1_0.created_at,
c1_0.is_default,
c1_0.member_id,
c1_0.modified_at,
c1_0.name
from
category c1_0
where
c1_0.member_id=?
order by
c1_0.id
[카테고리 약 7건 조회] 쓰레드당 100건 (총 1,000건)Total elapsed time: 11259ms 쓰레드당 1,000건 (총 10,000건)Total elapsed time: 88074ms 쓰레드당 5,000건 (총 50,000건)(실제 요청은 16314개 밖에 안 갔고 다 처리 못함) Total elapsed time: 0 [카테고리 849건 조회] 쓰레드당 100건 (총 1,000건)Total elapsed time: 56966ms 쓰레드당 1,000건 (총 10,000건)(실제 요청은 3669개 밖에 안 갔고 다 처리 못함) Total elapsed time: 0ms 카테고리 업데이트# MemberJpaRepository.fetchByName
select
m1_0.id,
m1_0.created_at,
m1_0.modified_at,
m1_0.name,
m1_0.password,
m1_0.salt
from
member m1_0
where
m1_0.name=?
# CategoryJpaRepository.existsByNameAndMember
select
c1_0.id
from
category c1_0
where
c1_0.name=?
and c1_0.member_id=?
limit
?
# CategoryJpaRepository.fetchById
select
c1_0.id,
c1_0.created_at,
c1_0.is_default,
c1_0.member_id,
c1_0.modified_at,
c1_0.name
from
category c1_0
where
c1_0.id=?
# CategoryController.updateCategory
update
category
set
is_default=?,
member_id=?,
modified_at=?,
name=?
where
id=?
쓰레드당 100건 (총 1,000건)Total elapsed time: 26130ms 쓰레드당 1,000건 (총 10,000건)(실제 요청은 8868개 밖에 안 갔고 다 처리 못함) Total elapsed time: 0ms 카테고리 삭제# MemberJpaRepository.fetchByName
select
m1_0.id,
m1_0.created_at,
m1_0.modified_at,
m1_0.name,
m1_0.password,
m1_0.salt
from
member m1_0
where
m1_0.name=?
# CategoryJpaRepository.fetchById
select
c1_0.id,
c1_0.created_at,
c1_0.is_default,
c1_0.member_id,
c1_0.modified_at,
c1_0.name
from
category c1_0
where
c1_0.id=?
# TemplateJpaRepository.existsByCategoryId
select
t1_0.id
from
template t1_0
where
t1_0.category_id=?
limit
?
# CategoryRepository.deleteById
delete
from
category
where
id=?
쓰레드당 100건 (총 1,000건)Total elapsed time: 21304ms 쓰레드당 1,000건 (총 10,000건)Total elapsed time: 125942ms 쓰레드당 5,000건 (총 50,000건)(실제 요청은 16314개 밖에 안 갔고 2,524건만 처리) Total elapsed time: 0 |
Beta Was this translation helpful? Give feedback.
-
Member
회원 가입# MemberJpaRepository.existsByName
# MemberRepository.save
# CategoryRepository.save 쓰레드당 100건 (총 1,000건)Total request count: 1000 쓰레드당 1,000건 (총 10,000건)Total request count: 10000 쓰레드당 5,000건 (총 50,000건)Total request count: 5808 회원 정보 조회# MemberJpaRepository.fetchById
select
m1_0.id,
m1_0.created_at,
m1_0.modified_at,
m1_0.name,
m1_0.password,
m1_0.salt
from
member m1_0
where
m1_0.id=? 쓰레드당 100건 (총 1,000건)Total request count: 1000 쓰레드당 1,000건 (총 10,000건)Total request count: 10000 쓰레드당 5,000건 (총 50,000건)Total request count: 15733 사용자명 중복 확인# MemberJpaRepository.existsByName
쓰레드당 100건 (총 1,000건)Total request count: 1000 쓰레드당 1,000건 (총 10,000건)Total request count: 10000 쓰레드당 5,000건 (총 50,000건)Total request count: 15684 |
Beta Was this translation helpful? Give feedback.
-
Template
템플릿 생성# MemberJpaRepository.fetchByName
select
m1_0.id,
m1_0.created_at,
m1_0.modified_at,
m1_0.name,
m1_0.password,
m1_0.salt
from
member m1_0
where
m1_0.name=?
# CategoryJpaRepository.fetchById
select
c1_0.id,
c1_0.created_at,
c1_0.is_default,
c1_0.member_id,
c1_0.modified_at,
c1_0.name
from
category c1_0
where
c1_0.id=?
# TemplateRepository.save
insert
into
template
(category_id, created_at, description, member_id, modified_at, title)
values
(?, ?, ?, ?, ?, ?)
# TagJpaRepository.findNameByNamesIn
select
t1_0.name
from
tag t1_0
where
t1_0.name in (?, ?)
# TagJpaRepository.fetchByName
select
t1_0.id,
t1_0.created_at,
t1_0.modified_at,
t1_0.name
from
tag t1_0
where
t1_0.name=?
# TemplateTagRepository.saveAll
select
tt1_0.tag_id,
tt1_0.template_id,
tt1_0.created_at,
tt1_0.modified_at,
t1_0.id,
t1_0.created_at,
t1_0.modified_at,
t1_0.name,
t2_0.id,
t2_0.category_id,
c1_0.id,
c1_0.created_at,
c1_0.is_default,
c1_0.member_id,
c1_0.modified_at,
c1_0.name,
t2_0.created_at,
t2_0.description,
t2_0.member_id,
t2_0.modified_at,
t2_0.title
from
template_tag tt1_0
join
tag t1_0
on t1_0.id=tt1_0.tag_id
join
template t2_0
on t2_0.id=tt1_0.template_id
left join
category c1_0
on c1_0.id=t2_0.category_id
where
(
tt1_0.tag_id, tt1_0.template_id
) in ((?, ?))
#
insert
into
template_tag
(created_at, modified_at, tag_id, template_id)
values
(?, ?, ?, ?)
# SourceCodeJpaRepository.fetchByTemplateAndOrdinal
select
sc1_0.id,
sc1_0.content,
sc1_0.created_at,
sc1_0.filename,
sc1_0.modified_at,
sc1_0.ordinal,
sc1_0.template_id
from
source_code sc1_0
where
sc1_0.template_id=?
and sc1_0.ordinal=?
# ThumbnailRepository.save
insert
into
thumbnail
(created_at, modified_at, source_code_id, template_id)
values
(?, ?, ?, ?) 쓰레드당 100건 (총 1,000건)Total request count: 1000 쓰레드당 1,000건 (총 10,000건)
Total request count: 9342 쓰레드당 5,000건 (총 50,000건)
Total request count: 7020 템플릿 단건 조회# TemplateJpaRepository.fetchById
select
t1_0.id,
t1_0.category_id,
c1_0.id,
c1_0.created_at,
c1_0.is_default,
c1_0.member_id,
c1_0.modified_at,
c1_0.name,
t1_0.created_at,
t1_0.description,
t1_0.member_id,
t1_0.modified_at,
t1_0.title
from
template t1_0
join
category c1_0
on c1_0.id=t1_0.category_id
where
t1_0.id=?
# TemplateTagJpaRepository.findAllByTemplate
select
t1_0.id,
t1_0.created_at,
t1_0.modified_at,
t1_0.name
from
tag t1_0
where
t1_0.id=?
# SourceCodeJpaRepository.findAllByTemplate
select
sc1_0.id,
sc1_0.content,
sc1_0.created_at,
sc1_0.filename,
sc1_0.modified_at,
sc1_0.ordinal,
sc1_0.template_id
from
source_code sc1_0
where
sc1_0.template_id=?
# MemberJpaRepository.fetchByTemplateId
select
m1_0.id,
m1_0.created_at,
m1_0.modified_at,
m1_0.name,
m1_0.password,
m1_0.salt
from
template t1_0
join
member m1_0
on m1_0.id=t1_0.member_id
where
t1_0.id=? 쓰레드당 100건 (총 1,000건)Total request count: 1000 쓰레드당 1,000건 (총 10,000건)Total request count: 10000 쓰레드당 5,000건 (총 50,000건)Total request count: 15717 템플릿 수정# MemberJpaRepository.fetchByName
select
m1_0.id,
m1_0.created_at,
m1_0.modified_at,
m1_0.name,
m1_0.password,
m1_0.salt
from
member m1_0
where
m1_0.name=?
# CategoryJpaRepository.fetchById
select
c1_0.id,
c1_0.created_at,
c1_0.is_default,
c1_0.member_id,
c1_0.modified_at,
c1_0.name
from
category c1_0
where
c1_0.id=?
# TemplateRepository.save
insert
into
template
(category_id, created_at, description, member_id, modified_at, title)
values
(?, ?, ?, ?, ?, ?)
# TagJpaRepository.findNameByNamesIn
select
t1_0.name
from
tag t1_0
where
t1_0.name in (?, ?)
# TagJpaRepository.fetchByName
select
t1_0.id,
t1_0.created_at,
t1_0.modified_at,
t1_0.name
from
tag t1_0
where
t1_0.name=?
# TagRepository.saveAll
insert
into
tag
(created_at, modified_at, name)
values
(?, ?, ?)
# TemplateTagRepository.saveAll
select
tt1_0.tag_id,
tt1_0.template_id,
tt1_0.created_at,
tt1_0.modified_at,
t1_0.id,
t1_0.created_at,
t1_0.modified_at,
t1_0.name,
t2_0.id,
t2_0.category_id,
c1_0.id,
c1_0.created_at,
c1_0.is_default,
c1_0.member_id,
c1_0.modified_at,
c1_0.name,
t2_0.created_at,
t2_0.description,
t2_0.member_id,
t2_0.modified_at,
t2_0.title
from
template_tag tt1_0
join
tag t1_0
on t1_0.id=tt1_0.tag_id
join
template t2_0
on t2_0.id=tt1_0.template_id
left join
category c1_0
on c1_0.id=t2_0.category_id
where
(
tt1_0.tag_id, tt1_0.template_id
) in ((?, ?))
# SourceCodeRepository.saveAll
insert
into
source_code
(content, created_at, filename, modified_at, ordinal, template_id)
values
(?, ?, ?, ?, ?, ?)
# ThumbnailJpaRepository.fetchByTemplate
select
sc1_0.id,
sc1_0.content,
sc1_0.created_at,
sc1_0.filename,
sc1_0.modified_at,
sc1_0.ordinal,
sc1_0.template_id
from
source_code sc1_0
where
sc1_0.id=?
# SourceCodeJpaRepository.fetchByTemplateAndOrdinal
select
sc1_0.id,
sc1_0.content,
sc1_0.created_at,
sc1_0.filename,
sc1_0.modified_at,
sc1_0.ordinal,
sc1_0.template_id
from
source_code sc1_0
where
sc1_0.template_id=?
and sc1_0.ordinal=?
# ThumbnailRepository.save
insert
into
thumbnail
(created_at, modified_at, source_code_id, template_id)
values
(?, ?, ?, ?)
쓰레드당 100건 (총 1,000건)Total request count: 1000 쓰레드당 1,000건 (총 10,000건)Total request count: 10000 쓰레드당 5,000건 (총 50,000건)
Total request count: 6838 템플릿 삭제쓰레드당 100건 (총 1,000건)Total request count: 1000 쓰레드당 1,000건 (총 10,000건)Total request count: 10000 쓰레드당 5,000건 (총 50,000건)Total request count: 29295 |
Beta Was this translation helpful? Give feedback.
-
Template
# TemplateJpaRepository.findAll
# TemplateTagJpaRepository.findAllByTemplate
# ThumbnailJpaRepository.fetchByTemplate
# MemberJpaRepository.fetchByTemplateId
템플릿 검색 : 멤버만쓰레드당 100건 (총 1,000건)Total request count: 1000 쓰레드당 1,000건 (총 10,000건)Total request count: 10000 쓰레드당 5,000건 (총 50,000건)Total request count: 18602 템플릿 검색 : 키워드만쓰레드당 100건 (총 1,000건)Total request count: 1000 쓰레드당 1,000건 (총 10,000건)Total request count: 4631 쓰레드당 5,000건 (총 50,000건)Total request count: 2455 템플릿 검색 : 카테고리만쓰레드당 100건 (총 1,000건)Total request count: 1000 쓰레드당 1,000건 (총 10,000건)Total request count: 10000 쓰레드당 5,000건 (총 50,000건)Total request count: 21914 템플릿 검색 : 태그만쓰레드당 100건 (총 1,000건)Total request count: 1000 쓰레드당 1,000건 (총 10,000건)Total request count: 10000 쓰레드당 5,000건 (총 50,000건)Total request count: 17571 |
Beta Was this translation helpful? Give feedback.
-
1차 쿼리 성능 테스트
인증인가 + 회원 (1) - 초롱
카테고리 (1) - 제우스
태그, 템플릿 단건 조회, 삭제 (1) - 켬미
템플릿 생성 + 수정 (1) - 짱수
템플릿 검색 (1) - 몰리
Beta Was this translation helpful? Give feedback.
All reactions