因工作需要,informix的数据库是初次接触
且工作单位使用的版本比较老,现于2019年于官网下载的最早版本为iif.12.10.FC9DE
现记录一下关于informix的安装,命令操作,以及信息解读

安装使用的是开头提到的12版
操作的系统是win10

在win10 的安装过程中,涉及的密码都统一输入
采用默认安装模式
未新建单独的informix用户

数据库服务启动需要使用管理员权限打开 ol_informix1210
(C:\Windows\System32\cmd.exe /k "C:\Aprograms\Bsystem\informix12\ol_informix1210.cmd")

如果使用普通用户从cmd打开,会提示
Message 71578 not found.
这是因为没有运行指定的cmd文件(缺少环境变量设置)

如果使用普通用户打开-ol_informix1210-,会提示
Only members of IXDBSA group (Informix-Admin, by default) can start IBM
 Informix Dynamic Server.

使用管理员启动 ol_informix1210

C:\WINDOWS\system32>set INFORMIXDIR=C:\APROGR~1\Bsystem\informix12

C:\WINDOWS\system32>set REGMACHINE=\\DESKTOP-BB6551P

C:\WINDOWS\system32>set INFORMIXSERVER=ol_informix1210

C:\WINDOWS\system32>set ONCONFIG=onconfig.ol_informix1210

C:\WINDOWS\system32>set INFORMIXSQLHOSTS=C:\Aprograms\Bsystem\informix12\etc\sqlhosts.ol_informix1210

C:\WINDOWS\system32>set GL_USEGLU=1

C:\WINDOWS\system32>set PATH=C:\APROGR~1\Bsystem\informix12\bin;C:\Aprograms\Bsystem\informix12\bin;C:\Program Files\ibm\gsk8\lib64;C:\Program Files\ibm\gsk8\bin;C:\Aprograms\Bsystem\Rtools\bin;C:\Program Files\Dell\DW WLAN Card;C:\Aprograms\xmanager6\Xlpd 6\;C:\Aprograms\xmanager6\Xftp 6\;C:\Aprograms\xmanager6\Xshell 6\;C:\Aprograms\xmanager6\Xmanager 6\;C:\Aprograms\Bsystem\python3\Scripts\;C:\Aprograms\Bsystem\python3\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Aprograms\Bsystem\nodejs\;C:\Aprograms\Bsystem\Jdks\jdk8\8_152\bin;C:\Aprograms\Bsystem\Jdks\jdk8\8_152\jre\bin;C:\Aprograms\Agreen\lua;C:\Aprograms\apache-maven-3.6.1\bin;C:\Aprograms\apache-tomcat-9.0.19\lib;C:\Aprograms\apache-tomcat-9.0.19\bin;C:\Aprograms\gradle\bin;%ANDROID_SDK_HOME%\platform-tools;%ANDROID_SDK_HOME%\tools;C:\Aprograms\Bsystem\perl\c\bin;C:\Aprograms\Bsystem\perl\perl\site\bin;C:\Aprograms\Bsystem\perl\perl\bin;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Aprograms\Bsystem\Git\cmd;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Aprograms\Bsystem\gitext\;C:\Aprograms\Bsystem\nasm214;C:\Aprograms\Bsystem\phantomjs-2.1.1-windows\bin;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files (x86)\IncrediBuild;C:\Aprograms\Bsystem\Asofts\openssl-1.1.1c-win64-mingw\openssl-1.1.1c-win64-mingw;C:\Aprograms\Bsystem\Asofts\Apache24\bin;C:\Aprograms\Bsystem\Asofts\php;C:\Aprograms\Bsystem\Asofts\apache-ant-1.9.14\bin;C:\Users\ender\AppData\Local\Google\Chrome\Application;C:\Aprograms\Bsystem\Ruby26-x64\bin;C:\Users\ender\AppData\Local\Microsoft\WindowsApps;C:\Aprograms\Bsystem\bdzip\;C:\Users\ender\AppData\Roaming\npm;C:\Aprograms\Microsoft VS Code\bin;C:\Aprograms\Bsystem\Nmap

输入 oninit online启动命令
C:\WINDOWS\system32>oninit
Previous instance of the Engine still running

提示实例正在运行

输入 onmode -ky 停止服务
C:\WINDOWS\system32>onmode -ky
<EOM>

在停止服务情况下,分别输入 onstat -p 或者 onstat -l 或者 onstat -d 三个查询状态的语句
C:\WINDOWS\system32>onstat -d
shared memory not initialized for INFORMIXSERVER 'ol_informix1210'

而输入 onstat -m 则会在最后提示服务状态
C:\WINDOWS\system32>onstat -m
shared memory not initialized for INFORMIXSERVER 'ol_informix1210'

Message Log File: C:\APROGR~1\Bsystem\informix12\ol_informix1210.log
13:32:05  Auto Registration is synced
13:32:05  SCHAPI: Started 2 dbWorker threads.
13:32:06  Performance Advisory: Based on the current workload, the physical log might be too small to
accommodate the time it takes to flush the buffer pool.
13:32:06   Results: The server might block transactions during checkpoints.
13:32:06   Action: If transactions are blocked during the checkpoint, increase the size of the
 physical log to at least 737280 KB.
13:32:06  Performance Advisory: The physical log is too small for automatic checkpoints.
13:32:06   Results: Automatic checkpoints are disabled.
13:32:06   Action: To enable automatic checkpoints, increase the physical log to at least 737280 KB.
13:32:07  Defragmenter cleaner thread now running
13:32:07  Defragmenter cleaner thread cleaned:0 partitions
15:57:41  Checkpoint Completed:  duration was 0 seconds.
15:57:41  Thu Sep 26 - loguniq 9, logpos 0x4c1018, timestamp: 0x32dd2 Interval: 36

15:57:41  Maximum server connections 0
15:57:41  Checkpoint Statistics - Avg. Txn Block Time 0.474, # Txns blocked 0, Plog used 55, Llog used 156

15:57:42  IBM Informix Dynamic Server Stopped.

输入 oninit 启动服务
C:\WINDOWS\system32>oninit
Reading configuration file 'C:\APROGR~1\Bsystem\informix12/etc/onconfig.ol_informix1210'...Warning: Parameter's user-configured value was adjusted. (DS_MAX_SCANS)
Warning: Parameter's user-configured value was adjusted. (ONLIDX_MAXMEM)
succeeded
Allocating and attaching to shared memory...succeeded
Creating resident pool 8332 kbytes...succeeded
Creating infos file "C:\APROGR~1\Bsystem\informix12/etc/.infos.ol_informix1210"...succeeded
Linking conf file "C:\APROGR~1\Bsystem\informix12/etc/.conf.ol_informix1210"...succeeded
Initializing rhead structure...rhlock_t 16384 (512K)... rlock_t (5312K)... Writing to infos file...succeeded
Previous instance of the Engine still running
Previous instance of the Engine still running
Initialization of Encryption...succeeded
Initializing ASF...succeeded
Initializing Dictionary Cache and SPL Routine Cache...succeeded
Initializing encryption-at-rest if necessary...succeeded
Bringing up ADM VP...succeeded
Creating VP classes...succeeded
Forking main_loop thread...succeeded
Initializing DR structures...succeeded
Forking 1 'soctcp' listener threads...succeeded
Forking 1 'soctcp' listener threads...succeeded
Forking 1 'soctcp' listener threads...succeeded
Starting tracing...succeeded
Initializing 2 flushers...succeeded
Initializing SDS Server network connections...succeeded
Initializing log/checkpoint information...succeeded
Initializing dbspaces...succeeded
Opening primary chunks...succeeded
Validating chunks...succeeded
Initialize Async Log Flusher...succeeded
Starting B-tree Scanner...succeeded
Init ReadAhead Daemon...succeeded
Init DB Util Daemon...succeeded
Initializing DBSPACETEMP list...succeeded
Init Auto Tuning Daemon...succeeded
Checking database partition index...succeeded
Initializing dataskip structure...succeeded
Checking for temporary tables to drop...succeeded
Updating Global Row Counter...succeeded
Forking onmode_mon thread...succeeded
Creating periodic thread...succeeded
Creating VP cache drain thread...succeeded
Creating limits manager thread...succeeded
Starting scheduling system...succeeded
Verbose output complete: mode = 5

当前cmd窗口不可输入

重新使用管理员打开 ol_informix1210

以此输入以下命令 onstat -p 或者 onstat -l 或者 onstat -d onstat -m

C:\WINDOWS\system32>onstat -p

IBM Informix Dynamic Server Version 12.10.FC9DE -- On-Line -- Up 00:05:16 -- 185088 Kbytes

Profile
dskreads   pagreads   bufreads   %cached dskwrits   pagwrits   bufwrits   %cached
711        1002       13745      94.83   69         91         1495       95.38

isamtot    open       start      read       write      rewrite    delete     commit     rollbk
15346      1122       1264       4602       518        95         2          45         0

gp_read    gp_write   gp_rewrt   gp_del     gp_alloc   gp_free    gp_curs
2          0          0          0          0          0          2

ovlock     ovuserthread ovbuff     usercpu  syscpu   numckpts   flushes
0          0            0          0.18     0.27     1          1

bufwaits   lokwaits   lockreqs   deadlks    dltouts    ckpwaits   compress   seqscans
31         0          7226       0          0          0          15         38

ixda-RA    idx-RA     da-RA      logrec-RA  RA-pgsused lchwaits
231        57         12         2          76         1

C:\WINDOWS\system32>onstat -l

IBM Informix Dynamic Server Version 12.10.FC9DE -- On-Line -- Up 00:06:13 -- 185088 Kbytes

Physical Logging
Buffer bufused  bufsize  numpages   numwrits   pages/io
  P-2  45       128      7          1          7.00
      phybegin         physize    phypos     phyused    %used
      2:53             6400       533        45         0.70

Logical Logging
Buffer bufused  bufsize  numrecs    numpages   numwrits   recs/pages pages/io
  L-3  0        64       985        57         41         17.3       1.4
        Subsystem    numrecs    Log Space used
        OLDRSAM      984        109304
        HA           1          44

address          number   flags    uniqid   begin                size     used    %used
0000000080E06A80 9        U---C-L  9        3:53                14592     1276     8.74
0000000080E06AF0 10       A------  0        3:14645             14592        0     0.00
0000000080E06B60 11       A------  0        3:29237             14592        0     0.00
0000000080E06BD0 12       A------  0        3:43829             14592        0     0.00
0000000080E06C40 13       A------  0        3:58421             14592        0     0.00
0000000080E06CB0 14       A------  0        3:73013             14592        0     0.00
0000000080E06D20 15       A------  0        3:87605             14592        0     0.00
0000000080E06D90 16       A------  0        3:102197            14592        0     0.00
 8 active, 8 total

IBM Informix Dynamic Server Version 12.10.FC9DE -- On-Line -- Up 00:06:40 -- 185088 Kbytes

Dbspaces
address          number   flags      fchunk   nchunks  pgsize   flags    owner    name
0000000080CD6030 1        0x30001    1        1        4096     N  BA    informix rootdbs
0000000080CD6DE0 2        0x30001    2        1        4096     N  BA    informix physdbs
0000000080DEA860 3        0x20001    3        1        4096     N  BA    informix logdbs
0000000080DEAAB0 4        0x20001    4        1        4096     N  BA    informix datadbs
0000000080DEAD00 5        0x28001    5        1        4096     N SBA    informix sbspace
0000000082579030 6        0x2001     6        1        4096     N TBA    informix tempdbs
 6 active, 2047 maximum

Chunks
address          chunk/dbs     offset     size       free       bpages     flags pathname
0000000080CD6280 1      1      0          147456     140594                PO-B-D C:\APROGR~1\Bsystem\informix12\storage\rootdbs.000
0000000082579280 2      2      0          6656       203                   PO-B-D C:\APROGR~1\Bsystem\informix12\storage\plogdbs.000
000000008257A030 3      3      0          116992     203                   PO-B-D C:\APROGR~1\Bsystem\informix12\storage\llogdbs.000
000000008257B030 4      4      0          55296      55243                 PO-B-D C:\APROGR~1\Bsystem\informix12\storage\datadbs.000
000000008257C030 5      5      0          8192       7576       7576       POSB-D C:\APROGR~1\Bsystem\informix12\storage\sbspace.000
                                 Metadata 563        358        563
000000008257D030 6      6      0          14336      14283                 PO-B-D C:\APROGR~1\Bsystem\informix12\storage\tempdbs.000
 6 active, 32766 maximum

NOTE: The values in the "size" and "free" columns for DBspace chunks are
      displayed in terms of "pgsize" of the DBspace to which they belong.

Expanded chunk capacity mode: always

C:\WINDOWS\system32>onstat -m

IBM Informix Dynamic Server Version 12.10.FC9DE -- On-Line -- Up 00:07:08 -- 185088 Kbytes

Message Log File: C:\APROGR~1\Bsystem\informix12\ol_informix1210.log

16:02:03  Maximum server connections 0
16:02:03  Checkpoint Statistics - Avg. Txn Block Time 0.005, # Txns blocked 0, Plog used 19, Llog used 1

16:02:03  On-Line Mode
16:02:06  SCHAPI: Started dbScheduler thread.
16:02:06  Booting Language <spl> from module <>
16:02:06  Loading Module <SPLNULL>
16:02:06  Auto Registration is synced
16:02:06  SCHAPI: Started 2 dbWorker threads.
16:02:07  Performance Advisory: Based on the current workload, the physical log might be too small to
accommodate the time it takes to flush the buffer pool.
16:02:07   Results: The server might block transactions during checkpoints.
16:02:07   Action: If transactions are blocked during the checkpoint, increase the size of the
 physical log to at least 737280 KB.
16:02:07  Performance Advisory: The physical log is too small for automatic checkpoints.
16:02:07   Results: Automatic checkpoints are disabled.
16:02:07   Action: To enable automatic checkpoints, increase the physical log to at least 737280 KB.
16:02:08  Defragmenter cleaner thread now running
16:02:08  Defragmenter cleaner thread cleaned:0 partitions

win10系统下安装informix 12版本安装和简单使用注意相关推荐

  1. Win10系统下mysql-5.7.23的安装和配置方法

    ****Win10系统下mysql-5.7.23的安装和配置方法**** 1. 到MySQL官网下载MySQL 5.7.23的版本,下载地址:https://dev.mysql.com/downloa ...

  2. 查看计算机bios版本,Win10系统下查看电脑主板BIOS版本的方法

    众所周知,检程序和系统自启动程序,它可从CMOS中读写系统设置的具体信息,当我们要安装系统的时候,就需要进入bios中进行设置,而有时候也需要升级BIOS版本给主板增加设置,所以这时候我们就要先查看自 ...

  3. Win10系统下Eclipse+ADT+SDK配套安装(避免遇坑)

    要用Eclipse进行Android开发的朋友们,可谓是入门都要掉好多坑,我就是跳过这个坑爬出来又掉进下一个坑,接下来我就把自己使用eclipse+ADT+SDK的安装步骤详细介绍下,助大家在入门的路 ...

  4. Win10系统下 OpenCV 的下载与安装

    OpenCV 的下载与安装 一.OpenCV 的下载 1.OpenCV 官网下载网址 2.GitHub 下载网址 3.注意事项 二.OpenCV 的安装 一.OpenCV 的下载 1.OpenCV 官 ...

  5. Win10系统下.net framework 3.5安装失败报错0x800F0954的折腾过程和最终解决方法

    前几天,有朋友说PLC-Recorder软件在他们的两台配置一样的DELL电脑上都没有办法启动(双击无反应),他是WIN10系统.我建议他们检查文件是否齐全..net是否开启,他检查后,都没有发现问题 ...

  6. win10 系统下 Python2.7.18下载安装

    Python2.7.18简介 北京时间 2020 年 4 月 20 日 23 点 06 分,Python 2 维护者兼 Release Manager Benjamin Peterson 在邮件组中正 ...

  7. WIN10系统下JDK的下载、安装与环境配置

    一.JDK下载 1.在浏览器中输入下载地址:https:/www.oracle.com/downloads/ 2.找到Developer Downloads ,点击Java 3.点击Java(JDK) ...

  8. Win10系统下提示“系统组策略禁止安装此设备”的解决方案

    前些天系统自动更新了显卡驱动,导致出现了很多问题.重新安装显卡驱动,但却提示"系统组策略禁止安装此设备,请与管理员联系"的错误.网上查了一些资料,最后通过修改系统本地组策略中的相关 ...

  9. Win10系统下提示“系统组策略禁止安装此设备”的解决方案(家庭版无组策略)

    今天客户有台机器,U盘.移动硬盘都无法识别,设备管理器 安装更新驱动显示:windows已找到设备的驱动程序软件,但在试图安装时出现错误 查询信息提示:系统策略组禁止安装此设备.请与管理员联系. 查询 ...

最新文章

  1. asp.net2.0学习历程 菜鸟到中级程序员的飞跃【月儿原创】
  2. MySQL数据类型之数字类型详细解析
  3. Mac Os 基本命令行
  4. Protocol Buffer Java应用实例
  5. 通过excel模板文件根据数据库数据修改其中的单元格数据
  6. ID3DXMesh的数据导出和导入
  7. 深度学习之tensorflow (一) XORerr1 -修改
  8. linux   图片
  9. vissim免修改时间工具_App闪退怎么办?免越狱如何安装未签名的App?
  10. PHP物业居民小区业主房产办公管理系统源码-支持多小区管理系统
  11. python重新安装_重新安装python
  12. SSH客户端:Termius for Mac
  13. 【数据可视化】免费开源BI工具DataEase实现了SQL数据集和Excel数据集关联?(什么?快别挡着我,冲!)
  14. 图片php木马制作教程,图片木马制作大法
  15. 禁用hiberfil.sys文件
  16. 生物学和计算机学哪个好,生物学和计算机
  17. php微信授权登录sdk,微信授权登录
  18. 新款任天堂Switch游戏机底座专用解决方案
  19. java操作远端ftp文件失败
  20. BitBucket介绍以及基础使用

热门文章

  1. 蓝桥杯嵌入式CT117E硬件开发平台总结 | 最后的分享
  2. 在 SQL 中计算分页元数据,无需额外的往返
  3. mac办公软件必备清单,简单实用提高办公技能!
  4. 基础Java练习08:由卡号计算幸运数字
  5. 【转载】计算机视觉(CV)前沿国际国内期刊与会议
  6. 红米k40应用分身开启方法介绍
  7. 意法半导体 STM32F030F4 芯片解密 工业控制
  8. STM32F407-高级定时器中断功能
  9. JavaScript | call和apply
  10. 【论文总结】Meta-Learning for semi-supervised few-shot classification(附翻译)