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 Issue migrating data in json column (like https://github.com/darold/ora2pg/issues/1745) HOT 1
- lo_import _table_name.sh script issue
- geometry wrongly exported when there is a "hole" in the geometry
- Mysql migration HOT 1
- Migrating From SQL Server to Postgres with Ora2pg Is very Slow HOT 1
- Request for sha256sum on downloads HOT 1
- Config option to override the NLS_TIMESTAMP_FORMAT or such encoding parameters used by Ora2pg HOT 1
- Invalid check constraint conversion to PostgreSQL format while exporting schema from Oracle HOT 1
- OUT OF MEMORY EVEN THOUGH SERVER HAS OVER 16GB FREE RAM HOT 2
- [ORACLE]Slow export of BLOB and CLOB from HOT 7
- Reading the ora2pg assessment report HOT 6
- Mysql to postgresql migration HOT 9
- ERROR : DBI::db=HASH(0x29c1784f2e8)->disconnect invalidates 1 active statement handle HOT 3
- Wrong argument "extra_param OPAQUE" in function with OUT arguments (regression in release 24.3) HOT 1
- Wrong change in translation of "is not null" clause (regression in release 24.3) HOT 1
- Extract data query errorring out HOT 6
- Oracle column aliases (after TRIM function) are syntactically incorrect due to small bug introduced in commit 66f4fc37 HOT 1
- Issue in migrating from SQL Server to CloudSQL Postgres HOT 4
- Foreign server always generated with default port HOT 3
- Export data with CLOB is too slow HOT 7
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.