Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

Datastore update problem

$
0
0

Hi all,

 

I have written a server program that reads some .txt files , processes them , stores the information in a table , process the table and then empty this table.

 

I am experiencing a problem when i want to update the datastore (linked to the table). I have written my own tracing functions and apparantly the ds_a.Update() command is taking anywhere from 10 - 50 seconds.

 

I am using PB 11.5.1. build 5097 and a SQL Anywhere db version : 11.0.1.2713.

 

Strange thing : at my development pc this takes less than a second , and at the customers site is taking 10 seconds - 50 seconds for the update statement to happen.

 

Client is using windows server 2008 R2. Could that be an issue ? Or does anyone have any idea why the ds_a.Update() is taking sooo long ? I have to be able to process 10 files a minute, if each file takes up to 10/50 seconds to be written in the table , then i can only process like 2 or 3 a minute.

 

Please i am out of idea's .... Anyone ? Any helpfull tips ? Table has a unique key.

 

I've tried to insert 50 records into in the ISQL session in this table , less than a second ...

 

 

 

Thanks in advance.

 

 

John


Viewing all articles
Browse latest Browse all 2935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>