r/dataengineering • • 7d ago

Help Incremental load to OBT

I have one big table containing orderID, order_attributes, consignmentID, consignment_attributes, manifestID,submanifestID, trip_ID, taskID,facilityID, customer ID and associated attributes.

Composite key for this is all keys taken together.

Each constituting table has CDF enabled. Also a key could be deleted when in consignment cons 1 is updated and mapped to manifest ID 2 from 1. Then the key in big table will get deleted. Similarly manifest status change needs to be updated for all IDs it is part of.

The table has gotten too large and we need to implement incremental storage. But it is leading to long table scans. What steps would you recommend?

4 Upvotes

6 comments sorted by

2

u/Complete-Fondant-202 3d ago

Do you really mean incremental updates to be applied to another system?

What is the tech stack, first of all.

1

u/EnvironmentalNet2533 2d ago

The base tables are silver tables in delta table in databricks with cdf enabled. Mutiple silver tables are joined to create gold table again in databricks. Keys is composite of multiple tables IDs. Wanted to use MV but it does full compute often.

1

u/popopopopopopopopoop 2d ago

What are your main consumers and access patterns? Decide from there.

1

u/[deleted] 4d ago

[removed] — view removed comment

1

u/dataengineering-ModTeam 2d ago

Your post/comment violated rule #4 (Limit self-promotion).

We intend for this space to be an opportunity for the community to learn about wider topics and projects going on which they wouldn't normally be exposed to whilst simultaneously not feeling like this is purely an opportunity for marketing.

A reminder to all vendors and developers that self promotion is limited to once per month for your given project or product. Additional posts which are transparently, or opaquely, marketing an entity will be removed.

This was reviewed by a human