Understand cost approximations for table creates and writes based on statement size.
Every byte contributes to the cost associated with database mutating queries, and we're always working to reduce costs with the goal of being cost competitive with web2 databases. The tables highlighted below provide estimates for creating and writing data where each shows the following:
- Size of the statement in bytes (B).
- Cost in the chain's native crypto token or USD.
- These costs mapped per megabyte (MB).
Please be sure to perform your own tests to understand price implications since the live market impacts the price of any on-chain transaction. For these estimates, the following market prices (USD) are hardcoded in the calculation:
- ETH price: $1600.00
- MATIC price: $1.10
Note that all chains' native token is ETH, except for Polygon (uses MATIC).
|Chain||Create size (B)||Create cost (ETH)||Create cost (USD)||Create cost (ETH/MB)||Create cost ($/MB)|
|Chain||Write size (B)||Write cost (ETH)||Write cost (USD)||Write cost (ETH/MB)||Write cost ($/MB)|