-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature / Cursor: Add minimal version of page
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
(server-side-cursor)= | ||
(server-side-cursors)= | ||
|
||
# Server-Side Cursors | ||
|
||
CrateDB implements the SQL Standard feature [F431 (read-only scrollable cursor)], | ||
aka. server-side cursors, aka. portals. | ||
|
||
A cursor is used to retrieve a small number of rows at a time from a query | ||
with a large result set. Such a result set might not be suitable for other | ||
ways of consumption, because its size might be larger than the system memory | ||
of the machines that process it, both server- and client-side. | ||
|
||
With F431, you {ref}`crate-reference:sql-declare` a server-side cursor, | ||
and iterate it, fetching the rows progressively using | ||
{ref}`crate-reference:sql-fetch`. | ||
|
||
|
||
|
||
:::{note} | ||
{material-outlined}`construction;2em` This page is currently under construction. | ||
It includes not even the most basic essentials, and needs expansion. For example, | ||
the "Usage" and "Learn" sections are missing completely, and it's also not in the | ||
same shape like the other pages in this section. | ||
::: | ||
|
||
|
||
[F431 (read-only scrollable cursor)]: https://renenyffenegger.ch/notes/misc/ISO/9075/features/F431 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters