Closed khoroshevskyi closed 11 months ago
two questions:
order by
clause change the time?project_value
? not sure it's worth it...1) Order by is not changing the time. 2) It's impossible, because project_value sometimes includes >1000 Samples, And project_value is the biggest column 3) If we won't query this information, than we won't have description in namespace window:
This issue was solved by adding new column description
to the projects table in the database
In geo namespace(more then 160K projects) I clicked End (to see the last projects in the geo namespace). It broke pephub. The reason of this slow execution time of the db query.
Reason:
Slow execution
To query description from the project value
project_value ->> 'description'
it takes more then a minute to execute this query (Query complete 00:01:10.094):Fast execution
To query all project, without extracting description from project_value takes around second (Query complete 00:00:01.195)
Proposed solutions
1) #71 2) Move description into separate column (easier solution:) )