Question
How do you move the sysadmin database to a new dbspace?
Answer
The sysadmin database is created in the root dbspace during database server initialization. This database is required for the Scheduler API and Remote Administration feature.
Use the SQL Administration API command RESET SYSADMIN to move the sysadmin database to a different dbspace. This command drops the sysadmin database from the root dbspace and recreates it in the specified dbspace.
STEPS
1. Make sure this message is in the message log after database server startup:
SCHAPI: Started 2 dbWorker threads.
2. Create a new dbspace where sysadmin will reside.
EXAMPLE:
This example shows you how to create a new dbspace.
- execute function task("create dbspace", "admindbs", "/vol/dbspaces/admindbs", "1 GB", "0");
Here is another method to create a dbspace.
- onspaces -c -d admindbs -p /vol/dbspaces/admindbs -s 1000000 -o 0
3. Run these commands as user informix:
- dbaccess sysadmin -
- execute function task("reset sysadmin", "admindbs");
You will see this message:
SCHAPI: 'sysadmin' database will be moved to 'admindbs'. See online message log.
The internal thread bld_sysadmin (seen via onstat -g ath) waits up to five minutes to obtain exclusive access to the sysadmin database. The progress of the bld_sysadmin thread is logged in the online message log. Exit dbaccess to allow sysadmin database move to complete. On successful completion the sysadmin database is dropped and recreated in the new dbspace. The dbScheduler and dbWorker threads are restarted automatically.
本日志由 flyinweb 于 2011-02-26 10:47:37 发表,目前已经被浏览 2604 次,评论 0 次;
作者添加了以下标签: Moving (Resetting) the sysadmin database to a new dbspace;
引用通告:http://www.517sou.net/Article/585/Trackback.ashx
而且直接配置文件是效率最高的,通过其它驱动效率都相对较低,BDB
这个测试不太准确,看官方的测试结果:http://bind-dlz.sourceforg
为什么使用BDB时QPS这么低? 我在bind版本基本相似的环境中测试的
It is quite useful and interesting too.
VIRT 的上限是64G,也就是36位, cat /proc/cpuinfo的结果是:addre
昨天要准备用线程重写webbench,试验了下Fedora Linux 2.6.35.14
不明白您的具体的意思是什么?
已经发送到你QQ邮箱