Skip to content

Start Page slow with large actions table #28707

Closed
@realslacker

Description

@realslacker

Description

I am using Gitea v1.21.3, and my actions table is about 4.5G. I have 87 repos and belong to several orgs with additional repos.

When logging in the initial query to populate the start page takes 45 seconds to run. After adding two indexes the run time is down to 6.5 seconds... still a long time, but better.

New Indexes:

  1. user table created index on:
    • id
    • visibility
    • keep_activity_private
    • type
  2. team_user table created index on:
    • uid

Screenshots

image

Gitea Version

1.21.3

Can you reproduce the bug on the Gitea demo site?

No

Operating System

Windows 10

Browser Version

Firefix 121.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions