I need to extract a oracle staging table to a flat file thru unix batch process.We are expecting more than 4million records in the table.I know I can do it using "UTL_FILE" .But,since "UTL_FILE" takes a lot of time I am looking for better options.Can any body suggest some better options?
I tried spooling but couldn't get the file created in a specific path.Below is the code which I tried.
Unix script
SQL :
Please help.
Last edited by Scott; 09-30-2010 at 01:45 PM..
Reason: Please use code tags
Hi,
I want to extract block of data from flat file.
the data will be like this
start of log
One
two
three
end of log
i want all data between start of log to end of log i.e One
two
three to be copied to another file.
This particular block may appear multiple times in same file. I... (4 Replies)
Hi,
I want to insert data into a table from a flat file, the file is having around 25 columns and some 10,000 records.
The columns values are seperated by a space.
Thanks (1 Reply)
Hi
I would like to know how to load oracle data to unix flat file using a shell script.
Can we use sqlldr to import data from oracle, if so can anyone help me with it. (2 Replies)
I have a flat file with records like
Header
123 James Williams Finance2000
124 Pete Pete HR 1500
125 PatrickHeather Engg 3000
Footer
The structure is:
Eno:4 characters
Name:8 characters
Surname : 9 characters
Dept:7 characters
Sal:4characters
These are sample... (1 Reply)
Input file is on Linux box and the input file has data in just one line with 1699741696 characters.
Sample Input:
<xxx><document coll="uspatfull" version="0"><CMSdoc>xxxantivirus</CMSdoc><tag1>1</tag1></document><document coll="uspatfull"... (5 Replies)
All,
I have a flat file which contains an email address in every line. I am trying to find a way to extract all the email addresses delimited by comma (,). Can you please show me a way, it will be very helpful, thanks. (3 Replies)
All,
Can anyone please help me with the below scenario.
I have a Flat file of the below format.
ID|Name|Level|Type|Zip|MAD|Risk|Band|Salesl|Dealer|CID|AType|CValue|LV|HV|DCode|TR|DU|NStartDate|UserRole|WFlag|EOption|PName|NActivationDate|Os|Orig|Cus|OType|ORequired|DType
03|... (10 Replies)
Hello,
please help me an the below issue.
i need to check whether data is available or not in a flat file generated by oracle
(sometimes sql didn't any records) to overcome this.
without opening flat file.
Thanks....... (1 Reply)
Hi,
I have a flaty file from which i am fetching few columns in tablular form as below code.
Now i want to fetch the column 6 and 7 in below code only if it either of them is non zero.However below startement
awk -F, '$6==0 && $7==0{exit 1}' ${IFILE}
is not working..Not sure where is the... (36 Replies)
Hi All,
I am writing a shell script to extract oracle table into a pipe dilemited flat file. Below is my code and I have attached two files that I have abled to generate so far.
1. Table.txt ==> database extract file
2. flat.txt ==> pipe delimited after some manipulation of the original db... (0 Replies)
Discussion started by: express14
0 Replies
LEARN ABOUT DEBIAN
ruby-prof
RUBY-PROF(1) General Commands Manual RUBY-PROF(1)NAME
ruby-prof - A fast ruby profiler
SYNOPSIS
ruby-prof [options] <script.rb> [ script-options ]
DESCRIPTION
ruby-prof is a fast profiler for ruby. It can be used as a stand-alone program (that this man page documents) or as a ruby library. Simply
run the ruby program you want to profile using ruby-prof : ruby-prof script.rb At the end of execution the time spent in each method is
displayed.
OPTIONS -p, --printer=printer
Select a printer:
flat - Prints a flat profile as text (default).
graph - Prints a graph profile as text.
graph_html - Prints a graph profile as html.
call_tree - format for KCacheGrind
-m, --min_percent=min_percent
The minimum percent a method must take before being included in output reports. This option is not supported for call tree.
-f, --file=path
Output results to a file instead of standard out.
--mode=measure_mode
Select what ruby-prof should measure
process - Use process time (default).
wall - Use wall time.
cpu - Use the CPU clock counter (only supported on Pentium and PowerPCs).
--replace-progname
Replace $0 when loading the ruby source file.
-h, --help
Show help message.
-v, --version
Show version.
SEE ALSO
The ruby-prof website, http://ruby-prof.rubyforge.org/
AUTHOR
ruby-prof was written by Shugo Maeda <shugo@ruby-lang.org>.
This manual page was written by Arnaud Cornet <arnaud.cornet@gmail.com> for the Debian project (but may be used by others).
14 October 2006 RUBY-PROF(1)