Segment your data by customers
It is very important for your data to be segmented by customers. In most cases, a customer is your customer, but can also be different entities that you wish to split your data by.
Ensuring that tables in your database contains a field such as
organization_name can make it much easier and quicker to query and segment
However, if all your tables do not have a customer field, you can always join tables in the Explo interface.
Alternatively, Explo also support data models where data for each customer is in a seperate database. In this case, it is not important to have a customer field in each of your tables. Instead you would refer to our API docs to tell us where data for each customer is stored.
Transform or process your data to create golden tables
Golden tables are tables that contain the relevant data for a specific business process that can be easily queried to pull insights or metrics without needing to join with other tables. These tables should all have a customer field so Explo can easily segment the data in each table.
These tables should not be aggregated views but rather raw data. Furthermore, each row should have the same granularity.
As an example, if you are creating a marketplace platform, you may have 3 golden tables with the following fields:
In the example above,
seller_id would be used to segment the data for each
Because you can run aggregations and calculations in Explo, it is best not to run these aggregations here, so you have the flexibility to do so in Explo.
Handle schema complexity upstream
Perform more complex data transformations and calculations in the database or ETL layer rather than running those calculations in Explo. This will also dramatically improve load times.