Skip Navigation
lemmy Server Performance backwards from PostgreSQL data to Rust code and TRIGGER FUNCTION logic, listed observations
  1. post primary key has gaps in it, the sequence is being used for transactions that are later canceled or some kind of orphan posts? This is observable from incoming federation posts from other instances.

  2. comment_aggregates has a unique id column from comment table id column. There is a one to one row relationship. Can the logic be reworked to eliminate the extra column and related INDEX overhead?

  3. Related to 2... Same issue probably exist in post_aggregates table and others that have one to one join relationships.

0
zzTesting Lemmy moderation - please ignore @lemm.ee RoundSparrow @ BT @bulletintree.com
Test Post A-003
0
zzTesting Lemmy moderation - please ignore @lemm.ee RoundSparrow @ BT @bulletintree.com
Test Post A-002
0
zzTesting Lemmy moderation - please ignore @lemm.ee RoundSparrow @ BT @bulletintree.com
Test Post A-001
0
zzTesting Lemmy moderation - please ignore @lemm.ee RoundSparrow @ BT @bulletintree.com
Test Post A-000
0
zzTesting Lemmy moderation - please ignore @lemm.ee RoundSparrow @ BT @bulletintree.com
Please make this user a mod
0
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)RO
RoundSparrow @ BT @bulletintree.com

"Finnegans Wake is the greatest guidebook to media study ever fashioned by man." - Marshall McLuhan, Newsweek Magazine, page 56, February 28, 1966.

I have never done LSD or any other illegal drugs, but I have read FInnegans Wake: www.LazyWake.com

Lemmy tester, "RocketDerp" is my username on GitHub

Posts 6
Comments 0
Moderates