# private-message-topic-tracking-state.json 로딩이 느립니다

**URL:** https://meta.discourse.org/t/slow-loading-on-private-message-topic-tracking-state-json/202482
**Category:** Bug
**Created:** [9월 2, 2021, 7:16오후 UTC](https://meta.discourse.org/t/slow-loading-on-private-message-topic-tracking-state-json/202482 "2021-09-02T19:16:29Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [9월 3, 2021, 5:52오전 UTC](https://meta.discourse.org/t/slow-loading-on-private-message-topic-tracking-state-json/202482/9 "2021-09-03T05:52:15Z")

</div>

> [@Falco](#):
>
> 음, 여기서는 Meta 기준으로 평균 200ms 정도 걸리고 있습니다.

이 수정으로 13ms 정도로 줄어들 것입니다.

> <https://github.com/discourse/discourse/pull/14237>
>
> This change helps the planner to use the
> index\_topics\_on\_timestamps\_private inde…x on topics.
> 
> Follow-up to f66007ec83b62169b5c41016eecd40c72f27028f

읽지 않은 항목이 많을수록 쿼리 비용이 더 커진다는 점에 유의하세요.

@sam 수정해야 할 또 다른 사항은 읽지 않은 항목을 무시할 때 일반 주제와 PM 주제에 대해 가지고 있는 `first_unread_at` 최적화가 업데이트되지 않는다는 것입니다.

---

_[View the full topic](https://meta.discourse.org/t/slow-loading-on-private-message-topic-tracking-state-json/202482)._
