Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 17 total
Thread I'm good at finding strange ones. :-(
Mon, Aug 26 2019 3:44 AMPermanent Link

Ian Branch

Avatar

Hi Team,
Windows 10, EDBServer 64bit.  32bit Apps.
I have a couple of tables that verify as follows..
Live - 280259 Records - Verify - Structure+ - Approx 5 sec.
Archive - 6462 Records - Verify - Structure+ - Approx .5 sec.
If I Archive some records from the Live to the Archive using the following script..
{sql}
SCRIPT (IN EndDate Date)
BEGIN
  EXECUTE IMMEDIATE 'insert into aChangesLog
  select * from ChangesLog
  WHERE
  (CAST(DateTime AS DATE) < ?)
  AND
  (
  (KeyValue is NULL)
  OR
  ((Trim(BOTH '' '' FROM KeyValue) NOT IN (SELECT CAST(JobNo AS VARCHAR) FROM JobTickets))))' USING EndDate;

  EXECUTE IMMEDIATE 'delete from ChangesLog
  WHERE
  (CAST(DateTime AS DATE) < ?)
  AND
  (
  (KeyValue is NULL)
  OR
  ((Trim(BOTH '' '' FROM KeyValue) NOT IN (SELECT CAST(JobNo AS VARCHAR) FROM JobTickets))))' USING EndDate;
END
{sql}
Then if I try to Verify again I get the following..
After Archive:
Live - 164019 Records - Verify - Structure+ - 5 minutes and still no sign of any progress.  Now 10 minutes.
Archive - 122702 Records - Verify - Structure+ - Approx 17 sec.
See relevant attached pictures.

Anybody got any thoughts as to what is going on, or not?

Regards & TIA,
Ian



Attachments: Screenshot_4.png
Mon, Aug 26 2019 3:45 AMPermanent Link

Ian Branch

Avatar

There should be 3 pictures..



Attachments: Screenshot_5.png
Mon, Aug 26 2019 3:45 AMPermanent Link

Ian Branch

Avatar

and another.



Attachments: Screenshot_7.png
Mon, Aug 26 2019 5:06 AMPermanent Link

Ian Branch

Avatar

More info.
I have discovered the EDBServer is running/fluctuating around 30% CPU and 200MB.
Mon, Aug 26 2019 5:08 AMPermanent Link

Ian Branch

Avatar

Pity there is no edit.
The server is EDBServer 64bit.  There is plenty of RAM available.  I7 processor.
Mon, Aug 26 2019 5:21 AMPermanent Link

Ian Branch

Avatar

OK.  Fully stopped the server and restarted.  Ran the verify process again, only running at 10-11% around 50MB.
Aborted the App, Server still running, presumably with the verify.  Still at 10-11%.
I suspect the earlier figures were a result of retrying.
Been 10 minutes now and the verify is ostensibly still running on the server. Frown
Aborting the Server service.
Mon, Aug 26 2019 6:41 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Ian


The only thing I can think of as a first attempt is to run REPAIR TABLE on the live file and see if that fixes it.

Before you do it copy the live and archive files and the catalog to one side to send to Tim.

Roy Lambert
Mon, Aug 26 2019 7:16 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Ian


Second thought - what happens if you try locally rather than c/s?

Roy Lambert
Mon, Aug 26 2019 12:34 PMPermanent Link

Raul

Team Elevate Team Elevate

On 8/26/2019 5:21 AM, Ian Branch wrote:
> OK.  Fully stopped the server and restarted.  Ran the verify process again, only running at 10-11% around 50MB.
> Aborted the App, Server still running, presumably with the verify.  Still at 10-11%.
> I suspect the earlier figures were a result of retrying.
> Been 10 minutes now and the verify is ostensibly still running on the server. Frown
> Aborting the Server service.


Outside of disk caching i don't think verify can really use much (ram)
anyways - i always thought of it as serial operation of reading pages
and index and data, doing some hashing or validation and moving on.

1. Do you have progress reporting enabled ? That also helps with any
idle session timeouts

2. Are you using Global I/O buffering ?

Raul
Mon, Aug 26 2019 1:32 PMPermanent Link

Ian Branch

Avatar

Same result.
Page 1 of 2Next Page »
Jump to Page:  1 2
Image