Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: how to speed up dupe checking of arrays

by radiantmatrix (Parson)
on Jul 31, 2007 at 14:45 UTC ( #629840=note: print w/replies, xml ) Need Help??


in reply to how to speed up dupe checking of arrays

Just a thought that a DB could be leveraged here? LOAD DATA INFILE is pretty fast, and SELECT DISTINCT is both easy to code and pretty quick...

<radiant.matrix>
Ramblings and references
The Code that can be seen is not the true Code
I haven't found a problem yet that can't be solved by a well-placed trebuchet

Replies are listed 'Best First'.
Re^2: how to speed up dupe checking of arrays
by ultibuzz (Monk) on Jul 31, 2007 at 14:58 UTC

    we have a oracle 10g on a hp superdome loading all data with sqlloader and direct=true as option takes longer then the dupechecking with perl and then load filtered data in.
    loading the data with perl into the db or normal sqlloader without tunig woud take ages.
    with direct=true the sqlloader pumps in 10million rows in less then 20 sec, without direct=true it takes 10 minutes+ because orcale set commit points and check for data correctness ^^.
    other point is we need several indexes and partiotion groups on it wich woud take hours to create if we used the unfiltered data.

    kd ultibuzz

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://629840]
help
Chatterbox?
[Yaerox]: Is there any recommended perl-module for an CSPRNG in 2016?

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2016-12-06 10:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (101 votes). Check out past polls.