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

update on related table #63

Open
sasog23 opened this issue Jun 22, 2023 · 2 comments
Open

update on related table #63

sasog23 opened this issue Jun 22, 2023 · 2 comments
Assignees

Comments

@sasog23
Copy link

sasog23 commented Jun 22, 2023

if I update the table global.organizations it takes more than 10s
is this normal behaviour ?

SELECT create_immv('servicedesk.hd_677533', '
SELECT h.id, h.created_at, h.updated_at, h.organization_id
, h.customer_id, cust.short_name AS "customer_name"
from servicedesk.helpdesk h
JOIN global.organizations cust on cust.id= h.customer_id
WHERE h.organization_id= 677533
');

@yugo-n
Copy link
Collaborator

yugo-n commented Jul 7, 2023

Could you share your definition of tables and indexes, and the query you used to update a table?

@yugo-n yugo-n self-assigned this Jul 7, 2023
@yugo-n
Copy link
Collaborator

yugo-n commented Jul 7, 2023

In addition, it would be helpful if you could share the result of explain (analyze, verbose) of the udpate query because this contains the execution times of triggers that perform the actual view maintenance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants