You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add hub_member_id to all tables in the studio that contain hub_customer_id.
All stories in our ecosystem unfold from hub_customers, which is the unit of human connection, and all entities derived from human actions also have a foreign key column called hub_customer_id. The reason they do not directly have hub_member_id is because of the normalization principle of not recording duplicate or referrable data.
However, because of this, it is difficult to create an index for "sorting", so the page-by-page query APIs may be slow. Therefore, as the first plan for backend performance tuning, we will directly record hub_member_id in the main table of the studio, slightly denormalize the tables existing in the page-by-page query APIs, and realize fast sorting through the index.
Add
hub_member_id
to all tables in the studio that containhub_customer_id
.All stories in our ecosystem unfold from
hub_customers
, which is the unit of human connection, and all entities derived from human actions also have a foreign key column calledhub_customer_id
. The reason they do not directly havehub_member_id
is because of the normalization principle of not recording duplicate or referrable data.However, because of this, it is difficult to create an index for "sorting", so the page-by-page query APIs may be slow. Therefore, as the first plan for backend performance tuning, we will directly record
hub_member_id
in the main table of the studio, slightly denormalize the tables existing in the page-by-page query APIs, and realize fast sorting through the index.The text was updated successfully, but these errors were encountered: