0

In the application.cnf configuration file of exchange, there is a parameter "batch" for configuring tags. It is explained as follows:

# Indicate the data source's data delimiter, which defaults to the comma (,).
      separator: ","

      # Set header to true if the CSV file has a header.
      # Set header to false (default) if the CSV file does not have a header.
      header: false

      # Maximum amount of vertex data that can be written to NebulaGraph in a single write.
      batch: 256

      # Number of Spark partitions.
      partition: 32

Does the size of "batch" have any relationship with the speed of data insertion? If I don't use exchange and insert data myself using the execute function, how can I simulate the effect of "batch"?

Lisa Liu
  • 139
  • 1
  • 6

0 Answers0