Question about the behavior of copy data activity in Azure Data Factory

Calvin LI 20 Reputation points
2023-07-18T17:13:41.1066667+00:00

May I know which method does the copy data activity in Azure Data Factory use - 'insert into' or 'direct-path insert'?

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,639 questions
{count} votes

Accepted answer
  1. Bhargava-MSFT 31,261 Reputation points Microsoft Employee Moderator
    2023-07-19T18:39:01.21+00:00

    Hello Calvin LI,

    Welcome to the Microsoft Q&A forum.

    The exact method used for data movement depends on the source and sink datasets.

    Ex: when copying data between relational databases, it uses 'INSERT INTO' SQL statements.

    PolyBase(like direct-path insert) will be used for bulk data movement.

    <copied from the documentation page>

    To copy data from a source to a sink, the service that runs the Copy activity performs these steps:

    1. Reads data from a source data store.
    2. Performs serialization/deserialization, compression/decompression, column mapping, and so on. It performs these operations based on the configuration of the input dataset, output dataset, and Copy activity.
    3. Writes data to the sink/destination data store.

    Reference document: https://learn.microsoft.com/en-us/azure/data-factory/copy-activity-overview

    I hope this helps. Please let me know if you have any further questions.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.