我假设您已安装 Data Explorer。
看起来您可以从 post_timings 中获取:
select topic_id,
count(user_id) users,
round(sum(msecs/(60*1000.0)),2)/count(user_id) avg_minutes
from post_timings
group by topic_id
order by avg(msecs) desc
我应该指出,这只包括已注册的用户。您可能需要使用 Google Analytics 来获取所有读者。
我不确定您在寻找什么数据。以下是如何查找每个用户的第一个帖子:
select p.id post_id
from posts p
where p.id = (select min(id) from posts where user_id = p.user_id)
如果想查找通过发布新主题而不是回复现有主题开始的用户,请添加 and post_number = 1。不确定其中任何一个是否有帮助。
人们可以填写他们的位置信息,这甚至可能被识别为国家:
select user_id, location
from user_profiles
根据我的经验,人们通常不 bother。所以 Google Analytics 可能更有用。
users 表中还有 ip_address,可用于查找位置数据。