I am using SQL*Loader to push lot of CSV files to Oracle database. I am building intelligence using JAVA to create control file's content. Reason is That the nature of data is such that the control file's content changes with every CSV file i get. Or atleast i have to open the control file and perform few checks. I want to save the cost of creating, opening and other costs associated with the file I/O operation. I want to maintain the control file information in memory and and provide that data structure to SQL*Loader command instead of specifying the Control file.
Can Oracle SQL*Loader work without a control file
916 Views Asked by maverick At
1
There are 1 best solutions below
Related Questions in DATABASE
- How to add the dynamic new rows from my registration form in my database?
- How to store a date/time in sqlite (or something similar to a date)
- Problem with add new attribute in table with BOTO3 on python
- When an E-R attribute should be perceived as a relationship attribute or as an entity set attribute?
- SQLAlchemy: efficient relationship loading in 3-way many-to-many relationship
- Cannot connect to Postgres Database when running Quarkus Tests with Gitlab ci
- Local or remote database with react-native?
- I want to edit a specific row in database
- How to enter data in mongodb array at specific position such that if there is only 2 data in array and I want to insert at 5, then rest data is null
- Open Web Library
- database login.py and register.py error showing 404 file not found and doesn't work
- SQL71561: SqlComputedColumn: When column selected
- Liquibase as SaaS To Configure Multiple Database as Dynamic
- Updated max input vars but table still shows error
- Spring does not map set of roles
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 SQL-LOADER
- linux command for invalid month format replace
- Using SQL*Loader with a static column
- FILLER keyword throwing error in external table in oracle
- SQLLDR add header to the bad file
- Create SQLLoader ctl file from SQL Server
- Unable to insert 1 record through sql loader
- Python - Unpacking a DAT file with Hex values and Incompletely
- How to store/query an XML file in Oracle 12.2
- Oracle SQL Loader - how do I replace embedded CR/LF in data?
- How to extract the time component from timestamp column in SQL Loader's control file?
- Oracle sqlldr: Constraints are nor reenabled after finishing batch loading
- Batch File SQL Loader DB Reset
- importing a csv file to oracle database
- While loading the csv file into table using control file, am facing some date format issue. can anyone help me on this?
- How to write code in Perl that updates an Oracle SQL table with the running total and sum of two columns?
Related Questions in CONTROLFILE
- ALTER EXTENSION ERROR : extension "my_extension" has no update path from version "1.0.0" to version "1.0.1"
- USING CASE STATEMENT IN SQL LOADER CONTROL FILE FIXED WIDTH LENGTH
- How can I use a '>' or '<' in the when clause of a control file?
- Error in executing a control file in SQL Loader
- Removing the “ - “ from input file
- sqlloader skips characters during data load into table
- SQL LOADER Control File without fields
- How can I modify Debian control file build depends version?
- Oracle SQL Loader Control File: Upload header in different table using WHEN
- Oracle SQL Loader control file to ignore ellipsis
- Restrict invalid date format data using sql loader
- How do I load millisecond accuracy dates with SQLLDR
- Have to avoid all records having more than one occurrence using control file of a SQL Loader
- How to run a control file in Oracle
- First position of a delimited file is skipped when I read it using SQL LOADER control file
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 # Hahtags
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?
SQL*Loader is the wrong tool for the job. It is designed for repeatable loads. Clearly that's not what you're doing.
And your benchmark for this onerous cost is ... ????
Anyway, if you really want to load from a different file structure each time you need something which can read the file header and generate a dynamic SQL statement for loading the rest of the file's content.
Personally I would choose top use PL/SQL for this, providing I could get the file on to the database server. If I had to load it from the client then maybe a Java program would be the answer. However, transferring the file's content across the network remains the real I/O cost. Getting it delivered to the right server is the best saving on offer in this scenario.