× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



From: Matt Olson
I don't need to regurgitate already available documentation,
please use google for more insight.

From only your source code, it wasn't THAT clear what to search on. I finally came upon a Microsoft reference to SqlBulkCopy, which appears to be quite comparable to the IBM i CPYF command. Here's a CL program that appends 1,000,000 rows from one table to another:

http://pastebin.com/5c0snQN8


Here's an RPG program that calls the CL from within a loop 130 times (to generate 130,000,000 rows):

http://pastebin.com/tKeJ6r15


That entire process completes in 93 seconds, so there's evidently some optimization to be achieved by doing bulk copies of physical file members.

But these kinds of exercises are something of a distraction from the topic of handling Big Data because they are simply tests of single threaded jobs running against single database tables. Products like MemSQL and VoltDB are mostly about partitioning tables into smaller chunks and updating and reading them from parallel servers.

-Nathan


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.