-
Notifications
You must be signed in to change notification settings - Fork 18
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
Versie 2 van de bag en brk views #434
Conversation
PR uitgebreid met materialized views en indices |
--REFRESH MATERIALIZED VIEW m2_benoemd_obj_locatie_adres; | ||
--REFRESH MATERIALIZED VIEW m2_volledig_adres; | ||
|
||
set session authorization flamingo; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dit moet er straks wel uit voor productie anders gaat er van alles mis; de installatiehandleiding schrijft voor dat sql door de schema eigenaar wordt uitgevoerd
…anders dan wanneer bron is mutaties van kadaster
Ik heb de naam van de view in de code aangepast naar
|
Merge master naar bag-brk-views-v2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
voor sqlserver moet alles nog gedaan worden, voor oracle moet 105_...sql nog verwijderd.
datamodel/extra_scripts/postgresql/105_appartements_rechten.sql
Outdated
Show resolved
Hide resolved
22-6-2018 | ||
*/ | ||
-- DROP VIEWS | ||
--drop view v_adres cascade; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dit is geen geldige oracle sql, in 11.2 is er wel drop view <view> cascade constraints
--DROP INDEX m_benoemd_obj_adres_identif cascade; | ||
--DROP INDEX m_ben_obj_adr_geom_idx cascade; | ||
|
||
--INSERT INTO gt_pk_metadata (table_schema, table_name, pk_column, pk_policy) VALUES ('basis', 'v_pand', 'objectid', 'assigned'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
er moet ook een basis
schema worden gemaakt.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
basis
doen we niet, te veel problemen met andere database smaken
versie 2 | ||
26-6-2018 | ||
*/ | ||
--drop view v_subject cascade; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dit is geen geldige oracle sql, in 11.2 is er wel drop view cascade constraints
Geen probleem als we geen
|
…ijk met de postresql versie
- transformatie uitgezet zodat spatial niet nodig is - datum als tekst yyyy-mm-dd, zodat onvolledige datum opgenomen kunnen worden BRK met data getest, BAG nog niet getest met data
Versie 2 BAG / BRK scripts voor MS SQL Server
…ze.sql en verwerk 120_increase_identifsize eerder dan het aanmkane van de views
@cvanlith Wat doen we bij de upgrades? droppen? of laten staan, maar niet meer aanmaken bij nieuwe instanties? In Ik heb een PR (#505) klaar die ervan uitgaat dat we deze tabel niet meer nodig hebben;
|
…re_all_kad_perceel
dus basis functie van de enterprise database, zie: https://docs.oracle.com/cd/E11882_01/appdev.112/e11830/sdo_locator.htm#CFACCEEG
…ws met vb resp. mb
1713547
to
0d23ad2
Compare
…lemen in de oracle V2 views
Dit is de tweede versie van de BAG en BRK views. Deze versie moet zorgen voor een beter onderhoudbare situatie van de views. De meest gebruikte combinaties van de vele RSGB-tabellen zijn hier al samengevoegd. Doel is dat voor klantspecifieke versie nog slechts een extra niveau van views nodig zal zijn.
Tijdens de review van deze views moet nagegaan worden of inderdaad de meest gevraagde informatie via de views nu beschikbaar is. Het is waarschijnlijk nodig nog archief-informatie toe te voegen in een volgende versie.
databases