Our Application is on Oracle 19C where in table we have clob columns where were store json object as string. We have to migrate to PostGres(14). We are using ora2pg tool to generate ddl and also data migration. CLOB columns were modeled as text in postgres. I want to insert/copy the column values as large object so that table only holds reference to text. We have tried --lo_import, but its documentation says its for Blob. Is there a config we can use to make sure data inserted/copied goes in large object format.
How to import CLOB column in Oracle to large object in Postgres using Ora2PG
268 Views Asked by user3750853 At
1
There are 1 best solutions below
Related Questions in POSTGRESQL
- Only the first SQL script gets executed inside Docker Postgres container
- Compare fields in two tables
- Hibernate ClobJdbcType bindings: what are the diferences?
- Postgres && statement Error in Mybatis Mapper?
- Can this query be optimized? (Choosing a random row to insert, that excludes previously inserted Rows)
- Connection terminated unexpectedly while performing multi row insert using pg-promise
- Processing multiple forms in nodejs and postgresql
- How to copy data from SQLite to postgreSQL?
- PGAdmin4 configured behind a reverse proxy but unable to connect to Postgresql server
- Updates to pgsodium encrypted values don't use specified key_id
- Connecting to Postgres running in a Docker container using psql
- Can't connect to local postgresql server from my docker container
- Django Arrayfield migration to cloud sql (Postgresql) not creating the column
- Get list of matching keywords for each post
- docker-compose can't reset postgresql database
Related Questions in ORACLE
- sqlplus myusername/mypassword@ORCL not working with Oracle on Docker
- Oracle setting up on k8s cluster using helm charts enterprise edition
- Oracle Managed Data Access Client can't work from IIS but work for local debug environment
- If composite indexing created - indexing is called?
- Oracle Http server ISNT-07551
- why here not creating table?
- Data migration from Oracle Database Clob to GCP Bucket
- SQL Alchemy custom type, forcing blob bind parameter
- How to send message to syslog agent in plsql
- Whatever the data available in previous record it should add to the new record
- I have an Oracle SQL query that is giving me a "ORA-00918: column ambiguously defined" error on a line that is a comment line
- 'ORA-12170: TNS:Connect timeout occurredORA-12170: TNS:Connect timeout occurred' ERROR while working on oracle with laravel
- Is their any way i can open parallel query tabs
- VSCode Libraries not showing for New Java Project
- I can't ssh to my instance, Connection refused
Related Questions in CLOB
- Hibernate ClobJdbcType bindings: what are the diferences?
- Data migration from Oracle Database Clob to GCP Bucket
- How to pass a CLOB pramater to a PL/SQL procedure call in Python
- Convert BASE64 to a BLOB in PL/SQL
- EF 6.2 string to Oracle DB CLOB error - ORA-22275
- Oracle Clob data type and java.sql.ResultSet.getString() working?
- Extracting all lines from CLOB that begin with a letter or digit
- XMLTABLE to extract values from CLOB XML with multiple attributes
- The minimum size of Oracle LOB
- Oracle - Updating CLOB Column
- Oracle - Typing to insert / update CLOB column
- Oracle : Insert text with </br> right before existing text
- Informatica PowerCenter - How to get all occurrences of a string and its subsequent values from CLOB field in source table
- How to handle deprecated warning for CLOB_DURATION_SESSION
- How to save varchar2 column in oracle using PySpark?
Related Questions in ORA2PG
- Ora2pg migrate from dmp file with blobs
- Migration oracle to postgres accents
- Export file generated empty with ora2pg type COPY while migrating from oracle to postgreSQL
- Migration oracle to postgres
- ora2pg map a column into 2 columns
- Ora2Pg: How to convert int IDs into uuid IDs
- How to import CLOB column in Oracle to large object in Postgres using Ora2PG
- convert function from oracle to postgres
- on RHES 7.7, using tool ora2pg, importing data from oracle fails with error Can't locate DBD/Pg.pm in @INC
- ora2pg "number of rows extracted" vs "Scanning table"
- PostgreSQL User Defined Type Conversion from Oracle - CREATE TYPE <name> AS TABLE OF <type>
- UUID instead of GUID (Oracle to Postgres)
- Ora2PG REPLACE_AS_BOOLEAN property and exclude one column by replacing
- how to find and fix non utf8 character in oracle tables and fix the data for migration to postgres
- ora2pg (Unicode surrogate U+DBC0 is illegal in UTF-8)
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Don't use large objects. They are obsolescent and have all kinds of nasty problems. By all means, use
jsonborjsonas target data type (which one depends on how you plan to use the data).