Skip to content

Conversation

@Altahrim
Copy link
Collaborator

@Altahrim Altahrim commented Aug 1, 2025

Filters mounts on database side to free some database bandwidth

@Altahrim Altahrim added this to the Nextcloud 32 milestone Aug 1, 2025
@Altahrim Altahrim self-assigned this Aug 1, 2025
@Altahrim Altahrim force-pushed the perf/reduce_mount_db_load branch 2 times, most recently from 9af0815 to 6d38980 Compare August 1, 2025 14:05
@icewind1991
Copy link
Member

related: #51074

@Altahrim Altahrim force-pushed the perf/reduce_mount_db_load branch from 6d38980 to 6dca476 Compare August 1, 2025 14:30
@Altahrim Altahrim marked this pull request as ready for review August 4, 2025 07:53
@Altahrim Altahrim requested a review from a team as a code owner August 4, 2025 07:53
@Altahrim Altahrim requested review from ArtificialOwl, CarlSchwan and sorbaugh and removed request for a team August 4, 2025 07:53
@Altahrim Altahrim added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Aug 4, 2025
Copy link
Contributor

@salmart-dev salmart-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From what I see, the query in getMountsForStorageId has been inlined in this function and extended it with the rules that were previously filtering the rows in PHP.

@Altahrim Altahrim force-pushed the perf/reduce_mount_db_load branch from 6333c81 to ef204ec Compare August 5, 2025 08:38
@Altahrim Altahrim force-pushed the perf/reduce_mount_db_load branch from ef204ec to 8edae4b Compare August 12, 2025 12:01
This was referenced Aug 22, 2025
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
@Altahrim Altahrim force-pushed the perf/reduce_mount_db_load branch from b98479a to 39e2e70 Compare August 26, 2025 06:55
@Altahrim Altahrim enabled auto-merge August 26, 2025 07:54
@Altahrim Altahrim merged commit 7c8c593 into master Aug 26, 2025
205 of 207 checks passed
@Altahrim Altahrim deleted the perf/reduce_mount_db_load branch August 26, 2025 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants