" /> ETL is not transferring data from ODS - Genesys CTI User Forum

Author Topic: ETL is not transferring data from ODS  (Read 10067 times)

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
  • Karma: 18
ETL is not transferring data from ODS
« on: October 25, 2008, 06:39:54 AM »
Advertisement
Hi,

we are facing an issue where ETL stopped transferring data from ODS to ETL because  template was modified while ETL was running. Now, we have ETL spewing an UNIQUE CONSTRAINT VIOLATION error during an UPDATE.

Anyone know what to do?

Vic

Offline ecki

  • Sr. Member
  • ****
  • Posts: 329
  • Karma: 8
Re: ETL is not transferring data from ODS
« Reply #1 on: October 25, 2008, 11:58:48 PM »
Hi Vic,

That looks like your ETL is trying to transfer already transferred chunks in to DM. Compare ODS database with DM and mark all already transferred chunks as transferred with setting the transferred_time in OL_CHUNK_LOG table. This should help.

Cheers,

Ecki.

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
  • Karma: 18
Re: ETL is not transferring data from ODS
« Reply #2 on: October 26, 2008, 03:17:29 AM »
Hi, Ecki,

I was thinking that too, but it unfortunately it is not that.
We have the following problem:

We are using 7.2.xxxx ETL and Datasourcer.
We have layout A that is using Template 1
Layout A was active and collecting data for about 2 years
Someone added a new filter into Layout A while Layout A was active
We started to receive error inside ETL that I mentioned. Actually error says something a field should only be inserted into a table once. I have never seen this error before.

(This is when I posted this error)

We deactivated the layout and deleted the field.
We activated layout.
Guess what!!! Data Sourcer does not notice that field was deleted from template!!!




Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: ETL is not transferring data from ODS
« Reply #3 on: October 26, 2008, 03:32:20 AM »
I remember someone asked same thing long time ago...can't find however the post. But someone gave a script I believe to fix it

tony

  • Guest
Re: ETL is not transferring data from ODS
« Reply #4 on: October 26, 2008, 04:40:22 AM »
I remember this from my DBA's - it cleaned up the ODS tables.  It was due to the fact that there are some chunks somewhere in the ODS that has not been marked as transferred, even though they had transferred. The script did a "search and destroy" on the ODS and cleaned it up...

I'll take a look and see what I can find, locally...

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
  • Karma: 18
Re: ETL is not transferring data from ODS
« Reply #5 on: October 26, 2008, 05:31:21 AM »
Hi, Tony, Cav,

thank you for your prompt reply.

The problem seems to be something else, because I updated OL_CHUNKS_LOG or whatever that table was and set transferred time for all chunks that were still pending.

The problem seems from the fact that ETL messed up and marked some statistics as DELETED and forgot to remove it from underlying views and tables. At least this is how it looks to me here. Has anyone seen anything like this?

I would love it to be chunk problem. I really would!!! And I really still wish it to be like this. If there a quick way to check it?

Best regards,
Vic

tony

  • Guest
Re: ETL is not transferring data from ODS
« Reply #6 on: October 26, 2008, 06:03:01 AM »
Vic,

It's Sunday here - lemme check tomorrow... :)

T

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
  • Karma: 18
Re: ETL is not transferring data from ODS
« Reply #7 on: October 26, 2008, 06:12:43 AM »
Dear Tony,

what day do you think is here? :)


tony

  • Guest
Re: ETL is not transferring data from ODS
« Reply #8 on: October 26, 2008, 06:33:04 AM »
Workday..?

Offline CTIgem

  • Sr. Member
  • ****
  • Posts: 273
  • Karma: 0
Re: ETL is not transferring data from ODS
« Reply #9 on: October 28, 2008, 11:59:52 AM »
If my memory serve me correct, I ran tenant-alias-update to fix this issue.

tony

  • Guest
Re: ETL is not transferring data from ODS
« Reply #10 on: October 29, 2008, 02:31:43 PM »
Vic,

You could try a "search and destroy" mission, through SQL.  Log into ODS (with TOAD?) and run;

select log_id
from ol_chunk_log
where TRANSFERRED_TIME is null
AND receive_time < sysdate;

If that finds entries, you need to clear them down;

update ol_chunk_log set TRANSFERRED_TIME = BEGIN_TIME
where TRANSFERRED_TIME is null
AND TRUNC(UPDATE_TIME) <> TRUNC(SYSDATE);

Tony

Offline Koldun

  • Newbie
  • *
  • Posts: 11
  • Karma: 3
    • Genesys Support
Re: ETL is not transferring data from ODS
« Reply #11 on: October 29, 2008, 03:30:08 PM »
Hi, Vic

Can you write down here the exact error messages, which you have in your ETL logs? This could be useful...

Do you have access to solution search : http://solutionsearch.genesyslab.com ?

Regards

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: ETL is not transferring data from ODS
« Reply #12 on: October 29, 2008, 03:34:31 PM »
??? ??? How can this guy ask that to Vic? Have two posts and 2 in Karma? A super ego arrived? lol

Offline Fra

  • Hero Member
  • *****
  • Posts: 856
  • Karma: -3
Re: ETL is not transferring data from ODS
« Reply #13 on: October 29, 2008, 03:51:13 PM »
Maybe it's Pavel using another account  ;D

tony

  • Guest
Re: ETL is not transferring data from ODS
« Reply #14 on: October 29, 2008, 04:05:03 PM »
Oh now gentlemen ...play nice!  ::)

Koldrun - FYI: Vic runs/hosts this site and I am sure he has already been to the Genesys Knowledge Base...

Tony