It is easier to install MySQL in Solaris than to install Oracle. The following describes how to install MySQL in Solaris.
Operating System: Solaris10Database: mysql5
Mysql-5.1.42-solaris10-i386.pkg.gz
1. Transfer media to the server
I use FTP to
The Oracle database update was used a few days ago, but there were a lot of problems with this simple problem. Therefore, we will search online materials and summarize them here for temporary use.
The SQL statements listed below are based on the
The day before yesterday, the customer called and said that the background database of the GPS inspection system had crashed because the space allocated to the image storage disk was insufficient and he adjusted the partition. I asked him to back up
Installing a database in Linux causes a lot of trouble. The following is one of the troubles:
After the innodb database engine is installed, find a lot of information, which is roughly as follows:
1. Remove # skip-before innodb #
2. Delete the
SQL * PLUS allows you to create a login. SQL file. This script is executed every time SQL * PLUS is started. In addition, you can create an SQLPATH environment variable. In this way, no matter which directory the login. SQL script is located, SQL *
1. The steps for compiling an Oracle stored procedure are as follows:
Create or replace procedure P_AUTO_CREATE_PARTITION
(Result Out int,
LogErrDesc Out varchar2
)
Is
Type TypeTable is table of varchar2 (20 );
CreatePartitionErr exception;
In the morning, the Provincial Social Security Project Team responded that the database had a system-type SQL statement, which occupied a lot of resources and seriously affected the database performance. The specific SQL statement is:
Select count (
I just tested a program and reported an error saying that the data was not found:
Rochelle date1! = L_date2L_date1 = 26-MAY-11, l_date2 = 26-MAY-11
......
It turns out that it was nls_date_format.
Oracle uses built-in programs such as
Change the vip address of Oracle 10g RAC 1 from 192.168.2.11 to 192.168.2.13, And the vip address of rac2 from 192.168.2.12 to 192.168.2.14.I. Overview of software and hardware Environments
Two redhet Enterprise-R4-U4 systems rac1 and rac2 are
Now the new version of WebLogic is a product in Oracle, so we will see the red Oracle logo. The installation process is as follows:
1. Download the free installation package wls1033_oepe111150_linux32.bin.
2. log on to the system as a non-root
1. su-Oracle-switch Oracle users (If su oracle is used, the. profile user environment configuration file is not run at startup)
$ Lsnrctl start-start the listener
2. Start the database
$ Sqlplus "/as sysdba"-use the sys user to log on to sqlplus
SQL
Source code: xx. pc
/*
Function: demonstrates Oracle non-scroll cursor operations
Considerations when defining a cursor:
1. The declare cursor statement must be the first statement to use the CURSOR.
2. The cursor name is an identifier
DB_UNIQUE_NAMEDB_NAME
In general databases, we can see that there is no special difference, but in Multi-instance and multi-data systems, these two are often mentioned. I accidentally think of the two as one stuff. Actually not.
My personal
Create user myuser identified by mypassword default tablespace users;/**Enter the User name: myuserEnter the password:ERROR:ORA-01045: user MYUSER lacks create session privilege; logon deniedAfter creating a user, the user cannot log on immediately*/
Brief process of installing Oracle 11G in 64-bit Ubuntu:
1: Set the environment
Sudo apt-get install rpm libaio1 ksh libtool libstdc ++ 5 build-essential
2:Set directory structure and symbolic link
Sudo ln-s/usr/bin/awk
Sudo ln-s/usr/bin/rpm
1. Introduction to Oracle dml SQL rollback LogicDatabase transactions consist of one or more DML (insert, update, delete) SQL statements. We know that the Oracle database uses the UNDO tablespace to store transaction rollback information during DML
The business problem can be roughly described as follows: A parent table and a sub-table, the query result is to find the records in the sub-table that do not use the parent table id. In this case, it is estimated that many systems will be involved.
[This article only records the upgrade process, does not discuss the advantages and disadvantages of the two versions, and the current database on this website is relatively simple, there is no stored procedure or anything, so the same method cannot
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