Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: アンテナ、クリップ、リストの表示を速くする #8518

Merged
merged 4 commits into from
Apr 19, 2022

Conversation

xianonn
Copy link
Contributor

@xianonn xianonn commented Apr 18, 2022

What

サブクエリを使って遅くなっているアンテナ、クリップ、リストのクエリを内部結合にすることで速くする。

Why

アンテナ、クリップの取得が遅くタイムアウトしてしまうのを修正。
Fix #8413, fix #8489

@syuilo syuilo merged commit 60620bd into misskey-dev:develop Apr 19, 2022
@syuilo
Copy link
Member

syuilo commented Apr 19, 2022

👍👍👍

syuilo pushed a commit that referenced this pull request Apr 23, 2022
* アンテナノートを取得するクエリがタイムアウトしないように速くする

* テーブル名を直接指定しないようにする

* クリップの取得を速くする

* リストの取得を速くする
syuilo added a commit that referenced this pull request Apr 23, 2022
commit 3658f19
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Sat Apr 23 19:54:09 2022 +0900

    12.110.1

commit e213c2e
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Sat Apr 16 13:31:12 2022 +0900

    remove unused locale

commit dd86397
Author: xianon <xianon@hotmail.co.jp>
Date:   Tue Apr 19 22:59:39 2022 +0900

    fix: アンテナ、クリップ、リストの表示を速くする (#8518)

    * アンテナノートを取得するクエリがタイムアウトしないように速くする

    * テーブル名を直接指定しないようにする

    * クリップの取得を速くする

    * リストの取得を速くする

commit 6d33b36
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Sun Apr 17 21:18:18 2022 +0900

    fix ogp rendering and refactor

commit 33c22b5
Merge: 090f8ef 16c7ef4
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Mon Apr 11 23:13:18 2022 +0900

    Merge branch 'develop'

commit 090f8ef
Merge: 5abe05d 395fe7e
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Sun Apr 3 14:01:19 2022 +0900

    Merge branch 'develop'

commit 5abe05d
Merge: 2375359 7722fc4
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Sat Apr 2 16:56:35 2022 +0900

    Merge branch 'develop'

commit 2375359
Merge: 2cd2d65 68d462b
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Sat Apr 2 15:34:03 2022 +0900

    Merge branch 'develop'

commit 2cd2d65
Merge: 6fc3586 b81b669
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Sat Mar 12 19:35:17 2022 +0900

    Merge branch 'develop'

commit 6fc3586
Merge: 6e7e11e 6cd3ff5
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Wed Mar 9 23:04:16 2022 +0900

    Merge branch 'develop'

commit 6e7e11e
Merge: 0589171 8d568d5
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Sat Feb 12 17:36:42 2022 +0900

    Merge branch 'develop'

commit 0589171
Merge: eef8f63 3cf9c30
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Fri Feb 11 22:17:17 2022 +0900

    Merge branch 'develop'

commit eef8f63
Merge: 32500fa de6e3d6
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Fri Feb 11 21:40:15 2022 +0900

    Merge branch 'develop'

commit 32500fa
Merge: 1ce8da6 fd5a304
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Fri Feb 11 19:47:41 2022 +0900

    Merge branch 'develop'

commit 1ce8da6
Merge: 08da5e9 c07e4c3
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Fri Feb 11 17:58:04 2022 +0900

    Merge branch 'develop'

commit 08da5e9
Merge: 5f985ee 25cac33
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Wed Feb 9 21:44:39 2022 +0900

    Merge branch 'develop'

commit 5f985ee
Merge: 1fd6c97 4190720
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Wed Feb 9 14:50:38 2022 +0900

    Merge branch 'develop'

commit 1fd6c97
Merge: 9c2f5ee 74cef67
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Wed Feb 2 01:33:18 2022 +0900

    Merge branch 'develop'

commit 9c2f5ee
Merge: 97885d3 c6a1502
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Wed Feb 2 00:40:00 2022 +0900

    Merge branch 'develop'

commit 97885d3
Merge: 5f5f68c 990fef5
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Thu Jan 27 18:00:32 2022 +0900

    Merge branch 'develop'

commit 5f5f68c
Merge: af6d52e 40b7230
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Thu Jan 27 00:17:13 2022 +0900

    Merge branch 'develop'

commit af6d52e
Merge: 621fc5a 99eb919
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Wed Dec 29 17:25:24 2021 +0900

    Merge branch 'develop'

commit 621fc5a
Merge: 1b956af b14e347
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Wed Dec 29 13:42:15 2021 +0900

    Merge branch 'develop'

commit 1b956af
Merge: 80c88e1 a3dceee
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Sat Dec 18 20:59:16 2021 +0900

    Merge branch 'develop'

commit 80c88e1
Merge: ad9e6a4 35cd9e6
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Fri Dec 17 19:43:00 2021 +0900

    Merge branch 'develop'

commit ad9e6a4
Merge: 504f182 ac82435
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Fri Dec 17 16:18:29 2021 +0900

    Merge branch 'develop'

commit 504f182
Merge: fd59993 cf5fe2d
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Tue Dec 14 23:28:29 2021 +0900

    Merge branch 'develop'

commit fd59993
Merge: 8451436 1894df8
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Tue Dec 14 23:13:41 2021 +0900

    Merge branch 'develop'

commit 8451436
Merge: 3762895 6319dd1
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Tue Dec 14 23:03:56 2021 +0900

    Merge branch 'develop'

commit 3762895
Merge: 83a77f1 13288e1
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Tue Dec 14 22:38:31 2021 +0900

    Merge branch 'develop'

commit 83a77f1
Merge: 99640a3 75c087b
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Fri Dec 3 22:30:10 2021 +0900

    Merge branch 'develop'

commit 99640a3
Merge: 88cdbc2 24681bb
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Fri Nov 19 20:41:40 2021 +0900

    Merge branch 'develop'

commit 88cdbc2
Merge: db10103 a0c6ae2
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Fri Nov 19 20:39:59 2021 +0900

    Merge branch 'develop'

commit db10103
Merge: 2795fe4 7f5299c
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Sat Nov 13 17:08:15 2021 +0900

    Merge branch 'develop'

commit 2795fe4
Merge: 5463102 4ab773e
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Sat Nov 13 12:23:49 2021 +0900

    Merge branch 'develop'

commit 5463102
Merge: 8078319 944250f
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Sun Oct 31 20:21:50 2021 +0900

    Merge branch 'develop'

commit 8078319
Merge: 6d55726 f418eae
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Mon Oct 25 03:57:09 2021 +0900

    Merge branch 'develop'

commit 6d55726
Merge: 26b2685 a905188
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Mon Oct 25 02:34:58 2021 +0900

    Merge branch 'develop'

commit 26b2685
Merge: a1af83c 781b575
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Sat Oct 23 11:36:50 2021 +0900

    Merge branch 'develop'

commit a1af83c
Merge: d0d5068 4168add
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Sat Oct 23 02:46:44 2021 +0900

    Merge branch 'develop'

commit d0d5068
Merge: 8a1f3a4 d70b827
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Sat Oct 23 01:08:45 2021 +0900

    Merge branch 'develop'

commit 8a1f3a4
Merge: 338793d 8b64682
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Sat Oct 16 19:55:44 2021 +0900

    Merge branch 'develop'

commit 338793d
Merge: c82ce92 78ac41a
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Wed Sep 22 22:53:41 2021 +0900

    Merge branch 'develop'

commit c82ce92
Merge: 4b48ba4 cc75620
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Sun Sep 5 16:26:34 2021 +0900

    Merge branch 'develop'

commit 4b48ba4
Merge: 7115bd4 bf7bacc
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Sat Sep 4 20:38:20 2021 +0900

    Merge branch 'develop'

commit 7115bd4
Merge: e967d9d f844838
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Tue Aug 24 14:40:22 2021 +0900

    Merge branch 'develop'

commit e967d9d
Merge: f00ceed c3b55b6
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Tue Aug 24 13:20:30 2021 +0900

    Merge branch 'develop'

commit f00ceed
Merge: df67836 7387e01
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Sat Aug 21 17:59:29 2021 +0900

    Merge branch 'develop'

commit df67836
Merge: 9fd0e90 6a3a8ba
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Tue Aug 17 22:01:46 2021 +0900

    Merge branch 'develop'

commit 9fd0e90
Merge: 42c4ea3 ab01cf1
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Thu Aug 12 12:48:58 2021 +0900

    Merge branch 'develop'

commit 42c4ea3
Merge: df53968 c0ba71c
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Wed Aug 11 22:36:59 2021 +0900

    Merge branch 'develop'

commit df53968
Merge: df530bb 19f753c
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Mon Aug 9 21:47:52 2021 +0900

    Merge branch 'develop'

commit df530bb
Merge: c52e30e fa49427
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Mon Aug 9 21:47:23 2021 +0900

    Merge branch 'develop'

commit c52e30e
Merge: 5e6e1e2 0cb04de
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Sun Aug 8 23:25:21 2021 +0900

    Merge branch 'develop'

commit 5e6e1e2
Merge: 943a194 41fe364
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Mon Jul 26 11:15:42 2021 +0900

    Merge branch 'develop'

commit 943a194
Merge: 12913a1 15d166e
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Fri Jul 23 22:43:47 2021 +0900

    Merge branch 'develop'

commit 12913a1
Merge: acb9244 e23ad78
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Fri Jul 23 21:37:09 2021 +0900

    Merge branch 'develop'

commit acb9244
Merge: d04014f 3182606
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Tue Jul 20 12:11:07 2021 +0900

    Merge branch 'develop'

commit d04014f
Merge: 929e545 e1247b3
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Thu Jun 10 14:03:28 2021 +0900

    Merge branch 'develop'

commit 929e545
Merge: 942c802 3e7a87f
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Mon May 31 13:06:40 2021 +0900

    Merge branch 'develop'

commit 942c802
Merge: 70d02cf e6754eb
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Fri May 21 17:28:39 2021 +0900

    Merge branch 'develop'

commit 70d02cf
Merge: f96c60c ef646b9
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Fri May 21 17:27:47 2021 +0900

    Merge branch 'develop'

commit f96c60c
Merge: 8accb78 9923463
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Tue May 11 14:39:40 2021 +0900

    Merge branch 'develop'

commit 8accb78
Merge: 05203e2 3d7c3c3
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Wed May 5 19:05:50 2021 +0900

    Merge branch 'develop'

commit 05203e2
Merge: b6c9ab0 80f8c2d
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Wed May 5 15:17:53 2021 +0900

    Merge branch 'develop'

commit b6c9ab0
Merge: cdef5cd 1a8f410
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Tue May 4 23:12:53 2021 +0900

    Merge branch 'develop'

commit cdef5cd
Merge: ea7d4d3 2efae80
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Tue May 4 22:53:25 2021 +0900

    Merge branch 'develop'

commit ea7d4d3
Merge: 17fff8c 18da55b
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Wed Apr 28 18:37:48 2021 +0900

    Merge branch 'develop'

commit 17fff8c
Merge: 92977f3 fa9f0d9
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Mon Apr 26 13:00:10 2021 +0900

    Merge branch 'develop'

commit 92977f3
Merge: 8043409 0038f3b
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Sun Apr 25 15:20:39 2021 +0900

    Merge branch 'develop'

commit 8043409
Merge: 37dc1c9 6d145bc
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Sat Apr 24 23:04:59 2021 +0900

    Merge branch 'develop'

commit 37dc1c9
Merge: 6310919 3286c93
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Fri Apr 23 18:25:44 2021 +0900

    Merge branch 'develop'

commit 6310919
Merge: 938fcb3 53d257e
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Sun Apr 18 23:25:55 2021 +0900

    Merge branch 'develop'

commit 938fcb3
Merge: 5e1d17d 3553f3b
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Sun Apr 18 00:07:33 2021 +0900

    Merge branch 'develop'

commit 5e1d17d
Merge: 449dc17 526838c
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Fri Apr 16 00:21:56 2021 +0900

    Merge branch 'develop'

commit 449dc17
Merge: 3e11011 5cb3d86
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Wed Apr 14 16:39:53 2021 +0900

    Merge branch 'develop'

commit 3e11011
Merge: 52d577c e5ba475
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Wed Mar 24 11:34:29 2021 +0900

    Merge branch 'develop'

commit 52d577c
Merge: 18693fb cf757ed
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Mon Mar 22 15:27:08 2021 +0900

    Merge branch 'develop'

commit 18693fb
Merge: f7e9725 cf92420
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Sun Mar 7 14:43:00 2021 +0900

    Merge branch 'develop'

commit f7e9725
Merge: 9a4a534 17dc50c
Author: syuilo <Syuilotan@yahoo.co.jp>
Date:   Sat Mar 6 23:23:54 2021 +0900

    Merge branch 'develop'

commit 9a4a534
Merge: b090ff9 0e89a9f
Author: syuilo <syuilotan@yahoo.co.jp>
Date:   Wed Mar 3 01:04:45 2021 +0900

    Merge branch 'develop'

commit b090ff9
Merge: 3d68a09 68ace4a
Author: syuilo <syuilotan@yahoo.co.jp>
Date:   Sun Feb 28 13:14:26 2021 +0900

    Merge branch 'develop'

commit 3d68a09
Merge: d6c8b9b 3c7a02a
Author: syuilo <syuilotan@yahoo.co.jp>
Date:   Sun Feb 21 13:38:29 2021 +0900

    Merge branch 'develop'

commit d6c8b9b
Merge: 49e6c2e 8bd80eb
Author: syuilo <syuilotan@yahoo.co.jp>
Date:   Fri Feb 19 21:42:47 2021 +0900

    Merge branch 'develop'

commit 49e6c2e
Merge: e4bcdd7 f24c7c8
Author: syuilo <syuilotan@yahoo.co.jp>
Date:   Sun Feb 7 18:23:23 2021 +0900

    Merge branch 'develop'

commit e4bcdd7
Merge: 7747ec5 bce65e2
Author: syuilo <syuilotan@yahoo.co.jp>
Date:   Sat Jan 23 20:06:22 2021 +0900

    Merge branch 'develop'

commit 7747ec5
Author: syuilo <syuilotan@yahoo.co.jp>
Date:   Sat Jan 23 20:05:44 2021 +0900

    Update ja-JP.yml
@xianonn xianonn deleted the xianon-fix-antenna-note branch May 17, 2022 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

アンテナの取得に時間がかかる(or 取得できない) Clips are slow
2 participants