Skip to content

Feat: 쿼리 인덱스 적용 #105

@kkangh00n

Description

@kkangh00n

✅ 인덱스

posts

CREATE INDEX home_posts_index
ON posts (category_id, state, like_count DESC);

create index category_posts_index on posts(state, created_at desc);

likes
create index likes_index on likes(post_id, user_id);

category
create index category_index on category(category_id, category_type);

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions