Is stored procedure safe to query a large result set?

This is a discussion on Is stored procedure safe to query a large result set? within the MySQL Database forums, part of the Database Forums category; If we want to do processing on ALL the rows in a table (of a few milions rows), if using ...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-01-2006
howachen@gmail.com
 
Posts: n/a
Default Is stored procedure safe to query a large result set?

If we want to do processing on ALL the rows in a table (of a few
milions rows), if using language such as php, we need to limit the
amount of rows each time and process them chunk by chunk to prevent
memory overflow.

If using Stored Procedure, can this problem solved since data is always
at the server side? No need to divide the data into smaller chunks, and
let say, SELECT * FROM `table1` and loop all the rows using SP

Thanks for any comment.

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:12 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0