" /> ICON / Infomart Database Restore - Genesys CTI User Forum

Author Topic: ICON / Infomart Database Restore  (Read 4774 times)

Offline Adam_W

  • Full Member
  • ***
  • Posts: 171
  • Karma: 0
ICON / Infomart Database Restore
« on: June 11, 2011, 03:07:03 PM »
Advertisement
Hi all

Thankfully (having been caught out by over-eager DBAs before), this is a hypothetical scenario!

Because of the way the Datamart ETL works, if ODS was corrupted for any reason, I've found it necessary in the past to also restore Datamart to the same point in time.  Otherwise ETL writes duplicate records to Datamart, creating a mess that's very tricky to get out of!

Is it the same with ICON and the Infomart databases?  I'd assume that the chain of dependency works something like IDB -> Staging Area -> Infomart.  So if ICON's IDB needed to be restored, you'd need to also restore the Staging and Infomart databases, to avoid records being extracted which had already been transferred.

Following on from that, if the Staging database needed to be restored, you would also need to restore the Infomart database, but not the IDB.

And finally, if only the Infomart database needed to be restored, you would not need to restore the others, and when the Infomart ETL ran, at least some of the missing data from the period after the last backup would hopefully be transferred.

Does the above sound right?

Offline N.Ali

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
Re: ICON / Infomart Database Restore
« Reply #1 on: June 12, 2011, 06:07:30 PM »
Hi,

I think you don't need to restore infomart database incase something happens to your ICON db.

If the extract job has successfully transferred the data from ICON to Staging and then GIM, then GIM Extract job will always look for the data which isn't transferred in GIM. I don't really remember but there is a table in GIM named ETL history which contains all the information related to ETL process and it has the time-stamp when the data was transferred last time from ICON.

so you can fix the problem with the ICON db and run extract job again, it will fetch where it left.


Regards



Offline Adam_W

  • Full Member
  • ***
  • Posts: 171
  • Karma: 0
Re: ICON / Infomart Database Restore
« Reply #2 on: June 15, 2011, 10:45:08 AM »
Excellent, just checked the DB to confirm this.  That makes things much easier  8)

Offline Allan

  • Newbie
  • *
  • Posts: 39
  • Karma: -1
Re: ICON / Infomart Database Restore
« Reply #3 on: June 15, 2011, 03:36:10 PM »
[i]So if ICON's IDB needed to be restored, you'd need to also restore the Staging and Infomart databases, to avoid records being extracted which had already been transferred.[/i]

It is advisable to have Highly Available Icon so that if you lose an Icon IDB, the data will be in the other half of the pair and it would not be necessary to restore anything.

Anyway, if the data had already been extracted and was in Infomart there would be no need to restore GIM and or Staging as the data would already be in Infomart for the business to utilize!

[i]Following on from that, if the Staging database needed to be restored, you would also need to restore the Infomart database, but not the IDB.[/i]

Correct, Staging has pointers to what has been extracted and it needs to be synchronized with GIM, therefore a restore of Staging should have a corresponding restore of GIM. Provided the data was still in Icon, you could re-extract the data and get back to the point where the database failed.

[i]And finally, if only the Infomart database needed to be restored, you would not need to restore the others, and when the Infomart ETL ran, at least some of the missing data from the period after the last backup would hopefully be transferred.[/i]

You will have problems if Staging and GIM are out of sync and therefore would always recommend a restore of GIM and Staging.

What is key is sufficient capacity in Icon, Highly Available Icon and a daily database backup of Staging and GIM with the ability to revert to a specific point in time.

regards

Allan

Offline Adam_W

  • Full Member
  • ***
  • Posts: 171
  • Karma: 0
Re: ICON / Infomart Database Restore
« Reply #4 on: June 16, 2011, 09:46:02 AM »
Thanks Allan, just what I was after!

Offline dtorres265

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: ICON / Infomart Database Restore
« Reply #5 on: July 19, 2019, 02:10:44 PM »
Hello,

I've a problem that Infomart is not taking data from an specific Icon from some previous days so Iv'e been told by Genesys that this cannot be done manually.
do you know where the information of the time-stamp is being stored or why this is happening?

thanks




[quote author=N.Ali link=topic=6471.msg28159#msg28159 date=1307902050]
Hi,

I think you don't need to restore infomart database incase something happens to your ICON db.

If the extract job has successfully transferred the data from ICON to Staging and then GIM, then GIM Extract job will always look for the data which isn't transferred in GIM. I don't really remember but there is a table in GIM named ETL history which contains all the information related to ETL process and it has the time-stamp when the data was transferred last time from ICON.

so you can fix the problem with the ICON db and run extract job again, it will fetch where it left.


Regards
[/quote]