Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-13099

Scans as in DynamoDB

    XMLWordPrintableJSON

Details

    • Brainstorming
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • Client, regionserver
    • None

    Description

      cc: saint.ack@gmail.com - as discussed offline.

      DynamoDB has a very simple way to manage scans server side:
      citation
      The data returned from a Query or Scan operation is limited to 1 MB; this means that if you scan a table that has more than 1 MB of data, you'll need to perform another Scan operation to continue to the next 1 MB of data in the table.

      If you query or scan for specific attributes that match values that amount to more than 1 MB of data, you'll need to perform another Query or Scan request for the next 1 MB of data. To do this, take the LastEvaluatedKey value from the previous request, and use that value as the ExclusiveStartKey in the next request. This will let you progressively query or scan for new data in 1 MB increments.

      When the entire result set from a Query or Scan has been processed, the LastEvaluatedKey is null. This indicates that the result set is complete (i.e. the operation processed the “last page” of data).
      citation

      This means that there is no state server side: the work is done client side.

      Attachments

        Activity

          People

            Unassigned Unassigned
            nkeywal Nicolas Liochon
            Votes:
            0 Vote for this issue
            Watchers:
            20 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: