Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Problems encountered when sybase15 migrates the database

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Pv pvcreate / dev/sdb is the first thing to create when creating logical volumes

After creating pv, start to create vg vgcreate vg_db / dev/sdb

After creating vg, start marking lv, that is, logical volume lvcreate-L 1G extend_log vg_db

Restarting the operating system after delimiting the logical volume will cause the logical volume to be lost, so you need to activate vg.

Vgchange-a y vg_db

After activating vg, you also need to add sybase permission to the marked logical volume.

You can put these commands in the startup script / etc/init.d/boot.local

After the database starts successfully, you need to add this command to the .profile of sybase.

Stty erase ^ h

The number of connections to the database can be modified after the key is added, because ctms is a long link

Sp_configure 'number of user connections',200

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.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report