" /> Deleting records from genesysdatamart.object@report table. - Genesys CTI User Forum

Author Topic: Deleting records from genesysdatamart.object@report table.  (Read 1639 times)

Offline Gef Buneri

  • Sr. Member
  • ****
  • Posts: 373
  • Karma: 0
  • Madness is just a point of view.
Deleting records from genesysdatamart.object@report table.
« on: April 30, 2019, 09:02:41 AM »
Advertisement
Hi all,
may I delete freely records from the table in the object? the table stores any current or old object parameters, even if it's no longer existing. I was guessing about reasons why I should not manually delete them.

Any clue?


Best regards.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Deleting records from genesysdatamart.object@report table.
« Reply #1 on: April 30, 2019, 01:48:17 PM »
Have you configured the pruning?
The fact that an agent doesn't work or exist doesn't entirely justify the fact to delete it. That is why is historical. Imagine you want to compare last 3 years of workload for your agents, if you delete them manually then you break the data. Another thing is to say, we will only store last 5 years of data and delete automatically the oldest information bigger than 5 years. That is what you do at ETL assistant


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: Deleting records from genesysdatamart.object@report table.
« Reply #2 on: April 30, 2019, 02:39:34 PM »
Nope, never configured pruning. Usually everything is fine with having old records. In one case only, a few years ago, a queue with a wrong name was created, containing an apostrophe in the name, and suddenly deleted to recreate the right one. This isolated case forces me to run queries with dedicated conditions and I was evaluating whether there was a way to correct the database. Maybe renaming the field?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Deleting records from genesysdatamart.object@report table.
« Reply #3 on: April 30, 2019, 02:43:39 PM »
Why correct it? There is nothing wrong. You had an exceptional issue which was a human error. So you need to fix that item only. How could ETL know that was an error at all?



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: Deleting records from genesysdatamart.object@report table.
« Reply #4 on: April 30, 2019, 02:55:58 PM »
Nope Cav, abolutelly no problem with ETL. I was considering correcting it just to avoid special treatment when executing external data extraction directly from db (i.e. a web interface showing all vqs available); in the statement to populate the interface field I have to introduce an exception to exclude the "wrong" character, making the statement a bit heavier.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Deleting records from genesysdatamart.object@report table.
« Reply #5 on: April 30, 2019, 03:00:11 PM »
Well no that I am aware of, I also do that, show a specific list of Queues/objects needed as there can be many of them.

Offline Gef Buneri

  • Sr. Member
  • ****
  • Posts: 373
  • Karma: 0
  • Madness is just a point of view.
Re: Deleting records from genesysdatamart.object@report table.
« Reply #6 on: April 30, 2019, 03:07:21 PM »
Yep, I'm doing so, at the moment. Guess I'll continue to do so... :D