選取您的 Cookie 偏好設定

我們使用提供自身網站和服務所需的基本 Cookie 和類似工具。我們使用效能 Cookie 收集匿名統計資料,以便了解客戶如何使用我們的網站並進行改進。基本 Cookie 無法停用,但可以按一下「自訂」或「拒絕」以拒絕效能 Cookie。

如果您同意,AWS 與經核准的第三方也會使用 Cookie 提供實用的網站功能、記住您的偏好設定,並顯示相關內容,包括相關廣告。若要接受或拒絕所有非必要 Cookie,請按一下「接受」或「拒絕」。若要進行更詳細的選擇,請按一下「自訂」。

Table Operations - Comparing the Use of Amazon DynamoDB and Apache HBase for NoSQL
此頁面尚未翻譯為您的語言。 請求翻譯

Table Operations

Amazon DynamoDB and Apache HBase provide scan operations to support large-scale analytical processing. A scan operation is similar to cursors in RDBMS. By taking advantage of the underlying sequential, sorted storage layout, a scan operation can easily iterate over wide ranges of records or entire tables. Applying filters to a scan operation can effectively narrow the result set and optimize performance.

Amazon DynamoDB uses parallel scanning to improve performance of a scan operation. A parallel scan logically sub-divides an Amazon DynamoDB table into multiple segments, and then processes each segment in parallel. Rather than using the default scan operation in Apache HBase, you can implement a custom parallel scan by means of the API to read rows in parallel.

Both Amazon DynamoDB and Apache HBase provide a Query API for complex query processing in addition to the scan operation. The Query API in Amazon DynamoDB is accessible only in tables that define a composite primary key. In Apache HBase, bloom filters improve Get operations and the potential performance gain increases with the number of parallel reads.

In summary, Amazon DynamoDB and Apache HBase have similar data processing models in that they both support only atomic single-row transactions. Both databases also provide batch operations for bulk data processing across multiple rows and tables.

One key difference between the two databases is the flexible provisioned throughput model of Amazon DynamoDB. The ability to increase capacity when you need it and decrease it when you are done is useful for processing variable workloads with unpredictable peaks.

For workloads that need high update rates to perform data aggregations or maintain counters, Apache HBase is a good choice. This is because Apache HBase supports a multi-version concurrency control mechanism, which contributes to its strongly consistent reads and writes. Amazon DynamoDB gives you the flexibility to specify whether you want your read request to be eventually consistent or strongly consistent depending on your specific workload.

下一個主題:

Architecture

上一個主題:

Transaction Model
隱私權網站條款Cookie 偏好設定
© 2025, Amazon Web Services, Inc.或其附屬公司。保留所有權利。