Coder Social home page Coder Social logo

Comments (4)

loicmathieu avatar loicmathieu commented on August 16, 2024 1

I checked and both queries correctly use the indices in both local and the preview env.

On the preview env, there is 22 millions logs in the table, which is huge regarding the sizing of the database so there is little we can do except purging the table or allowing more resources to the database.

The database instance is never purged so there is one year of history in it.

There may be a slight performance improvement doable in one of the two queries thought, I can propose it but it will not any huge improvement in the dashboard as it is really an issue with the database instance that is too small to cope with such a large table.

from kestra.

loicmathieu avatar loicmathieu commented on August 16, 2024

@anna-geller as I said, this is due to a too small database instance / not purged database, I think this visualization provides useful information so I don't think it'll be a good idea to remove it just be we deploy Kestra with a too small database and don't purge our preview instance (I'm working on it).

If you still think we should remove it, we can remove the list of error logs and keep the logs histogram, this is the slowest visualization of the two, this will reduce load on the database (also those calls are made twice, I already opened an issue about it).

from kestra.

anna-geller avatar anna-geller commented on August 16, 2024

We should remove it because there is a risk some users don't purge the logs and their main dashboard doesn't load then. We will find a smarter way to present that information, a topic for the onsite:)

from kestra.

anna-geller avatar anna-geller commented on August 16, 2024

superseded by #3822

from kestra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.