|
|
| File Information |
| Description |
This fetch command is useful for SELECT queries on large data sets. First, it runs a query to determine the number of rows being returned, then preallocates the space necessary for the input query's result, then runs the main query, fetching the results in batches.
This allows pulling much more information from a database in a single query than the built-in methods (by using batches to avoid using too much of the Java heap) and does this much faster (by preallocating space for the output).
Note for r2013a: This functionality is now built into the 'fetch' command in the Database Toolbox. See the documentation for that command. |
| Required Products |
Database Toolbox
MATLAB
|
| MATLAB release |
MATLAB 7.14 (R2012a)
|
| Other requirements |
Database accessible with ODBC or JDBC driver; Statistics Toolbox in order to use dataset type |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 09 Apr 2013 |
Added a note that this file is unnecessary in r2013a and later, as the functionality is now built in. |
|
Contact us