Forum Stats

  • 3,768,917 Users
  • 2,252,874 Discussions


Can you dump oracle::occi::Number into files with high performance?

1041286 Member Posts: 5
edited Apr 12, 2015 8:44PM in Oracle Call Interface (OCI)

I use oracle::occi::Number to calculate stock price with high precision, and I need to dump calculate result (about 650000/s) into files.

toText method can not covert Number to std::string as quickly as I need.

I try to use it's memeber variable "OCINumber data", but it's private and there are other two variables numberIsNull and *numberExt.

And, the performance is good if I insert these Numbers directly into oracle database.

So my problem is if there is a method to serialize oracle::occi::Number with high speed ?

This discussion has been closed.