honkoma/lib/mix/tasks/pleroma
faried nawaz 5be9d13981
a better query to delete from hashtags
old query:

Delete on hashtags  (cost=5089.81..5521.63 rows=6160 width=18)
   ->  Hash Semi Join  (cost=5089.81..5521.63 rows=6160 width=18)
         Hash Cond: (hashtags.id = ht.id)
         ->  Seq Scan on hashtags  (cost=0.00..317.28 rows=17528 width=14)
         ->  Hash  (cost=5012.81..5012.81 rows=6160 width=20)
               ->  Merge Anti Join  (cost=0.70..5012.81 rows=6160 width=20)
                     Merge Cond: (ht.id = hto.hashtag_id)
                     ->  Index Scan using hashtags_pkey on hashtags ht  (cost=0.29..610.53 rows=17528 width=14)
                     ->  Index Scan using hashtags_objects_pkey on hashtags_objects hto  (cost=0.42..3506.48 rows=68158 width=14)

new query:

Delete on hashtags ht  (cost=0.70..5012.81 rows=6160 width=12)
   ->  Merge Anti Join  (cost=0.70..5012.81 rows=6160 width=12)
         Merge Cond: (ht.id = hto.hashtag_id)
         ->  Index Scan using hashtags_pkey on hashtags ht  (cost=0.29..610.53 rows=17528 width=14)
         ->  Index Scan using hashtags_objects_pkey on hashtags_objects hto  (cost=0.42..3506.48 rows=68158 width=14)
2021-05-08 02:00:43 +05:00
..
ecto Merge branch 'ecto-rollback-in-test-env' into 'develop' 2021-02-26 16:47:53 +00:00
app.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
benchmark.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
config.ex suggestion 2021-03-23 17:27:02 +03:00
count_statuses.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
database.ex a better query to delete from hashtags 2021-05-08 02:00:43 +05:00
digest.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
docs.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
ecto.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
email.ex Also make this maybe_ for consistency 2021-02-04 14:33:49 -06:00
emoji.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
frontend.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
instance.ex fix format 2021-01-28 10:20:25 +00:00
notification_settings.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
openapi_spec.ex OpenAPI spec task: Load pleroma application to get version info 2021-02-09 22:10:09 +03:00
refresh_counter_cache.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
relay.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
robots_txt.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
uploads.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
user.ex Ensure consistent behavior between pleroma.user activate/deactivate mix tasks 2021-01-25 10:48:28 -06:00