Comments (7)
That's a bug, disabling PG_SUPPORTS_MVIEW in ora2pg 12.0 should have the same behavior as previous version. This was not the case. Commit 5d138aa should solve the issue.
from ora2pg.
Hmm I doesn't seem to change anything...
Having
PG_SUPPORTS_MVIEW 0
in ora2pg.conf and extracting ddl with
../ora2pg-current/blib/script/ora2pg -c ../ora2pg.conf -t "TABLE SEQUENCE"
the output doesn't contain ddl for the mv tables.
from ora2pg.
Please use:
../ora2pg-current/blib/script/ora2pg -p -c ../ora2pg.conf -t MVIEW
and look at your output file.
from ora2pg.
That gives me the the *_mview views for population and the controlling stored procedures but not the ddl for the tables storing the materialized view data...
In 11.4 this table was part of -t TABLE
from ora2pg.
I don't understand. You don't need to create any table, this is done by the create_materialized_view() function.
Once you have imported that code, you have to call create_materialized_view() using the example given at end of the output file. For example, I have:
SELECT create_materialized_view('mv','mv_mview', change with the name of the colum to used for the index);
arguments depends of the name of the view, you also have to change the third to set the column that should be used to construct the index.
i will try to add more explanation in the code.
from ora2pg.
OK. Then I'm missing a bug that were in 11.4.. With 11.4 I got the virtual table containing the materialized data exported as a table as well..
I liked that solution because it meant that I don't have to wait for the materialized view to be created on the postgresql side before it is usable.
It takes 6 hours for me to create the materialized views as pg9.3 mv's.
I looking at ways minimize the downtime during migration but am considering taking the cost during migration so I can use the new pg9.3 mv's..
from ora2pg.
I'll use the pg9.3 mv's instead.
from ora2pg.
Related Issues (20)
- Bug introduced with Commit 5d0ad02
- [Oracle] NOT NULL constraint shows twice in the exported schema
- not able to generate error free procedure migration from oracle to postgres HOT 2
- Issues with SHOW_TABLE not showing all tables in oracle HOT 12
- ora2pg does not convert anydata HOT 1
- Data format of "INTERVAL" type incorrect for PG
- When using relative path the generated relative path is relative to the supplied baseDir not the sql file
- Why ? Aborting export... HOT 2
- STOP_ON_ERROR is ignored for direct data copy indexes re-creation
- DISABLE_PARTITION is ignored while creating indexes
- [Feature Request] Add ON CONFLICT [...] to INSERT statements HOT 3
- CJK characters are removed from index names HOT 2
- Invalid LICENSE value 'GPLv3' ignored HOT 1
- bigint unsigned do not get exported appropriately from MySQL
- ORA-03113: end-of-file on communication channel with ora2pg ver 23.2 under a container HOT 3
- When migrating from MySQL 5.5/5.6 to PostgreSQL, an exception occurs when the column type is ENUM. HOT 2
- need document on list of partitions being supported in Ora2pg Ver 23.2/24.0 and other inputs HOT 1
- When migrating from MySQL 5.1 to PostgreSQL, an exception occurs HOT 1
- REGEXP functions conversion with PG_VERSION 15 HOT 2
- Error when using insert statement in the input file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ora2pg.