gotosocial/internal/db/bundb
tobi a5852fd7e4
[performance] Speed up some of the slower db queries (#523)
* remove unnecessary LOWER() db calls

* warn during slow db queries

* use bundb built-in exists function

* add db block test

* update account block query

* add domain block db test

* optimize domain block query

* fix implementing wrong test

* exclude most columns when checking block

* go fmt

* remote more unnecessary use of LOWER()
2022-05-02 11:53:46 +01:00
..
migrations [bugfix] use Exec to rename media_attachments (#498) 2022-04-28 08:43:41 +01:00
account.go [performance] Speed up some of the slower db queries (#523) 2022-05-02 11:53:46 +01:00
account_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
admin.go [bug] Fix OIDC users requiring second approval (#371) 2022-01-31 16:03:47 +01:00
admin_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
basic.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
basic_test.go [feature] Clean up/uncache remote media (#407) 2022-03-07 11:08:26 +01:00
bundb.go [feature] Add log-db-queries config option (#465) 2022-04-18 16:47:11 +02:00
bundb_test.go [feature] Clean up/uncache remote media (#407) 2022-03-07 11:08:26 +01:00
bundbnew_test.go [bug] Fix sqlite empty address issue (#370) 2022-01-30 17:06:28 +01:00
conn.go [performance] Speed up some of the slower db queries (#523) 2022-05-02 11:53:46 +01:00
domain.go [performance] Speed up some of the slower db queries (#523) 2022-05-02 11:53:46 +01:00
domain_test.go [performance] Speed up some of the slower db queries (#523) 2022-05-02 11:53:46 +01:00
errors.go go fmt 2022-02-08 12:19:54 +01:00
instance.go [bugfix] Fix infinite domain block database loop (#467) 2022-04-18 17:44:36 +02:00
media.go [feature] Clean up/uncache remote media (#407) 2022-03-07 11:08:26 +01:00
media_test.go [feature] Clean up/uncache remote media (#407) 2022-03-07 11:08:26 +01:00
mention.go [chore] Update Go version to 1.18 (#444) 2022-04-02 15:40:09 +02:00
mention_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
notification.go [chore] Update Go version to 1.18 (#444) 2022-04-02 15:40:09 +02:00
notification_test.go [performance] Database optimizations (#419) 2022-03-07 11:33:18 +01:00
relationship.go [performance] Speed up some of the slower db queries (#523) 2022-05-02 11:53:46 +01:00
relationship_test.go [performance] Speed up some of the slower db queries (#523) 2022-05-02 11:53:46 +01:00
session.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
session_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
status.go [performance] Speed up some of the slower db queries (#523) 2022-05-02 11:53:46 +01:00
status_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
timeline.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
timeline_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
trace.go [performance] Speed up some of the slower db queries (#523) 2022-05-02 11:53:46 +01:00
util.go [feature] Clean up/uncache remote media (#407) 2022-03-07 11:08:26 +01:00