Throttle Query Results in ACT and Aster Database - Aster Client

Teradata Aster® Client Guide

Product
Aster Client
Release Number
7.00
Published
May 2017
Language
English (United States)
Last Update
2018-04-13
dita:mapPath
hki1475000360386.ditamap
dita:ditavalPath
Generic_no_ie_no_tempfilter.ditaval
dita:id
B700-2005
lifecycle
previous
Product Category
Software

To reduce the memory footprint of ACT and other Aster Database clients, you can set a fetch-count that constrains the number of rows returned at one time when you select from a large table. You can limit the total number of rows returned by using fetch-limit. Additionally, you can make your query results stream more efficiently by using the server-side cursors feature. In ACT, you can set these parameters using \set, and in other clients you can typically set them in your data source definition or parameters file.

Let’s look at fetch-count first.