Reading from a very large table using multiple threads (Java ) and writing them to a single file
        Posted  
        
            by 
                user2534926
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by user2534926
        
        
        
        Published on 2013-06-29T16:18:28Z
        Indexed on 
            2013/06/29
            16:21 UTC
        
        
        Read the original article
        Hit count: 172
        
I am currently facing a situation where i have a table with almost 80 millions data and i have to take a dump of that table and store it into a csv file. Currently i am using a not so professional approach( with a perl script+DBI interface , printing the values to stdout and redirecting to a csv file). Now i am planning to use java threading approach. Can you suggest a way forward. Thanks in advance
© Stack Overflow or respective owner