A bulk load that got slow
Loading 2 million rows into a table took 3 minutes. A row-level AFTER INSERT trigger was added that writes one audit row per insert. The same load now takes far longer.
What is the dominant new cost?
Loading 2 million rows into a table took 3 minutes. A row-level AFTER INSERT trigger was added that writes one audit row per insert. The same load now takes far longer.
What is the dominant new cost?