Easy to understand usage and description of Informix common commands

Source: Internet
Author: User
Tags informix

Syntax OnInit [-S] [-i] [-P] [-y]

oninit -s  将系统从off-line模式变为quiescent模式
oninit -i  初始化系统
oninit -p  在共享内存初始化时,不搜索,删除临时表
oninit -y  对提示自动回答yes
oninit -v  加入这个选项显示oninit处理过程
oninit-- 键入此命令可以获得使用帮助

The OnInit command is used to change the operating mode of the system. The-i option is used to initialize the root dbspace of the system. Note that once the root-dbspace is initialized, it is equal to the entire database system being initialized.

If the user wishes to automatically start the dynamic server system when the computer starts, add the OnInit command (without any options) to the system's initial file (/ETC/RC on many UNIX systems).

Onmode command

Syntax: Onmode [-K] [-m] [-S] [-u] [-y]

onmode -k 执行立即shutdown,将系统变为off-line模式
onmode -m 将系统从quiescent模式变为on-line模式
onmode -s 执行graceful shutdown
onmode -u 执行immediate shutdwon
onmode -y  对提示自动回答yes

The Onmode command is also used to change the running mode of a dynamic server. In addition to the above options, Onmode has many options unrelated to changing the operating mode of the system.

Create a data space with the Onspaces command

Syntax: onspaces-c [-B] [-d] [-z] [-m] [-O] [-p] [-S] [-t]

-c 创建blobspace或dbspace
-b blobspace blobspace名
-d dbspace dbspace名
-g page size blobpages大小
-m mirror  镜像设备设的全路径名和偏移量(KB)
-o offset  偏移量(KB)
-p pathname  chunk设备的全路径名
-s sizedbspace大小(KB)
-t 创建临时dbspace

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.