Skip to content

Too slow when do the big table join  #130

@jensenw-pki

Description

@jensenw-pki

MyDatabase.zip
The database query is very slow when do the join with two table(20k records, need about 4 minutes), i tried to use the DB Browser for SQLite to access the same database file and get the same result. But in our android team, they use another ORM library to generate the database, the data access is fast(the same query only need about 100ms). is there any parameter need to be changed when generate the database file?
Attached the database file, and the left join statement is:
select Person.name , Home.address from Person left join Home on Person.home = Home.Id

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions