Skip to content

Performance issues at AlaSQL database queries - response time of several minutes #1027

@airpressurerecords

Description

@airpressurerecords

Hello,

I am using AlaSQL in a Node.js application.

What I do in build time:

  1. load JSON files into JSON objects.
  2. create database with 3 tables based on that files.
  3. fill the table with the JSON objects
    The total amount of data sets is about 2500.

What I do in runtime:
AlaSQL queries, which need to be synchronous and have 2 joins, so all 3 tables are included.

Issue:
When I query the data I get a response time of several minutes. Does anyone know how to fix that or how to do it better?

What I tried:

  • adding primary key (index) to data sets
  • reducing data
    Unfortunately did not work

Thank you in advance.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions