- Newest
- Most votes
- Most comments
The behavior you're observing is expected and aligns with how Amazon S3 Metadata works. S3 Metadata doesn't automatically capture metadata for objects that existed in your general purpose bucket before you created the metadata table configuration. It only captures metadata for change events (such as uploads, updates, and deletes) that occur after you've set up the metadata table configuration.
In your case, if you have 40,000 objects in your bucket but only 44 records in the metadata table, it suggests that only 44 objects have been added, updated, or deleted since you created the metadata table configuration. The pre-existing objects are not automatically included in the metadata table.
To have metadata for all objects in your bucket, you would need to either:
- Create the metadata table configuration before adding any objects to the bucket.
- Perform an action (like a copy-in-place operation) on the existing objects after creating the metadata table configuration, which would trigger metadata capture for those objects.
It's important to note that S3 Metadata is designed to reflect the latest changes to your data, updating the metadata table within minutes of any changes to the bucket. However, it does not retroactively capture metadata for objects that were already in the bucket when the configuration was created.
If you need metadata for all objects, including those that existed before the metadata table configuration, you might need to consider alternative approaches or wait for potential future enhancements to the S3 Metadata feature.
Sources
Accelerating data discovery with S3 Metadata - Amazon Simple Storage Service
Configuring metadata tables - Amazon Simple Storage Service
Announcing Amazon S3 Metadata (Preview) – Easiest and fastest way to manage your metadata - AWS
answered 2 years ago
Relevant content
asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 years ago

Thank you for your answer, Regarding 'It's important to note that S3 Metadata is designed to reflect the latest changes to your data, updating the metadata table within minutes of any changes to the bucket.', according to QA https://repost.aws/questions/QUeXKVHYf1Toa4BCOcbWpvSA/s3-metadata-dynamics-of-records, S3 Metadata contains multiple records for one object, records that reflect the history of the changes.