# Topic\_views vs Topic.views

**URL:** https://meta.discourse.org/t/topic-views-vs-topic-views/97175
**Category:** Development
**Created:** [September 14, 2018, 8:25am UTC](https://meta.discourse.org/t/topic-views-vs-topic-views/97175 "2018-09-14T08:25:31Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [September 15, 2018, 10:20am UTC](https://meta.discourse.org/t/topic-views-vs-topic-views/97175/6 "2018-09-15T10:20:14Z")

</div>

In a 20 users private community a topic can have 100 views count. Since new topic visits after `topic_view_duration_hours` are calculated as new view count. But `select count(*) from topic_views where topic_id = X` will never exceed the count 20. That’s why Topic.views count is different. This is applicable for open communities too.

> [@RGJ](#):
>
> which is a left over GDPR toxic item anyway

I’m not sure here. I will check it on Monday.

---

_[View the full topic](https://meta.discourse.org/t/topic-views-vs-topic-views/97175)._
