Add COPY support for inserting multiple rows in a single operation. #328
Labels
No Label
bug
critical
duplicate
enhancement
epic
help wanted
in progress
invalid
low priority
question
rebase
v1
v5
wontfix
Copied from Github
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cerc-io/go-ethereum#328
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "telackey/copyfrom"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Use COPY rather than INSERT to minimize operations and round trips. Previously, we averaged about 5K DB operations per block. This should drop it to under 20.
The effect is visible below, reducing the DB write time per block on vulture from ~12s to ~1.2s.
The use of COPY is controlled by
--statediff.db.copyfrom=true|false