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
915 Views Asked by maverick At
1
There are 1 best solutions below
Related Questions in DATABASE
- When dealing with databases, does adding a different table when we can use a simple hash a good thing?
- How to not load all database records in my TListbox in Firemonkey Delphi XE8
- microsoft odbc driver manager data source name not found and no default driver specified
- Cloud Connection with Java Window application
- Automatic background scan if user edit column?
- Jmeter JDBC Connection Configuration Parametrization of Database URL for accessing SQL Database
- How to grant privileges to current user
- MySQL: Insert a new row at a specific primary key, or alternately, bump all subsequent rows down?
- Inserting and returning autoidentity in SQLite3
- Architecture: Multiple Mongo databases+connections vs multiple collections with Express
- SQL - Adding a flag based on results within a query - best practice?
- Android database query not returning any results
- Developing a search and tag heavy website
- Oracle stored procedure wrapping compile error with inline comments
- Problems communicating with mysql in php
Related Questions in ORACLE
- Column displays each count
- MAX and GROUP BY - SQL
- Best Practice for adding columns to a Table in Oracle database
- Updating an Oracle row with value from same row
- Retrieving data from Oracle database
- Ibatis execute update sql on oracle, it is not working and no exceptions
- Building an sql execution plan history
- Implementation of Rank and Dense Rank in MySQL
- how to update the date field for this specific condition using oracle query?
- Oracle stored procedure wrapping compile error with inline comments
- Android: How to connect oracle database using Android Java code?
- SQL Conditional Join on Columns
- Multi value wildcard search in ibatis
- Get count of consecutive days meeting a given criteria
- How to update the metadata of a layer in Oracle imported through FME Workbench?
Related Questions in SQL-LOADER
- SQL*Loader-704 and ORA-12154
- how to check a directory exist and can write file
- Data filtering performance:sqlldr+triggers or sqlldr+stored procedure?
- sqlldr direct load=true with referential partition options
- Keyword error with SQL*Loader and generated control file
- SQL*Loader Control File Custom Date Format
- Calling os_command.exec from an Oracle stored procedure
- SQL*Loader cannnot load a CSV file that contains multiple lines in one field
- Do SQL Loader discards input data file after load completes
- sqlldr - how to use if/then logic on a field?
- Oracle 12c - SQL Loader Invalid month Error
- SQL Loader input file more columns than table
- Oracle 12c - SQL * Loader conditional load
- How do I replace a value with another value in sql loader?
- field in data file exceeds maximum length in sql loader. I am using in linux. we are getting the data from sybase and using it for oracle
Related Questions in CONTROLFILE
- Oracle 12c - SQL * Loader conditional load
- Can Oracle SQL*Loader work without a control file
- Unable to load large amount of data when running the SQL Loader Process through Java
- Columns with leading underscore in Oracle SQL Loader
- Can variables be passed to a SQL*Loader control file via sqlldr command?
- SQL Loader script help with adding SYSDATE, USER
- How to ignore " while loading data from csv through sql loader
- Oracle SQL Loader Control File: Upload header in different table using WHEN
- load csv file into multiple Oracle tables
- sql loader control file has FIELDS TERMINATED BY ¶ (Pilcrow)
- Discarding rows containing empty string in CSV from uploading through SQL Loader control file
- Is there any way to rename control file in oracle apart from shutting down oracle database? I need to rename control file
- SQLLoader optional lines in a csv-file
- Using varchar in a control file for sqlldr
- Any Explanation for creating CONTROLFILE Statement - Oracle 11g?
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?
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.