@@ -9077,23 +9077,26 @@ See [Oracle Database Objects and Collections](#objects).
9077
9077
9078
9078
#### <a name="pagingdata"></a> 15.1.7 Limiting Rows and Creating Paged Datasets
9079
9079
9080
- Query data is commonly broken into small sets for two reasons :
9080
+ Query data is commonly broken into one or more sets :
9081
9081
9082
- - 'Web pagination' that allows moving from one set of rows to a next ,
9083
- or previous, set .
9082
+ - To give an upper bound on the number of rows that a query has to process ,
9083
+ which can help improve database scalability .
9084
9084
9085
- - Fetching of consecutive small sets of data for processing. This
9086
- happens because the number of records is too large for Node.js to
9087
- handle at the same time.
9085
+ - To perform 'Web pagination' that allows moving from one set of rows to a next,
9086
+ or previous, set on demand.
9087
+
9088
+ - For fetching of all data in consecutive small sets for batch processing. This
9089
+ happens because the number of records is too large for Python to handle at the
9090
+ same time.
9088
9091
9089
9092
The latter can be handled by [ResultSets](#resultsethandling) or
9090
9093
[` queryStream ()` ](#querystream) with one execution of the SQL query as
9091
9094
discussed in those links.
9092
9095
9093
- How to do 'web pagination' is discussed in this section. For each
9094
- 'page' of results, a SQL query is executed to get the appropriate set
9095
- of rows from a table. Since the query will be executed more than
9096
- once, make sure to use bind variables for row numbers and row limits.
9096
+ 'Web pagination' and limiting the maximum number of rows are discussed in this
9097
+ section. For each 'page' of results, a SQL query is executed to get the
9098
+ appropriate set of rows from a table. Since the query will be executed more
9099
+ than once, make sure to use bind variables for row numbers and row limits.
9097
9100
9098
9101
Oracle Database 12c SQL introduced an ` OFFSET ` / ` FETCH ` clause which
9099
9102
is similar to the ` LIMIT ` keyword of MySQL. See [Row Limiting:
0 commit comments