On this page
Short answer
Running PowerCenter in production comes down to three settings you choose before the first failure: how many session logs the Log Manager keeps, which recovery strategy each Session and Command task uses, and whether workflows are enabled for recovery. The defaults keep one log and fail a task without recovering it. This guide covers those settings, what the documentation says about them and the checks to run each morning.
Running PowerCenter in production comes down to three settings you choose before the first failure: how many session logs the Log Manager keeps, which recovery strategy each Session and Command task uses, and whether workflows are enabled for recovery. The defaults keep one log and fail a task without recovering it. This guide covers those settings, what the documentation says about them and the checks to run each morning.
Version note: the settings below are from the PowerCenter 10.5 documentation. Check your own release before you change a production domain. If you want engineers to run the checks with you, see our Informatica support page.
How many session logs does PowerCenter keep?
It depends on two session settings, and the safe-looking one can fill a disk. In the session's log options, Save Session Log By takes either Timestamp or Runs.
| Option | What the documentation says | Production risk |
|---|---|---|
| Save Session Log by Timestamp | The Log Manager saves all session logs and appends a time stamp to each | Nothing prunes them, so disk use grows with every run |
| Save Session Log by Runs | Saves the number of historical logs set in Save Session Log for These Runs, plus the most recent log | Too low a number loses the log for last week's failure |
$PMSessionLogCount |
A service variable that applies the configured number of session logs for the Integration Service | One place to set the count for many sessions |
Two details matter. Configuring five runs keeps the most recent log plus historical logs 0 to 4, and configuring zero keeps only the most recent log. The count can go up to 2,147,483,647. For real-time sessions that write very large logs, Session Log File Max Size enables rollover into partial log files, and its default of zero means no size limit.
Pick the count from your retry and audit window, not from habit. If a failed overnight batch is investigated on Monday morning after a weekend, a retention of three runs on a daily session already loses the Friday log.
Which recovery strategy should each task use?
Each task has one. The 10.5 Advanced Workflow Guide lists three, and the defaults are the part people miss.
| Strategy | Applies to | Default for | What it does on recovery |
|---|---|---|---|
| Restart task | Session and Command tasks, and all other task types | All task types except Session and Command | Runs the task again from the beginning |
| Fail task and continue workflow | Session and Command tasks | Session and Command tasks | Does not recover the task; its status becomes failed and the workflow carries on |
| Resume from the last checkpoint | Session tasks only | Nothing | Resumes a stopped, aborted or terminated session from the point of interruption |
Three rules follow.
- A default Session task is not recovered. Recovering the workflow marks it failed and moves on. If downstream tasks assume the load happened, you have a gap that looks like a success.
- Restart can double-load. The guide warns that after a restart you might need to remove partially loaded target data or design the mapping to skip duplicate rows.
- Resume has conditions. A session with a resume strategy cannot use mapping variables. The session saves its state of operation and maintains target recovery tables. The guide also has a section, Working with Repeatable Data, on output that must be deterministic and repeatable. Read it before choosing resume for any mapping that reads from a moving source.
Is the workflow itself enabled for recovery?
A task strategy does nothing unless the workflow can be recovered. The Workflow Recovery Overview names two ways:
- Enable recovery saves the workflow state of operation (task statuses and workflow variable values) in a shared location. You can recover it if it terminates, stops or aborts, and it does not have to be running.
- Suspend on error keeps the state in memory. You can fix the task error and recover the suspended workflow, but only while that state exists.
With high availability, PowerCenter recovers a workflow automatically if the service process running it fails over to another node. In safe mode it stores state for recovery-enabled workflows but does not recover them automatically after a failover. You recover those by hand, with the right privileges on the Integration Service.
What should you check every morning?
Use pmcmd, the command-line program for the Integration Service, so the checks can run from a scheduler instead of a person. The command reference describes three read-only commands that cover most of the morning:
pmcmd pingserviceconfirms the Integration Service is running.pmcmd getservicedetailsreports the service's status and its active and scheduled workflows and tasks.pmcmd getworkflowdetailsreturns, for one workflow, the run status, first error code and message, start and end times, and log file.
Every pmcmd command returns 0 on success and a different value on failure, so a wrapper script can alert on the return code. Check the command reference for the exact options in your release.
Then check three things by hand: the oldest retained session log for your busiest session, free space on the log directory, and any workflow whose last status was Failed, since whether it can be recovered depends on how the workflow and its tasks were configured. Our Pentaho support options post covers where the support layers sit for a comparable commercial integration platform.
When should you ask for help?
Ask when the question is how to recover and not whether, for example after an overnight failure with several tasks on the restart strategy and a target that already holds rows. Prepare the same package every time: the PowerCenter version, the session log, the getworkflowdetails output and the target row counts. Informatica supplies patches and product fixes under your own contract; the surrounding operating work is where 24/7 Informatica support fits, with response targets from 15 minutes, by plan. If you are weighing a move off PowerCenter, see Informatica migration to an open data stack.
FAQ
What is the default recovery strategy for a PowerCenter Session task?
Fail task and continue workflow. When the Integration Service recovers the workflow, it does not recover the session. The session status becomes failed and the workflow continues. You change it on the Properties page of the Session task.
How many session logs should I keep?
Keep enough runs to cover your longest investigation window. With Save Session Log by Runs, the Log Manager keeps the number you set plus the most recent log, and zero keeps only the latest. Timestamp mode keeps every log, so it needs a separate clean-up job.
Can I resume a session from the last checkpoint?
Only a Session task can use it, and only if the session does not use mapping variables. The session must be configured for it in advance, because it relies on saved state and target recovery tables. It applies to sessions that stopped, aborted or terminated.
Sources
- docs.informatica.com/data-integration/powercenter/10-5/workflow-basics-guide/session-configuration-object/log-options-settings.html
- docs.informatica.com/data-integration/powercenter/10-5/advanced-workflow-guide/workflow-recovery/workflow-recovery-overview.html
- docs.informatica.com/data-integration/powercenter/10-5/advanced-workflow-guide/workflow-recovery/configuring-task-recovery/task-recovery-strategies.html
- docs.informatica.com/data-integration/powercenter/10-5/advanced-workflow-guide/workflow-recovery/configuring-task-recovery/task-recovery-strategies/session-task-strategies.html
Talk to an engineer
Need a hand with Informatica?
Senior engineers who run it in production. Get a quote or a free consultation, no sales pitch.

