select count(tag_id) as count, to_char(count(tag_id) * 100.0 / (select count(*) from statuses_tags), '990.00') as per, tags.name from statuses_tags inner join tags on statuses_tags.tag_id = tags.id group by tag_id, tags.name order by count desc limit 10;
select count(tag_id) as tag_count, tags.name from statuses_tags inner join tags on statuses_tags.tag_id = tags.id group by tag_id, tags.name order by tag_count desc limit 10;
tag_count | name
-----------+-------------------
99454 | theboss_tech
9082 | nowplaying
8592 | traindelay
8382 | abyss_fun
5874 | whatyouareplaying
5774 | dtp
4286 | news
3767 | pixiv
3661 | vs_qiita
2379 | nsfw
(10 行)
すごいね。ほんと凄いw
@the_boss@masi.theboss.tech しょっちゅう止まってるけど、たまに復活する(ふくつのせいしん)ので、長くご利用いただいております。 #theboss_tech
@the_boss@masi.theboss.tech 最後のトゥートまでリレーに流せるように、リレーはあえて解除しないでおいて、閉鎖完了してからこちらではずしてもいいよ。 #theboss_tech
@tateisu 人と接する仕事で、とか真逆なのでは……
@ars42525 なんだろな……。pgBouncerはDTPの方にしか使ってないし、チューニングも双方違う。PostgreSQLとredisのバージョンも違う。rubyのJITはどっちも利いてる。
@rk_asylum いやー、わかんないでしょうたぶん……。
@ars42525 フィルタかけてないけど、そのへん関係してる?
@ars42525 リレー観測鯖(arubaの低スペック鯖)でも挙動は同じだねー。そんなに遅くない。
@ars42525 一度読み込んだらあとは速いけど、毎回遅い?
@ars42525 確かに遅いなとは思うけど、そんなにかかってないな……。5秒ぐらい?
@theoria リレーでカバーできない大手インスタンスのトゥートを連合に持ってこれるってのが一番のメリットだよね。楽しそうだなぁ。
DTP・デザイン・印刷のテーマサーバ DTP-Mstdn.jpやってます。
#Illustrator #スクリーン印刷 #インクジェット #カラーマネジメント #運営
#searchable_by_all_users