Skip to content

DB 다이어그램

권예진 edited this page Oct 18, 2023 · 1 revision

땅땅땅db다이어그램

추가한 인덱스

create index idx_auction_is_deleted_id_desc on auction(is_deleted, id desc); 
create index idx_auction_is_deleted_auctioneer_count_desc_id_desc on auction(is_deleted, auctioneer_count desc, id desc); 
create index idx_auction_is_deleted_closing_time_id_desc on auction(is_deleted, closing_time, id desc); 
create index idx_bid_bidder_id_auction_id on bid(bidder_id, auction_id); 
create fulltext index idx_auction_fulltext on auction(title);
  • create index idx_auction_is_deleted_id_desc on auction(is_deleted, id desc);

    • 인덱스 적용 전 image
    • 인덱스 적용 후 image
  • create index idx_auction_is_deleted_auctioneer_count_desc_id_desc on auction(is_deleted, auctioneer_count desc, id desc);

    • 인덱스 적용 전 image
    • 인덱스 적용 후 image
  • create index idx_auction_is_deleted_closing_time_id_desc on auction(is_deleted, closing_time, id desc);

    • 인덱스 적용 전 image
    • 인덱스 적용 후
      image
  • create fulltext index idx_auction_fulltext on auction(title);

    • 인덱스 적용 전 image
    • 인덱스 적용 후 image
  • create index idx_bid_bidder_id_auction_id on bid(bidder_id, auction_id);

    • 인덱스 적용 전 image
    • 인덱스 적용 후 image
Clone this wiki locally