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

[Housekeeping] Remove unused index on execution error code #5675

Open
2 tasks done
katrogan opened this issue Aug 20, 2024 · 2 comments
Open
2 tasks done

[Housekeeping] Remove unused index on execution error code #5675

katrogan opened this issue Aug 20, 2024 · 2 comments
Labels
housekeeping Issues that help maintain flyte and keep it tech-debt free

Comments

@katrogan
Copy link
Contributor

Describe the issue

See

ErrorKind *string `gorm:"index"`

indicies slow down writes and come with an I/O overhead. We should clean up any that are unused

What if we do not do this?

Impact on perf for writes to executions table in flyteadmin

Related component(s)

flyteadmin

Are you sure this issue hasn't been raised already?

  • Yes

Have you read the Code of Conduct?

  • Yes
@katrogan katrogan added the housekeeping Issues that help maintain flyte and keep it tech-debt free label Aug 20, 2024
@katrogan
Copy link
Contributor Author

cc @eapolinario

Copy link

runllm bot commented Aug 20, 2024

The issue you described pertains to removing an unused index on the execution error code in the execution model to improve write performance. According to the execution model, the ErrorCode field is indexed, which can indeed slow down write operations due to the additional I/O overhead.

Would you like more detail on how to identify and remove this index, or any other specific aspect of this issue?

Sources:


This is an AI-generated response and your feedback is appreciated! Please leave a 👍 if this is helpful and 👎 if it is not.

Mention @RunLLM to ask follow-up questions. See runllm.com for more!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
housekeeping Issues that help maintain flyte and keep it tech-debt free
Projects
None yet
Development

No branches or pull requests

1 participant