How does one modify the Oracle replica set in Linux ?, Linuxoracle code

Source: Internet
Author: User

How does one modify the Oracle replica set in Linux ?, Linuxoracle code

The Oracle replica set installed on the virtual machine is different from the replica set installed on Windows. Refer to the online documents to modify the replica set on the server, and make a summary and record here.

1. log on to the Oracle user of the VM.

2. Start the listener and service

[Oracle @ localhost ~] $ Lsnrctl start # enable listening https://mp.blog.csdn.net/postedit? Ref = toolbar [oracle @ localhost ~] $ Sqlplus/as sysdbaSQL> startup # Start the service

3. View Oracle database character sets

SQL> select userenv ('language') from dual;

4. Modify the character set of the Oracle database

SQL> shutdown immediate; SQL> startup mount; SQL> alter system enable restricted session; SQL> alter system set job_queue_processes = 0; SQL> alter system set aq_tm_processes = 0; SQL> alter database open; SQL> alter database character set internal_use the sequence set you want; # For example, ZHS16GBKSQL> shutdown immediate; SQL> startup;

Query the replica set again and find that it has changed.

Related Article

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.