Author Topic: Database shutdown  (Read 275 times)

Offline Leonxxx86

  • Full Member
  • ***
  • Posts: 122
  • Karma: 0
Database shutdown
« on: October 24, 2019, 08:59:01 AM »
Hi all,

I just would like to confirm this, what is going to happen to tserver , cca and icon if db was shutdown? I know tserver will be fine because once it started it doesn't need to go back to the db to write or read anything? and ICON will write to a file but not sure if that file will get corrupted if ICON writes to it for one day?

I think CCA data will be lost as CCA read from stat server and SS will not be able to write to the DB? please advise? thank you

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7040
  • Karma: 56330
Re: Database shutdown
« Reply #1 on: October 24, 2019, 12:05:03 PM »
CCA? ODS will write to emergency files and when DB is restored ETL will work.
TServer no impact
ICON, not sure...think also will write backup files

Offline borkokrz

  • Full Member
  • ***
  • Posts: 147
  • Karma: 5
Re: Database shutdown
« Reply #2 on: October 24, 2019, 02:49:27 PM »
ICON similar to ODS will write to PQ file specified in pq-dbname option ... until the end of disk space I suppose.

Offline hsujdik

  • Sr. Member
  • ****
  • Posts: 351
  • Karma: 14
    • Genesys Brasil
Re: Database shutdown
« Reply #3 on: October 25, 2019, 02:34:42 AM »
ICON similar to ODS will write to PQ file specified in pq-dbname option ... until the end of disk space I suppose.
Yes. ICON writes to this PQ file (SQLite database file) even during regular operation, before sending to the actual IDB. However, when this file grows large, ICON usually is unable to read from this PQ file fast enough to insert into the IDB, causing the data to be increasingly delayed. You can check if the DB insert is catching up by monitoring ICON`s HTTP interface (just open a browser pointing to the server and port where it is installed).

Offline kamalnba

  • Newbie
  • *
  • Posts: 30
  • Karma: 0
Re: Database shutdown
« Reply #4 on: October 25, 2019, 07:19:18 AM »
Hi all,

I just would like to confirm this, what is going to happen to tserver , cca and icon if db was shutdown? I know tserver will be fine because once it started it doesn't need to go back to the db to write or read anything? and ICON will write to a file but not sure if that file will get corrupted if ICON writes to it for one day?

I think CCA data will be lost as CCA read from stat server and SS will not be able to write to the DB? please advise? thank you

1. CCA will write to Emergency files and once connectivity is restored data would be transferred to Datamart.

2. TServer will have no impact as it doesn't have any dependency or connection to DB directly and runs as an application on the server.

3. ICON- For this, DS are T-Server, OCS, Config etc. PQ file setting will decide the size and frequency of files which will be stored if DB connectivity loses and once it is backup ETL will copy these files to Informat. In addition to the interaction persistent queue, the ICON maintains a persistent cache for configuration data. If connectivity was lost for longer time, you may need to manually sync the config data by below procedure.

1. In Options of ICON Application, Go to option - Start-cfg-sync set option to 0 and save.
2. Now change the value of option to 1 and save again, Sync will start automatically.

ICON starts synchronization only when it detects the change from 0 to 1. Time for sync will depend on number of changes to be synced.





Offline Leonxxx86

  • Full Member
  • ***
  • Posts: 122
  • Karma: 0
Re: Database shutdown
« Reply #5 on: October 25, 2019, 02:07:34 PM »
Thank you all for your reply! my understanding is that stat server writes to the db via dap but if there is no db connectivity there will be no data in the first place to read by the data sourcer and then write it to the emergency :)> file, isn't that correct?

or we can say stat server writes to the emergency file and when the connectivity backup then data sourcer will write the data to the db  ???


thank you

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7040
  • Karma: 56330
Re: Database shutdown
« Reply #6 on: October 26, 2019, 02:46:32 AM »
StatServer no. No backup