KevySaysBeNice
[H]ard|Gawd
- Joined
- Dec 7, 2001
- Messages
- 1,452
I am writing a program to pull documents out of a content managment system and move them somewhere else.
Anyway, there are around 4 million documents that need to be pulled and processed, but these documents are split up into groups of approx. 100,000.
This process needs to run only ONCE. Once it's complete, it will never run again.
The information I need to pull/process each document is stored in a row in a view I created, but the view is faily complex and is made up with lots of joins, and other joins with more views.
Anyway, my question is, what is the best way (with the smallest cost) to get the results of my database call?
For instance, I know it is possible to store results in a "result set" which I believe still maintains a link to the database, but I believe there are other ways of getting/storing results from a database call. I'm not sure what the best way to store all of this info is, that will be the quickest...
Thanks for any advice!
Anyway, there are around 4 million documents that need to be pulled and processed, but these documents are split up into groups of approx. 100,000.
This process needs to run only ONCE. Once it's complete, it will never run again.
The information I need to pull/process each document is stored in a row in a view I created, but the view is faily complex and is made up with lots of joins, and other joins with more views.
Anyway, my question is, what is the best way (with the smallest cost) to get the results of my database call?
For instance, I know it is possible to store results in a "result set" which I believe still maintains a link to the database, but I believe there are other ways of getting/storing results from a database call. I'm not sure what the best way to store all of this info is, that will be the quickest...
Thanks for any advice!