微电子/半导体checkpoint

informix checkpiont > 30次/hr CKPTINTVL=300

1.Informix 7.31 UD3, HDR环境。2.看日志发现8月28日开始发生部分时间段数据库checkpoint 次数频繁,同一个时间点持续3~4次,日志如下3.8月27号有停机做过维护,断开HDR,并重建索引,然后重新HDR。SOP请参考第三段附件。00:04:16  Logical Log 3375277 - Backup Started...显示全部
1.Informix 7.31 UD3, HDR环境。
2.看日志发现8月28日开始发生部分时间段数据库checkpoint 次数频繁,同一个时间点持续3~4次,日志如下
3.8月27号有停机做过维护,断开HDR,并重建索引,然后重新HDR。SOP请参考第三段附件。
00:04:16  Logical Log 3375277 - Backup Started
00:04:16  Logical Log 3375277 - Backup Completed
00:04:26  Logical Log 3375278 Complete.
00:04:26  Logical Log 3375278 - Backup Started
00:04:27  Logical Log 3375278 - Backup Completed
00:04:33  Checkpoint Completed:  duration was 0 seconds.
00:04:33  Checkpoint loguniq 3375279, logpos 0x494164

00:04:33  Checkpoint Completed:  duration was 0 seconds.
00:04:33  Checkpoint loguniq 3375279, logpos 0x4a5130

00:04:33  Checkpoint Completed:  duration was 0 seconds.
00:04:33  Checkpoint loguniq 3375279, logpos 0x4b6088
c01a17[informix]/usr/informix/etc$ more onconfig.1
#**************************************************************************
#
#                          INFORMIX SOFTWARE, INC.
#
#  Title:       onconfig.std
#  Description: Informix Dynamic Server Configuration Parameters
#
#**************************************************************************

# Root Dbspace Configuration

ROOTNAME        rootdbs         # Root dbspace name
ROOTPATH        /usr/informix/PROD/rootdbs
                                # Path for device containing root dbspace
ROOTOFFSET      0               # Offset of root dbspace into device (Kbytes)
ROOTSIZE        500000          # Size of root dbspace (Kbytes)

# Disk Mirroring Configuration Parameters

MIRROR          0               # Mirroring flag (Yes = 1, No = 0)
MIRRORPATH                      # Path for device containing mirrored root
MIRROROFFSET    0               # Offset into mirrored device (Kbytes)

# Physical Log Configuration

PHYSDBS         phydbs          # Location (dbspace) of physical log
PHYSFILE        360000          # Physical log file size (Kbytes)

#PHYSDBS         phydbs          # Location (dbspace) of physical log
#PHYSFILE        360000          # Physical log file size (Kbytes)

# Logical Log Configuration

LOGFILES        2500            # Number of logical log files
LOGSIZE         4000            # Logical log size (Kbytes)

#LOGFILES        3               # Number of logical log files
#LOGSIZE         4000            # Logical log size (Kbytes)

# Diagnostics

MSGPATH         /home/informix/log/online.log # System message log file path
CONSOLE         /home/informix/log/console.log # System console message path
ALARMPROGRAM    /usr/informix/etc/no_log.sh # Alarm program path
SYSALARMPROGRAM /usr/informix/etc/evidence.sh # System Alarm program path
#ALARMPROGRAM    /usr/informix/etc/log_full.sh # Alarm program path
#SYSALARMPROGRAM /usr/informix/etc/evidence.sh # System Alarm program path
TBLSPACE_STATS  1

# System Archive Tape Device

#TAPEDEV         /dev/null
#TAPEDEV        /home/informix/ifxdmp/infofull
TAPEDEV         /dev/rmt/3m
TAPEBLK         1024            # Tape block size (Kbytes)
#TAPESIZE        190000000       # Maximum amount of data to put on tape (Kbytes)
TAPESIZE        400000000
# Log Archive Tape Device

#LTAPEDEV        /dev/null       # Log tape device path
LTAPEDEV        /dev/rmt/2m     # Log tape device path
#LTAPEDEV       /home/informix/ifxdmp/meslog # Log tape device path
LTAPEBLK        16              # Log tape block size (Kbytes)
LTAPESIZE       20000000        # Max amount of data to put on log tape (Kbytes)

# Optical

STAGEBLOB                       # Informix Dynamic Server/Optical staging area

# System Configuration

SERVERNUM       1               # Unique id corresponding to a Dynamic Server instance
#DBSERVERNAME    k1              # Name of default database server
#DBSERVERALIASES k1s,k1DR        # List of alternate dbservernames
DBSERVERNAME    c01a17          # Name of default database server
DBSERVERALIASES c01a17s,c01a17DR # List of alternate dbservernames
NETTYPE         ipcshm,1,30,CPU # Configure poll thread(s) for nettype
NETTYPE         soctcp,5,70,NET # Configure poll thread(s) for nettype
#NETTYPE        soctcp,3,120,NET # Configure poll thread(s) for nettype
DEADLOCK_TIMEOUT 60              # Max time to wait of lock in distributed env.
RESIDENT        1               # Forced residency flag (Yes = 1, No = 0)

MULTIPROCESSOR  1               # 0 for single-processor, 1 for multi-processor
NUMCPUVPS       4               # Number of user (cpu) vps
SINGLE_CPU_VP   0               # If non-zero, limit number of cpu vps to one

NOAGE           0               # Process aging
AFF_SPROC       0               # Affinity start processor
AFF_NPROCS      0               # Affinity number of processors

# Shared Memory Parameters

LOCKS           600000          # Maximum number of locks
BUFFERS         400000          # Maximum number of shared buffers
NUMAIOVPS       12              # Number of IO vps
PHYSBUFF        128             # Physical log buffer size (Kbytes)
LOGBUFF         32              # Logical log buffer size (Kbytes)
LOGSMAX         2500            # Maximum number of logical log files
CLEANERS        128             # Number of buffer cleaner processes
SHMBASE         0x0               # Shared memory base address
SHMVIRTSIZE     400000          # initial virtual shared memory segment size
SHMADD          16000           # Size of new shared memory segments (Kbytes)
SHMTOTAL        0               # Total shared memory (Kbytes). 0=>unlimited
CKPTINTVL       300             # Check point interval (in sec)
LRUS            128             # Number of LRU queues
#LRU_MAX_DIRTY   80              # LRU percent dirty begin cleaning limit
LRU_MAX_DIRTY   1               # LRU percent dirty begin cleaning limit
LRU_MIN_DIRTY   0               # LRU percent dirty end cleaning limit
#LRU_MIN_DIRTY   0               # LRU percent dirty end cleaning limit
LTXHWM          40              # Long transaction high water mark percentage
LTXEHWM         50              # Long transaction high water mark (exclusive)
TXTIMEOUT       0x12c             # Transaction timeout (in sec)
STACKSIZE       64              # Stack size (Kbytes)

# System Page Size
# BUFFSIZE - Dynamic Server no longer supports this configuration parameter.
#            To determine the page size used by Dynamic Server on your platform
#            see the last line of output from the command, 'onstat -b'.


# Recovery Variables
# OFF_RECVRY_THREADS:
# Number of parallel worker threads during fast recovery or an offline restore.
# ON_RECVRY_THREADS:
# Number of parallel worker threads during an online restore.

OFF_RECVRY_THREADS 10              # Default number of offline worker threads
ON_RECVRY_THREADS 3               # Default number of online worker threads

# Data Replication Variables
# DRAUTO: 0 manual, 1 retain type, 2 reverse type
DRAUTO          0               # DR automatic switchover
DRINTERVAL      60              # DR max time between DR buffer flushes (in sec)
DRTIMEOUT       90              # DR network timeout (in sec)
DRLOSTFOUND     /usr/informix/etc/dr.lostfound # DR lost+found file path

# CDR Variables
CDR_LOGBUFFERS  2048            # size of log reading buffer pool (Kbytes)
CDR_EVALTHREADS 1,2             # evaluator threads (per-cpu-vp,additional)
CDR_DSLOCKWAIT  5               # DS lockwait timeout (seconds)
CDR_QUEUEMEM    4096            # Maximum amount of memory for any CDR queue (Kbytes)
CDR_LOGDELTA    30              # % of log space allowed in queue memory
CDR_NUMCONNECT  16              # Expected connections per server
CDR_NIFRETRY    300             # Connection retry (seconds)
CDR_NIFCOMPRESS 0               # Link level compression (-1 never, 0 none, 9 max)
收起
参与8

查看其它 7 个回答hugolin的回答

hugolinhugolin数据库管理员gbase
。。。
我记错了。。。
11以下版本确实比较难知道检查点触发原因
互联网服务 · 2013-10-08
浏览1228

回答者

hugolin
数据库管理员gbase

hugolin 最近回答过的问题

回答状态

  • 发布时间:2013-10-08
  • 关注会员:0 人
  • 回答浏览:1228
  • X社区推广