We are currently having a severe performance problem with informix c++ api. Your help is really appreciated. We are trying to load approx. 3 million rows in a c++ stl map data structure. This operation takes close to 50 minutes. We have determined that the bulk of the time is spent in looping. The following is the relevant code fragment:
ITRow *row;
int colIndex = 0;
while( row = cursor.NextRow() )
{
/* if we comment out everything which happens within the loop, still it takes a long time */
}
The client machine is not co-located with the informix database server. We have tried various parameters such as FET_BUF_SIZE and PDQ_PRIORITY and these were of limited help.
Could you please point us to a fast data loading API? Thanks and greatly appreciate your help.
Navneet
ITRow *row;
int colIndex = 0;
while( row = cursor.NextRow() )
{
/* if we comment out everything which happens within the loop, still it takes a long time */
}
The client machine is not co-located with the informix database server. We have tried various parameters such as FET_BUF_SIZE and PDQ_PRIORITY and these were of limited help.
Could you please point us to a fast data loading API? Thanks and greatly appreciate your help.
Navneet