When tomcat is started, the system prompts that port 8080 is occupied. After searching, the following conclusions are found:
If you install other servers that use port 8080, such as Oracle, tomcat, and jboss, on one machine, the port 8080 is
In Oracle databases, undo has three major functions: providing Consistent Read, Rollback Transaction, and Instance Recovery ).Consistent Read is relative to Dirty Read. Assume that a table T contains 10000 records. It takes 15 minutes to obtain all
First, build a database in Ubuntu, such as temp.
Mysql-h localhost-u root-p temp
You will be prompted to enter the password.
2. import data:
The syntax is mysqldump-opt database name
The example is mysqldump-hlocalhost-uroot-p123456 zf
How to display all current user tables in OracleShow all tables of a user (for example, SCOTT, uppercase is required)
Select TABLE_NAME from all_tables where owner = 'Scott ';
Show all current user tables
Select * from user_tables
Display All
In Linux/UNIX operating systems, mysql or Oracle is generally used to use databases. This article describes how to install mysql in RHEL4. Other unix-like systems are also applicable.
Token)
2. Decompress mysql to/usr/local.# Tar zxvf
The company's recent MySQL always has a large number of lock tables. After analysis, it basically uses the MYISAM Table engine. A large number of reads and writes to a table by MYISAM will cause the entire MySQL table to be locked, as a result,
Oracle Database partitioning is an important means and method for optimizing the performance of Oracle databases. Before doing the project at hand, I only heard the name of an over-area, when I was talking about it at a seminar, I told myself that I
1. What are bad database blocks?First, let's take a look at the format and structure of the database block:The data block of the database has a fixed format and structure, divided into three layers:Cache layerTransaction layerData layer
When we read
I. Solve the problem:
Solve the problem that the tablespace is large and the total display space is insufficient.The ORA-01536: space quota exceeded for table space 'aaa'Ii. Three solutions:(1) alter user USERNAME quota 100 M on TABLESPACENAME;(2)
When catalog is not used, all configuration information in rman is recorded in the control file.
Dump information in the control file:
**************************************** ***********************************RMAN CONFIGURATION RECORDS*************
Today in the deletion of a large table column, accidentally DBA restart DB, and then execute the query, it reported the ORA-12986 error, first come to understand this error:
ORA-12986: columns in partially dropped state. Submit ALTER TABLE DROP
Today, my colleague reported that the installation of the Oracle 11g client on RedHat 5.5 has been unsuccessful. For the error, see:
View the specific error information as follows:
Information: Build a client shared libraryInformation: Build a
Oracle substr function usage
Obtain the string substr (string, start_position, [length]) with the specified start position and length in the string.
Substr (string, truncation start position, truncation length) // return the truncated word;
When
For the restoration of accidentally deleted tablespaces, this article discusses the restoration of database-based time points and the recovery of tablespace-based time points respectively.
1. Restore accidentally deleted tablespaces through database-
Oracle uses ASM for storage. By default, there is only one control file for database creation. To add more control files, you must manually add them. The following are the specific steps:
1. view the current control file
[Oracle @ Oracle-LAB dbs] $
After the data files in the UNDO tablespace are deleted by mistake:
Back up the database before the operation to avoid greater losses.Ideas:1. Remove the accidentally deleted data file offline2. Create an UNDO tablespace and data file after the
Introduction
Replace is similar to an insert statement.If an old record in the table has the same value as a new record used for the primary key or a UNIQUE index, the old record is deleted before the new record is inserted.
Unless the table has a
Oracle example:Select extract (year from sysdate) from dual; // return Current YearSelect extract (month from sysdate) from dual; // return Current MonthSelect extract (day from sysdate) from dual; // return Current DaySelect extract (hour from
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