1C: ERP back end DB tables to the data lake/data warehouse

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Just came
Rating: 0
Joined: Jun 19, 2023
Company: Litmus7

what are the best practices when it comes to extracting data from the 1C: ERP back end DB tables to the data lake/data warehouse both for historical pull as well as for daily/real time data ingestion

 
#2
People who like this:1Yes/0No
Administrator
Rating: 27
Joined: Oct 3, 2019
Company:

Hello Vaisakh,

a very interesting question!

In general, due to the fact that 1C assigns SQL tables names like "_Document292" or "_AccumRg7110", it is quite difficult to get the data we need directly with SQL queries.

Therefore, one of the options for transferring data to the Storage may be as follows:

for example, at the end of the day, a procedure is started in 1C, which first selects the necessary data using 1C methods, and then this data is written to the right place.

To do this, we used to use direct SQL queries, now the "External Data Source" object is available in 1C, which allows us to directly connect to various databases, including SQL.

 
#3
People who like this:0Yes/0No
Just came
Rating: 0
Joined: Jun 19, 2023
Company: Litmus7

Thanks for the quick response !!!


when we consider "External Data Source" , do we have the option to store the data to destination as cloud storage . For example , if we consider azure as the destination can we store the data from 1C platform to azure blob storage ?Also if we have to extract history load as well as incremental load(daily load) can we have the option to schedule it? Also how we can extract only changed data from 1C platform?

 
#4
People who like this:0Yes/0No
Administrator
Rating: 27
Joined: Oct 3, 2019
Company:

Hello Vaisakh,

first, about "External Data Sources": these objects work with ODBC drivers installed in the system. Therefore, Azure is not suitable as a data destination.

When integrating 1C and Azure, they usually make an intermediate database. First, the data is uploaded from 1C to this intermediate database, while being converted into a convenient representation (for example, tables are given understandable names) and only then are uploaded from the intermediate database to Azure.

Instead of an intermediate database, Views can also be used - this will avoid uploading data from 1C to another database.

Now about how to upload from 1C only the changed data. I'm currently preparing an article on this topic.

Please follow our updates here: https://1c-dn.com/blog/

The article should appear next week.

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.