目的:
由于业务需要(老的php连接informix程序和新版本的openadmin),需配置PHP同时支持informix和pdo_informix(使用PECL (PHP Extension Community Library))。
由于业务需要(老的php连接informix程序和新版本的openadmin),需配置PHP同时支持informix和pdo_informix(使用PECL (PHP Extension Community Library))。
操作系统版本:AIX 5300-12-01-1016
数据库版本:Informix V11.50FC9
数据库安装一切顺序,初始化正常(rootdbs等空间大小均使用祼设备,且小于等于2GB(2048000)),然而在创建一个4G的dbspace时报错。
informix> onspaces -c -d demodbs -p /opt/informix/dbs/demodbs -o 40 -s 4000000
Verifying physical disk space, please wait ...
The chunk ' /opt/informix/dbs/demodbs ' will not fit in the space specified.
online.log中的报错信息为:
WARNING: mt_aio_wait: errno == EINVAL
核对机器文档上的系统要求ids_machine_notes_11.50.txt,操作系统要求明显高于要求,且提到的几个fix都包括:
instfix -ivk IY66195
instfix -ivk IY71363
instfix -ivk IY83580
Portable Streams Environment (PSE)
strload -q
和Asynchronous IO (AIO) 都是正常的。
在网上搜了好长一段时间关于WARNING: mt_aio_wait: errno == EINVAL信息,有提到使用SDS的BUG,或者951密码错误方面,或者block块大小不一致的问题,均不符合当前要求。偶而发现一个aix5.3下安装11.50的问题http://wworacle.blog.163.com/blog/static/212687252008107291871 ,虽然问题不同,忽然一想,莫非也是系统内核问题?于是将内核改成64位。
原bootinfo -K 为32,bootinfo -y 为64
转换到64位内核
ln -sf /usr/lib/boot/unix_64 /unix
ln -sf /usr/lib/boot/unix_64 /usr/lib/boot/unix
bosboot -ad /dev/ipldevice
然后重启系统,bootinfo -K 输出为 64
启动数据库,再次增加4G的dbspace正常成功
informix>onspaces -c -d demondbs -p /opt/informix/dbs/demodbs -o 40 -s 4096000
Verifying physical disk space, please wait ...
Space successfully added.
** WARNING ** A level 0 archive of Root DBSpace will need to be done.
总结: informix 11.50 64位版本在aix上安装需要64位的硬件系统和64位的内核,同时需要满足数据库对操作系统的要求。
环境:操作系统为suse11,数据库版本为Informix V11.50FC9
需要额外的文件包:ISL3.50MC3.tar(即IBM Informix International Language Supplement V3.30 MC2)中简体中文zh_CN.UTF8字符集支持。
在一次数据库HDR升级中(从10.00FC7升级到11.50,操作系统为HP-UX 11.31 IA64),使用备机先升,主机为备份的方式(HDR断开前,主机仅允许select操作,其它操作业务关闭)。
目标 :
1、了解块(chunk)的布局;
2、了解保留页结构;
3、了解块可用列表页(chunk free-list page)的用途;
4、了解partition页的结构;
5、了解partition number(partnum);
6、了解物理日志和逻辑日志结构;
目标:
1、了解页的基本布局;
2、熟悉页头组成;
3、了解slot的用途;
4、使用oncheck查看页结构
mysql使用编译方式安装,使用用户mysql,主目录为/home/mysql,编译使用
./configure --prefix=/home/mysql
--enable-thread-safe-client