note on perf
This commit is contained in:
parent
2a9ec82dce
commit
03e2aa71bc
@ -458,6 +458,11 @@ history_cb (void *cls,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* FIXME-PERFORMANCE: Consider using Postgres multi-valued insert here,
|
||||||
|
for up to 15x speed-up according to
|
||||||
|
https://dba.stackexchange.com/questions/224989/multi-row-insert-vs-transactional-single-row-inserts#225006
|
||||||
|
(Note: this may require changing both the
|
||||||
|
plugin API as well as modifying how this function is called.) */
|
||||||
qs = db_plugin->reserves_in_insert (db_plugin->cls,
|
qs = db_plugin->reserves_in_insert (db_plugin->cls,
|
||||||
session,
|
session,
|
||||||
&details->reserve_pub,
|
&details->reserve_pub,
|
||||||
|
Loading…
Reference in New Issue
Block a user