Importing a Nearline Data Source
By importing a nearline data source, the system can calculate and update user and item profiles in real time and update incremental data in real time.
Prerequisites
- Prepare data based on the data specifications and upload the data to the stream. For details, see Uploading Real-time Data.
Importing a Nearline Data Source
- Log in to the RES management console. Choose Data Sources from the left navigation bar. The Data Sources page is displayed.
- In the data source list, click the name of the target data source. The data source details page is displayed.
- In the Nearline Data Source area, set parameters. You can select the type of data to be imported based on service requirements. For details, see Table 1.
Table 1 Parameters required for importing a nearline data source Parameter
Description
Real-time Computing Specifications
The options are 4CU, 8CU, 16CU, and 32CU.
Real-time User Profile Import
Import the real-time user profile data stored in the stream through the SDK. For details, see Uploading Real-time Data. Turn on
to the right of Real-time User Profile Import. In the dialog box that is displayed, confirm the configurations.Real-time Item Profile Import
Import the real-time item profile data stored in the stream through the SDK. Turn on
to the right of Real-time Item Profile Import. In the dialog box that is displayed, confirm the configurations.Real-time Behavior Data Import
Import behavior data stored in the stream through the SDK. Turn on
to the right of Real-time Behavior Data Import. In the dialog box that is displayed, confirm the configurations.NOTE:User profiles, item profiles, and behavior data can be imported separately in real time.
- Turn on the import switch to the right of the target data, confirm the real-time computing specifications and billing information. If no modifications are needed, click Yes to import the data in real time. When the data status changes to Running, the real-time data import is complete. The previous data is overwritten each time you import data. Exercise caution when performing this operation. Figure 1 Real-time data import
Viewing Nearline Data Source Details and Stopping a Data Source
After importing a nearline data source, you can view its details or stop its import.
- On the data source details page, click Details to the right of the target nearline data to view the name and stream ID of the real-time data. The ID is globally unique.
- If you do not need the data, click Stop to the right of the target nearline data to stop importing the data.
After the import is stopped, the data cannot be used. Exercise caution when performing this operation.
Deleting a Nearline Data Source
You can delete existing nearline data sources you no longer need.
- In the data source list, click the name of the target data source. The data source details page is displayed.
- In the Nearline Data Source area, turn off
to the right of the target data source. In the displayed dialog box, confirm the specifications and click Yes.
Stopping importing of nearline data sources does not affect the storage of inventory data.
Last Article: Creating an Offline Data Source
Next Article: Managing Data Quality
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.