Oracle is started as a service on Linux

Create a file named Oracle [root@stark init.d]# pwd  /etc/init.d  [root@stark init.d]# touch oracle  Add the following content to oracle: #!/bin/bash  # chkconfig: 35 95 1 

Modify the default encoding of MySQL

Take utf8 as an example. Assume that you have installed MySQL in Ubuntu (SEE) and the installation is successful. 1. Stop mysql Sudo/etc/init. d/mysql. server stop 2. modify my. cnf Sudo gedit/etc/my. cnf Find the corresponding part and add the

Instance Caging)

When multiple instances run on the same server, the concept of instance cage is introduced from Oracle 11gr2 to avoid mutual impact between instances. Instance cages can limit the CPU resources used by database instances. To use an instance cage,

Use of Linux Cassandra configuration and management platform

Paste a configuration example using cassandra 1. Configure the jdk1.6 and later environments.Check the java version after installation. It must be java version "1.6.0 _ 24" or later. Otherwise, an error similar to out of memory will be reported

DRCP in Oracle

DRCP is the Database Resident Connection Pool. The default Database is sys_default_connection_pool, but it is not opened. Start DRCP:Sqlplus/as sysdbaExecute dbms_connection_pool.start_pool ();It can be executed on any instance in the RAC

Enhancing SCN in Oracle and Case Study

In the Oracle database, we can use oracle internal events to adjust the SCN. There are two common methods to improve SCN: 1. alter session set events 'immediate trace name ADJUST_SCN level x ';-- Database OPEN is required 2. Event 10015Alter session

Oracle TNS-12535: TNS: Operation timeout

Recently I encountered the problem of "TNS-12535: TNS: Operation timeout. 1. First, check whether the server has enabled the firewall. The firewall blocks connections.Linux Firewall shutdown command: service iptables stop or chkconfig iptables off2.

ORA-00600: [32695], [hash aggregation can't be done] Solution

I. Problem Description Database Error. Read alertlog, which repeats the following content: Wed Jul 25 17:47:18 2012 Errors in file/oracle/admin/etldb/udump/etldb_ora_15674.trc: ORA-07445: exception encountered: core dump [kghssgdmp () + 273] [SIGFPE]

View the number of Oracle connections

1. view the maximum number of Oracle connectionsSQL> show parameter processes # maximum number of connections 2. Modify the maximum number of connectionsSQL> alter system set processes = value scope = spfile # value indicates the number of

Install MySQL in Ubuntu

Installing MySQL in Ubuntu saves a lot of trouble. Basically, I sorted out the online materials.1. Install MySQL Sudo apt-get install mysql-server mysql-client # You will be asked to enter the root user password once in the middle   Sudo

MySQL selects data from two tables and sorts data in a unified manner

The problem is that I want to obtain two adjacent rows with a row of records in a table and want to obtain them through union, so I write: Select id, title from subjects where id> # some_id # order by id limit 1 Union Select id, title from

How to rebuild or install AWR for Oracle 10g/11g

If you encounter a large amount of AWR data in your daily work, you can clear it as follows:SQL> select distinct dbid, db_name, instance_name from wrm $ _ database_instance;DBID DB_NAME INSTANCE_NAME-----------------------------------2691876695 MYDB

Oracle Development Kit

Establish package specifications Create Or ReplacePackage emp_packageIs G_deptno number (3): = 30; ProcedureAdd_employee (eno number, ename varchar2, sal number, dno numberDefaultG_deptno ); ProcedureFire_employee (eno number );

Oracle 10g manual create scott (tiger)

In Oracle 9i/10g, if the database instance does not have the scott mode, you can manually create it as follows: Log on to the database Create scott user Assign permissions to scott users Log On with scott user 1. Execute the following SQL

An error ORA-29701 is reported when a 10g library is created on an ASM instance of Oracle 11.2 RAC

When creating a 10g Database on the ASM instance of Oracle11.2 RAC, an error is reported: The Cluster Manager cannot be connected, and the ASM instance cannot be located. The error message is as follows:ORA-15077: cocould not locate ASM instance

Oracle disables operating system authentication and logon

1. How to log on to the database through operating system authentication 1) The most basic method is to use "sqlplus/as sysdba" to log on to the database. Sqlplus/as sysdba The slash "/" indicates the user name on the left and the password on the

HWM in Oracle)

HWM in Oracle) Find a table with a large number of records, for example, test1. Create table test2 as select * from test1 where 1 = 2; Insert into test2 select * from test1; The session is forcibly interrupted before the insert operation is

One of the solutions for displaying garbled characters in pl/SQL

I am a man-level character in Oracle, so I have encountered many problems. In the last few days, oracle data queries have encountered a strange phenomenon. A database is running on a different computer and in the same environment when pl/SQL is

Optimization solution for modifying table fields in MySQL

Requirement: Now you need to change the field name, add a field, delete another field, and change the field type. Create the following table (original table ):Create table month (Id INT,Week VARCHAR (10 ),Day VARCHAR (10 ),Hour VARCHAR (10 ),Primary

MySQL backup and AB Replication

Mysql backup and AB ReplicationThere are two replication methods: Synchronous replication (msylq-cluster) asynchronous replication (mysql-m/s master-slave backup is also called dual-machine Hot Backup) I. Mysql full backup (pure copy mode and

Total Pages: 1013 1 .... 873 874 875 876 877 .... 1013 Go to: GO

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.