cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Data Intelligence - MSSQL Server, Azure SQL DB Server

former_member805363
Discoverer
0 Likes
1,052

Hi Everyone,

We have created connections to Azure SQL Databases and MSSQL Databases in SAP Data intelligence.

During the data migration from SQL DB into SAP DI Data lake, will the source tables in SQL DB get locked for Read and Write operations?

For example: If we are replicating the data from TABLE A of SQL Database into ADL via SAP DI, during the execution of the replication task, will I be able to execute Insert or update statements for this table in the SQL server.

Thanks and Regards,
Bharath

Accepted Solutions (0)

Answers (1)

Answers (1)

ivy_wang3
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Bharath,
During initial load phase, RMS performs SELECT queries on each partition of a source table and it requires Shared Locks on data pages by default. It’s possible to block Insert/Update/Delete operations on these data pages in other user transactions which require Exclusive Locks. Refer to Azure SQL doc: https://learn.microsoft.com/en-us/sql/relational-databases/sql-server-transaction-locking-and-row-versioning-guide?view=azuresqldb-current#loc[…]ity

It’s also mentioned in the doc that if READ_COMMITTED_SNAPSHOT database option is set ON, read operations require only SCH-S (schema stability) lock which won’t block update operations. It might be a possible workaround if the possible blocking is an issue for you.