Server: performance improvements (ZBXNEXT-318)

[ZBXNEXT-319] General: multiple inserts Created: 2010 Apr 23  Updated: 2017 May 31  Resolved: 2010 May 29

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Proxy (P), Server (S)
Affects Version/s: 1.8.2
Fix Version/s: None

Type: Change Request (Sub-task) Priority: Major
Reporter: Alexander Vladishev Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

PostgreSQL supports multiple INSERT statements starting from 8.2. So, instead of executing different code for different database engines we must check database capabilities, so the code should look like:

if(DBsupport(MULTIPLE_INSERTS))
{
// Multiple inserts
}
else
{
// Single inserts
}

instead of

#ifdef MYSQL
...
...



 Comments   
Comment by Aleksandrs Saveljevs [ 2010 Jun 02 ]

Available in pre-1.8.3 in r12468.

Generated at Fri Apr 26 01:26:07 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.