Insertion of thousands of contact entries using applyBatch is slow

后端 未结 7 2022
我在风中等你
我在风中等你 2020-11-28 23:02

I\'m developing an application where I need to insert lots of Contact entries. At the current time approx 600 contacts with a total of 6000 phone numbers. The biggest contac

7条回答
  •  时光取名叫无心
    2020-11-28 23:26

    Just for the information of the readers of this thread.

    I was facing performance issue even if using applyBatch(). In my case there was database triggers written on one of the table. I deleted the triggers of the table and its boom. Now my app insert rows with blessing fast speed.

提交回复
热议问题