You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, transaction files are separate from the manifest. They are only locatable from the manifest itself. Thus, if you want to read the transaction data for a given version, it requires two hops: first, read the manifest to figure out the transaction file path, then read the transaction file itself. This also means the commit path requires at least two iops, since you need to write two different objects.
Instead, we should put the transaction file within the manifest. If the manifest is small enough, that means when we read the footer we will also get the transaction data for free. (We already read data with a minimal block size.) For larger manifests, we won't read this data, unless requested.
This will take writes from 3 write IOPS to 2 write IOPS, by combining the transaction file and manifest writes. When there are conflicts, and we need to read the conflicting transactions, this will often result in fewer IOPS as well, since we can read the transaction information in one IOP instead of two.
The text was updated successfully, but these errors were encountered:
Currently, transaction files are separate from the manifest. They are only locatable from the manifest itself. Thus, if you want to read the transaction data for a given version, it requires two hops: first, read the manifest to figure out the transaction file path, then read the transaction file itself. This also means the commit path requires at least two iops, since you need to write two different objects.
Instead, we should put the transaction file within the manifest. If the manifest is small enough, that means when we read the footer we will also get the transaction data for free. (We already read data with a minimal block size.) For larger manifests, we won't read this data, unless requested.
This will take writes from 3 write IOPS to 2 write IOPS, by combining the transaction file and manifest writes. When there are conflicts, and we need to read the conflicting transactions, this will often result in fewer IOPS as well, since we can read the transaction information in one IOP instead of two.
The text was updated successfully, but these errors were encountered: