" /> Pre-DMA chunk raw file physical position. - Genesys CTI User Forum

Author Topic: Pre-DMA chunk raw file physical position.  (Read 3519 times)

Offline Gef Buneri

  • Sr. Member
  • ****
  • Posts: 373
  • Karma: 0
  • Madness is just a point of view.
Pre-DMA chunk raw file physical position.
« on: April 30, 2019, 07:37:49 AM »
Advertisement
Hi All,
I would like to know the physical position (or filename/filetype to search for) of the raw files that generates the chunks I can see through the DMA client as chunks, each 15 minutes. Are they fisical, or before to becoming chunks they're some sort of volatile memory dump?

The goal is to monitor any interruptions in the writing of those files in the lesser time gap possible, to avoid any loss of chunks.


Best regards,

Gef.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Pre-DMA chunk raw file physical position.
« Reply #1 on: April 30, 2019, 01:50:37 PM »
ODS writes the data to its own DB. Why would there be data lost? ODS receives from statserver, ODS writes those to tables according to your templates. ETL goes and grab those chunks and transform them to tables for extraction. ODS can retain or delete this data based on configuration files.


Enviado de meu SM-G9650 usando o Tapatalk


Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Pre-DMA chunk raw file physical position.
« Reply #2 on: April 30, 2019, 01:52:32 PM »
And if ODS can't write to DB will generate emergency local files that will be treated as soon as DB connection goes back.
Can there be a delay in data processing? Yes... It is not intended to be real time.


Enviado de meu SM-G9650 usando o Tapatalk


Offline Gef Buneri

  • Sr. Member
  • ****
  • Posts: 373
  • Karma: 0
  • Madness is just a point of view.
Re: Pre-DMA chunk raw file physical position.
« Reply #3 on: April 30, 2019, 02:31:56 PM »
I'm analyzing an anomaly occurred few days ago, whose symptoms were the absence of some quarters of an hour in the datamart db. There were no chunks in the dma either. Recovery files have not been written.

So, where does the statserver write data, waiting to the ods to take them?

To solve, I had to restart ods_statserver.
« Last Edit: April 30, 2019, 02:33:45 PM by Gef Buneri »

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Pre-DMA chunk raw file physical position.
« Reply #4 on: April 30, 2019, 02:34:21 PM »
Well if Statserver fails to provide info then you are out of luck. Then you should focus in Statserver and not ODS.


Enviado de meu SM-G9650 usando o Tapatalk


Offline Gef Buneri

  • Sr. Member
  • ****
  • Posts: 373
  • Karma: 0
  • Madness is just a point of view.
Re: Pre-DMA chunk raw file physical position.
« Reply #5 on: April 30, 2019, 02:43:29 PM »
Yep, totally right there... the point is that logs from the process (ods_statserver ver. 7.1), showed no evidence of a problem, even if the verbosity was set to all, so I was guessing if it exists a way to monitor somehow the bad statserver behaviour; first idea was to locate the position/name/"whatever" were the statserver stores infos, to create some monitoring daemon on sys side.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Pre-DMA chunk raw file physical position.
« Reply #6 on: April 30, 2019, 02:59:16 PM »
Well no, I have seen that behaviour in old StatServer where had a bug on writing backup data file, which has nothing to do with ETL.
An upgrade may help you, but SS doesn't store data anywhere physically, sends it directly to ODS.

Offline Gef Buneri

  • Sr. Member
  • ****
  • Posts: 373
  • Karma: 0
  • Madness is just a point of view.
Re: Pre-DMA chunk raw file physical position.
« Reply #7 on: April 30, 2019, 03:06:40 PM »
here we are... "but SS doesn't store data anywhere physically, sends it directly to ODS", as I supposed... so if statserver has problems, bye bye data. And yes, I'm evaluating an upgrade... thanks Cav, as usual.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Pre-DMA chunk raw file physical position.
« Reply #8 on: April 30, 2019, 03:13:02 PM »
Maybe HA can help your problem, however if using old version, also have seen that as SS is supposedly working fine, there is no switch or indication that HA pair needs to be up

Offline Gef Buneri

  • Sr. Member
  • ****
  • Posts: 373
  • Karma: 0
  • Madness is just a point of view.
Re: Pre-DMA chunk raw file physical position.
« Reply #9 on: May 02, 2019, 03:10:46 PM »
HA for sure, but any upgrade to at least an 8.1.3+ ver. would be a blessing. This sayd, am I right if I say the fastest way to check if there's something wrong with data collecting, is to check ODS internal database's volatile tables? I mean, in a scenario like the one I described before, I expect no data there.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Pre-DMA chunk raw file physical position.
« Reply #10 on: May 02, 2019, 03:12:22 PM »
Well yes, if no data is being sent to SQL by ODS...Houston we have a problem


Enviado de meu SM-G9650 usando o Tapatalk


Offline Gef Buneri

  • Sr. Member
  • ****
  • Posts: 373
  • Karma: 0
  • Madness is just a point of view.
Re: Pre-DMA chunk raw file physical position.
« Reply #11 on: May 02, 2019, 03:42:11 PM »
Ok, we have a point. Now, where I can found deeper infos for that internal db? 'cause in the volatile tables no timestamp is written to understand the exact moment that record was written.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Pre-DMA chunk raw file physical position.
« Reply #12 on: May 02, 2019, 03:47:19 PM »
ODS as temp DB has no information on its tables structure. Maybe you could monitor SQL via profiler or similar.


Enviado de meu SM-G9650 usando o Tapatalk


Offline Gef Buneri

  • Sr. Member
  • ****
  • Posts: 373
  • Karma: 0
  • Madness is just a point of view.
Re: Pre-DMA chunk raw file physical position.
« Reply #13 on: May 02, 2019, 03:51:56 PM »
Roger that, I'll put something up on the os/db side. Thanksalot again.

Offline Gef Buneri

  • Sr. Member
  • ****
  • Posts: 373
  • Karma: 0
  • Madness is just a point of view.
Re: Pre-DMA chunk raw file physical position.
« Reply #14 on: May 16, 2019, 07:49:06 AM »
G'day, people; hope everything's fine out there.

Regarding the table OL_CHUNK_LOG in the ods db... in the table I find, among others, two dates:

RECEIVE_TIME
TRANSFERRED_TIME

between which there is an interval of 2 hours. Based on what you know, that interval is real, is the process transferring data received two hours ago, or could it be more a matter of time zone? (i.e. RECEIVE is in GMT, TRANSFERRED in CEST).