Skip to content

optimized members materialized view#803

Merged
themarolt merged 2 commits intomainfrom
bugfix/members-mv-is-slow-to-refresh
Apr 24, 2023
Merged

optimized members materialized view#803
themarolt merged 2 commits intomainfrom
bugfix/members-mv-is-slow-to-refresh

Conversation

@themarolt
Copy link
Copy Markdown
Contributor

@themarolt themarolt commented Apr 24, 2023

Changes proposed ✍️

What

🤖 Generated by Copilot at 804aaa8

This pull request updates the database schema and the memberActivityAggregatesMVs materialized view to support multiple usernames per member per platform and to optimize the performance and storage of the member data. It renames and drops some columns, changes some constraints and default values, and modifies the query logic for the materialized view. The changes are implemented in two migration files: U1682340963__optimized-members-mv.sql and V1682340963__optimized-members-mv.sql.

🤖 Generated by Copilot at 804aaa8

usernameOld now
Optimizing member data
Autumn leaves fall fast

Why

How

🤖 Generated by Copilot at 804aaa8

  • Optimize member data performance and storage by dropping and recreating materialized view and modifying tables (link, link)

Checklist ✅

  • Label appropriately with Feature, Improvement, or Bug.
  • Add screehshots to the PR description for relevant FE changes
  • New backend functionality has been unit-tested.
  • API documentation has been updated (if necessary) (see docs on API documentation).
  • Quality standards are met.

@themarolt themarolt added the Bug Created by Linear-GitHub Sync label Apr 24, 2023
@themarolt themarolt requested a review from epipav April 24, 2023 12:57
@themarolt themarolt merged commit 98f6246 into main Apr 24, 2023
@themarolt themarolt deleted the bugfix/members-mv-is-slow-to-refresh branch April 24, 2023 13:18
joanreyero pushed a commit that referenced this pull request Apr 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Created by Linear-GitHub Sync

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants