Creating and Updating Instance

This section explains steps to create and update instance for a Data Store.

Creating Instance

Prerequisite: Please make sure that the Data Store Settings has been configured from the Admin module to access the Instance functionality for the Data Store inside a Story.

What is a Personalised Store?

The Data Store for which the user can set the TIme To Live (TTL) limit using the Story interface is considered a Personlised Data Store or Personalised Store.

What is the limit for TTL? What is the maximum limit for TTL?

The Time to Live (TTL) for the data will be of 1-30 days. The maximum limit provided for the TTL is 30 days.

The Create Instance option is used to load the data for the first time from the datastore into Elastic, MongoDB, ClickHouse server as the configuration done in the Admin Module for the Datastore Settings.

  • Navigate to the Data Store list inside a Create New Story dialog box.

  • The Select Data Store page opens listing all the available Data Stores.

  • Select the Personalized Data Store Category.

  • Search for a Data Store in the given search bar.

  • Select a Data Store from the Create New Story page.

  • Click the Create Instance icon for the selected Data Store (The Create Instance option appears in case of the newly created Data Stores).

  • Provide the Time to Live value in days. The Maximum allowed Time to Live limit is 30 days.

  • Click the Refresh option.

  • A confirmation message appears to update the Data Store details.

  • The concerned Data Store starts displaying the Days Left option based on the provided no. of days while setting the TTL.

  • Select the Data Store by using the check box.

  • Click the Create Story option.

Updating Instance (Under Progress)

The permitted Time to Live limit for a Data Store is only 30 days (maximum). If it goes above that, data will not be there in the Story. Hence, the user can manually update the instance. The Days Left column will highlight such condition as flashing Expire status in the red color. Click the user gets redirected to update the instance for the selected Data Store so the data will be refreshed again in the ES or MongoDB.

  • Navigate to the Create New Story page.

  • Select a Data Store from the Personalised category that has been expired.

  • Click on the Data Store.

  • The Time to Live (TTL) option appears. Mention no. of days (up to 30 days is allowed for TTL).

  • Click the Refresh option.

  • A notification message appears to inform about the successful update of the Data Store.

  • Click the Create Story option.

  • The Data Store gets refreshed, and the inserted no. of days get reflected under the Days Left column.

Please Note: The user can distinguish between Datastores:

  • Distinguish between instances and scheduler-based data stores.

  • Distinguish between the Active and Expired instances.

    • The Expired Data Stores are mentioned with the Expired Status.

Last updated