Hey Jared,
 
The current thinking is using a PL/SQL package to create the external flat file.  
 
And I don't have proof, but I am absolutely positive that using UTL_FILE is faster 
then Perl...I just know it is....it's gotta be.......
 
I will take a look at sqlunldr.pl, thanks.
 
CG
 

        -----Original Message----- 
        From: Jared Still [mailto:jkstill@;cybcon.com] 
        Sent: Sat 10/26/2002 10:45 PM 
        To: [EMAIL PROTECTED]; Tim Gorman; Grabowy, Chris 
        Cc: 
        Subject: Re: Flat file generation integrity ideas...
        
        


        I was going to suggest MD5 as well. Though I was thinking of the Perl version.
        
        The DBMS_OBFUSCATION version is fine, but I was thinking of the unload
        method.
        
        Chris, how are you creating the flat files?  UTL_FILE?  SqlPlus?
        
        Perl is much faster than sqlplus, dunno about UTL_FILE, as I haven't
        compared them for speed. (yet)
        
        PL/SQL also requires about 10x more code for this kind of thing than Perl.
        
        You *could* just modify the sqlunldr.pl script in "Perl for Oracle DBA's" to
        add MD5 checksums at the beginning of the line.  You could also easily\
        MD5 the entire file in one line of code.
        
        If you're using C, well, you're just working too hard.  ;)
        
        Jared
        
        On Thursday 24 October 2002 15:24, Tim Gorman wrote:
        > RE: Flat file generation integrity ideas...DBMS_OBFUSCATION_TOOLKIT has an
        > (undocumented) function called MD5 which uses that protocol (MD5) to
        > calculate checksums.  Look at $OH/rdbms/admin/dbmsobtk.sql... -----
        > Original Message -----
        >   From: Jamadagni, Rajendra
        >   To: Multiple recipients of list ORACLE-L
        >   Sent: Thursday, October 24, 2002 12:46 PM
        >   Subject: RE: Flat file generation integrity ideas...
        >
        >
        >   you could also use dbms_utility.get_hash_value ... to compute hash value
        > for the whole row and store that as an additional column. Be syre to use
        > the same parameters on both sides to compute and test, else it will fail
        > the check.
        >
        >   Raj
        >   ______________________________________________________
        >   Rajendra Jamadagni              MIS, ESPN Inc.
        >   Rajendra dot Jamadagni at ESPN dot com
        >   Any opinion expressed here is personal and doesn't reflect that of ESPN
        > Inc. QOTD: Any clod can have facts, but having an opinion is an art!
        
        ----------------------------------------
        Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1"
        Content-Transfer-Encoding: quoted-printable
        Content-Description:
        ----------------------------------------
        

y筅~'"jS",Pi0Š}`.+ r
n2}aZ(׭ŠIǬ9tXmj"'(&'&+&j)b       
b֧w-x,zq9Q2zW߮+&j)b       
b֧ƢgѮڵȭ&^pN^XˊFاzN
r[yb(֢)PԔ@azvzj)b        
bܨz~&bk&axq=&~wfG&


Reply via email to