Skip to content

SQL query to get random articles is inefficient #1058

@rao107

Description

@rao107

Discussed in #1057 (comment)

Currently the SQL query to get a random article uses "ORDER BY RAND()" which generates a random number for each article and sorts. It's fine for now since we don't have a lot of usage but this should eventually be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions