Time series syncs hold time-value pairs associated with any number of time series (keyed by seriesIds
), enabling performant indexing on each series and associated time-value pairs. Time series syncs are backed by datasets or streams and are the backing data sources for time series properties.
When Foundry resolves a time series property on a given object time series property, the seriesId
contained in the property’s value will be searched for within that property’s data sources and its associated time series data will be returned.
When you create a time series sync, there will be a projection created for the dataset that is being synced; projections are used to optimize the queries made when fetching your time series data.
Time series syncs require the following columns:
string
).timestamp
or long
).
double
, integer
, float
or string
).timestamp
).If a time series property is backed by more than one time series sync, the seriesIds
in the property values must be fully contained within a single time series sync.
The size of the transforms profile required for the projection built when creating a time series sync scales with the size of the input dataset. For datasets larger than 10 TB, we recommend splitting your dataset up into multiple datasets, partitioned by series identifier, then creating syncs off of these smaller datasets. Alternatively, you can use a view optimization that can be configured in the advanced settings of your time series sync.
Navigate to the Time Series Catalog and select New time series sync. You will be prompted to choose a location to save your sync; this location must be in a Project that contains your time series dataset or imports your time series dataset as a reference. Select Set up sync to configure the time series sync.
Select your time series dataset as the input, then complete the mapping of your dataset columns to the time series sync's Series ID, Value, and Timestamp. If your Timestamp column is a Long
type, specify if it is a SECONDS
, MILLISECONDS
, MICROSECONDS
, or NANOSECONDS
unit. Use the preview to ensure time series data is appearing correctly.
You can optionally configure advanced settings. In most cases, the default values are recommended.
When you are finished, select Save and build in the final dialog step.
Pipeline Builder supports creating time series syncs. Review the Pipeline Builder documentation for guidance on adding data, creating transforms, and setting sync targets.
Navigate to Pipeline Builder and create a new pipeline.
Import your time series data and apply the necessary transforms so that your data has the necessary columns to be a time series sync.
Once your data has been transformed to contain the required columns, create a time series sync target.
Open a time series sync resource for advanced configuration and exploration. Explore all available time series syncs using the Time Series Catalog.
The Preview tab allows you to view the series identifier data that is contained with a sync. You can also view metadata about the resource, such as the time series properties of which it is a datasource. The Monitors tab displays various metrics for the checkpoint dataset of streaming time series syncs by default.
If the time series sync is not the datasource for any time series properties, then you have the option to follow the Ontology setup guide. Select Set up now in the Ontology section to initiate the setup guide. The setup guide will walk you through either choosing an existing object type or an automated flow creating a new object type to add a time series property to.
Select Update sync to configure the column mapping and advanced settings.
This section describes the advanced settings that can be configured for time series syncs, and how these settings can be used for maintenance. You can find the advanced settings in the configuration options of your created sync, whether you set it up using Time Series Catalog or Pipeline Builder. You can access advanced settings during sync creation by proceeding to the third section of the wizard, or after sync creation by editing the sync.
You will find the advanced settings as the third step in the pop-up wizard:
Advanced settings can be accessed during time series sync creation, and after creation by editing a time series sync. During sync creation, navigate to the Advanced settings section of the creation wizard. After creation, you can access the wizard by selecting the Edit option shown below when viewing the sync in Time Series Catalog.
By default, the sync will be scheduled to build when the input time series dataset updates. We recommend this setting to ensure your time series data is kept up-to-date. When the time series sync builds, it syncs metadata from the time series dataset, enabling Foundry to index your time series data in its time series database on demand.
If you wrote intersecting series IDs in another time series sync and would like to replace that sync with a new one, you can specify the old sync under Overwrite series from other syncs backed by other datasets. Doing this will cause the old sync to fail, and it should then be trashed. Time series syncs with stream inputs do not have this setting.
Additionally, the Index view dataset inputs option is the recommended method for syncing large quantities of time series data.
This option applies when syncing views. When selected, the resulting sync will index the view's backing datasets into the time series database, rather than the view itself. This will also transparently generate projections on the datasets that make up the view. As mentioned, this option is recommended for large canonical datasets. You can configure this in the advanced set up options of your time series sync.
In the context of time series, we recommend segmenting large canonical datasets into smaller, constituent datasets, each serving as a backing dataset for a single view. With this feature, this view can be configured to a single sync, accounting for all backing datasets.
Configure security markings. Markings that are inherited will be required when viewing the time series sync data through a time series property in the Ontology. See granular time series property permissions for more information.
While it is possible to configure Spark or Flink compute profiles for time series sync builds, this is rarely necessary.
If the time series sync was created in Pipeline Builder, all of the fields that Pipeline Builder can configure will override any configuration set within the time series catalog application. For example, if changes were made to column mappings in the time series catalog application, but the time series sync was created in Pipeline Builder, the changes will be overridden the next time the creating pipeline is run.