Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct delay in response to a search in ailab-db #38

Open
8 tasks
melanie-fressard opened this issue Oct 31, 2023 · 1 comment · May be fixed by #87
Open
8 tasks

Correct delay in response to a search in ailab-db #38

melanie-fressard opened this issue Oct 31, 2023 · 1 comment · May be fixed by #87
Assignees
Labels
user-visible user-visible (requires QA)

Comments

@melanie-fressard
Copy link
Contributor

melanie-fressard commented Oct 31, 2023

To address louis-finesse issue #14 Delay in Responses (to a query or search) on version v0.1.0, we need to improve the search function.

Tasks :

  • Indexing: If necessary and possible, ensure that appropriate indexes are created on columns used in SQL function. Indexes can significantly speed up data retrieval.
  • Query Analysis: Analyze the SQL queries with the help of tools like the SQL Profiler or EXPLAIN ANALYZE.
  • Data Retrieval: Minimize the amount of data retrieved by queries. Use SELECT statements to fetch only necessary columns and rows. Avoid using SELECT * if possible.
  • Limit and Offset: If applicable, use LIMIT and OFFSET to restrict the number of rows returned, especially for paginated results. This can reduce the amount of data transferred and processed.
  • Partitioning: If dealing with large datasets, partition tables to distribute data across multiple filegroups or disks. This can speed up data access.
  • Index Maintenance: Regularly maintain and rebuild indexes to keep them optimized. Fragmented indexes can slow down query performance.

Expected results :

  • Lower the response time to the following range : 0 ms ≤ t ≤ 500 ms

Testing :

@rngadam
Copy link
Contributor

rngadam commented Nov 1, 2023

the second point is covered by issue #9

your checklist should be a list of task, right now the first point is the objective. if you want to focus, you need to outline the list of steps you need to do to get to that objective.

@k-allagbe k-allagbe modified the milestone: louis_v005 Dec 13, 2023
@k-allagbe k-allagbe added the user-visible user-visible (requires QA) label Jan 24, 2024
@k-allagbe k-allagbe changed the title Correct delay in response to a search Correct delay in response to a search in ailab-db Jan 24, 2024
@rngadam rngadam self-assigned this Mar 20, 2024
@k-allagbe k-allagbe changed the title Correct delay in response to a search in ailab-db Correct delay in response to a search in ailab-db Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
user-visible user-visible (requires QA)
Projects
Status: Todo
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants