A method for updating data synchronously based on spark
A data update and synchronous update technology, applied in database update, electronic digital data processing, structured data retrieval, etc., can solve problems such as error-prone and complicated processes, achieve performance improvement, fast speed, and increase the speed of reading and updating Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0022] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.
[0023] like figure 1 As shown, a method for synchronously updating data based on spark includes the following steps:
[0024] (1) Import data: use the spark platform to obtain the target list from the database and store it in the hdfs file;
[0025] (2) Partition naming: Partition the data in the hdfs file through the spark partition method, pull the target data of a required creation time interval according to the creation date, and separate the interval data according to the creation date of the target data Create and name a folder and store it in the original data directory on the hdfs file;
[0026] (3) Acquire updated data: pull the updated data list from the database, read the updated data and pull it according to the update date field, partition the updated data with the creation time, and save it to the temporary updated data file of...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
