Skip to content

changement du cycle de mise à jour de la VM VM_STAT_DOSSIER_PAR_COMMUNE #186

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

Open
wants to merge 2 commits into
base: gestiongeo
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
/*
Création de la vue VM_STAT_DOSSIER_PAR_COMMUNE regroupant les informations des dossiers de levés nécessaires à leur gestion par les géomètres et les photo-interprètes.
*/
/*
DROP MATERIALIZED VIEW G_GESTIONGEO.VM_STAT_DOSSIER_PAR_COMMUNE;
DELETE FROM USER_SDO_GEOM_METADATA WHERE TABLE_NAME = 'VM_STAT_DOSSIER_PAR_COMMUNE';
*/

CREATE MATERIALIZED VIEW G_GESTIONGEO.VM_STAT_DOSSIER_PAR_COMMUNE("OBJECTID", "CODE_INSEE", "COMMUNE", "ETAT", "NOMBRE_DOSSIER", "GEOM")
REFRESH ON DEMAND
FORCE
REFRESH FORCE ON DEMAND START WITH TO_DATE('2022/09/20 12:00:00', 'YYYY/MM/DD HH:MI:SS') NEXT(SYSDATE+6/24)
DISABLE QUERY REWRITE AS
WITH
C_1 AS(
Expand Down Expand Up @@ -54,7 +58,7 @@ PRIMARY KEY (OBJECTID);
-- 4. Création de l'index spatial
CREATE INDEX VM_STAT_DOSSIER_PAR_COMMUNE_SIDX
ON G_GESTIONGEO.VM_STAT_DOSSIER_PAR_COMMUNE(GEOM)
INDEXTYPE IS MDSYS.SPATIAL_INDEX
INDEXTYPE IS MDSYS.SPATIAL_INDEX_V2
PARAMETERS(
'sdo_indx_dims=2,
layer_gtype=POINT,
Expand Down