Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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...

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

Comment on Re: how to speed up dupe checking of arrays
Select or Download Code
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://629840]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2016-02-09 08:31 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (309 votes), past polls