

Raise Exception("Unable to insert values") Log.info(" Error : can't insert into table ") Ti=tickId, tt=tickType, tp=value, ts=timestmp) Timestmp = datetime.strptime(timestmp, '%Y/%m/%d %H:%M:%S')Ĭtinputsizes(ts=cx_Oracle.TIMESTAMP)Ĭursor.execute("insert into ticks(reqid, tick_type_id,tick_value, ts) values( :ti, :tt, :tp, :ts ) ", Timestmp = datetime.strptime(timestmp, '%Y/%m/%d %H:%M:%S.%f') Log.debug(" timestmp - ".format(timestmp)) Time - as a timestamp with microseconds, or empty to get the datetime.now()
#ERROR CODE 17099 VERIFICATION#
Ticks type verification is done on DB level The DB has not been modified.ĭef writeTicks(self, tickId: int, tickType: int, value: float, timestmp=None): In previous testing i used about 1-10 calls per second, today it increased to 50 ( calls per second). Usually it fails after 2-3 minutes of execution.

With the increase of frequency of calls to the function below, it started to fail consistently. configure -enable-bootstrap -enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto -prefix=/usr -mandir=/usr/share/man -infodir=/usr/share/info -with-bugurl= -enable-shared -enable-threads=posix -enable-checking=release -enable-multilib -with-system-zlib -enable-_cxa_atexit -disable-libunwind-exceptions -enable-gnu-unique-object -enable-linker-build-id -with-linker-hash-style=gnu -enable-plugin -enable-initfini-array -disable-libgcj -with-isl -enable-libmpx -enable-gnu-indirect-function -with-tune=generic -with-arch_32=i686 -build=x86_64-redhat-linux COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/lto-wrapperĬonfigured with.
