How to read large number of rows efficiently using Zend_Db?

Posted by Alex N. on Stack Overflow See other posts from Stack Overflow or by Alex N.
Published on 2010-05-19T21:39:26Z Indexed on 2010/05/19 21:40 UTC
Read the original article Hit count: 129

Filed under:
|
|
|

Is there a simple :) and efficient way or reading very large number of rows sequentially using Zend_Db?

Basically I need to process entire table, row by row. Table is large, primary key sequence is not guaranteed(i.e. not an autoincrement, but is UNSIGNED INT). What's the best way to approach this?

Environment: PHP 5.2, Zend Framework 1.10, MySQL 5.1

© Stack Overflow or respective owner

Related posts about zend-db

Related posts about mysql