In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article will explain in detail how to use the onspaces and onparams commands in informix-online dynamic servers. Xiaobian thinks it is quite practical, so share it with you as a reference. I hope you can gain something after reading this article.
I. The onspaces command
1.1. Create spaces with the onspaces command
Phraseology: onspaces -c [-b] [-d] [-m] [-o] [-p] [-s] [-t]
-c Create a blobspace or dbspace
-b Name of blobspace to be created
-d Name of dbspace to be created
-g Size of blobpage in disk pages
-m Mirror device pathname and offset
-o chunk device offset in kbytes
-p chunk's disk partition or device name
- Size of s chunk in kbytes
Create a temporary dbspace
Example: onspaces -c -d dbspace -o 0 -p /home/informix/chunk/chunk1 -s 3000
1.2. Delete spaces with the onspaces command
Syntax: onspaces -d space_name Delete dbspace or blobspace
1.3. Add chunk via onspaces command
Syntax: onspaces -a [-m] [-o] [-p]
-a adds chunk to the dbspace or blobspace the name refers to
-m pathname offser Pathname and offset of mirror device
-o offset offset
-p pathname Disk partition or device name
-s size chunk size
Example: onspaces -a dbspac -o 0 -p /home/informix/chunk/chunk2 -s 2000
1.4. Remove chunks with the onspaces command
Syntax: onspaces -d [-m] [-o] [-p]
II. The onparams command
2.1. Add logical logs via onparams command
Syntax: onprams -a [-d] [-s]
-a Add a logical log file
-d dbspace dbspace where the new log file is located
-s size The size of the new log file
2.2. Delete logical logs via onparams command
Syntax: onparams -d [-l]
-d Delete a logical log file
-l Number of deleted log file
2.3. Change physical logs with onparams command
Syntax: onparams -p [-d] [-s]
-p Change physical log files
-d dbspace dbspace where the physical log file is located
-s size The size of the physical log file
2.3. The onmode -l command is used to switch logical logs
The newly added logical log can only be used after making a system backup.
ontape -s
About "informix-online dynamic server onspaces and onparams command how to use" this article is shared here, I hope the above content can be of some help to everyone, so that you can learn more knowledge, if you think the article is good, please share it to let more people see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.