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

VM vm_cor_taxon_organism non rafraichie #463

Closed
jpm-cbna opened this issue Feb 3, 2023 · 0 comments
Closed

VM vm_cor_taxon_organism non rafraichie #463

jpm-cbna opened this issue Feb 3, 2023 · 0 comments
Assignees
Projects

Comments

@jpm-cbna
Copy link
Contributor

jpm-cbna commented Feb 3, 2023

La VM atlas.vm_cor_taxon_organism n'est pas présente dans le fonction de rafraîchissement des VMs de l'Atlas. En outre, elle ne possède pas d'index et ne peut donc pas être rafraîchie avec l'option CONCURRENTLY.

Il semble nécessaire d'ajouter 2 index à la VM:

CREATE UNIQUE INDEX vm_cor_taxon_organism_cd_ref_id_organism_idx
    ON atlas.vm_cor_taxon_organism
    USING btree (cd_ref, id_organism) ;

CREATE INDEX vm_cor_taxon_organism_id_organism_idx
    ON atlas.vm_cor_taxon_organism
    USING btree (id_organism) ;

Il faudrait aussi ajouter cette VM à la fonction atlas.refresh_materialized_view_data().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
V1.5
Awaiting triage
Development

No branches or pull requests

2 participants