If you want to query all the tables in the database, you can querySelect * From dba_tables
If you want to query the tables of a user in the database, you can also log on to the user and then query:Select * From user_tables
To import External
Paging query statement:
Select * from (
Select a. *, rownum rn from (
Select * from Table table_name)
Where rownum = 20;
Select * From table_name indicates the original query statement that does not flip pages. Rownu = 21 control the
Statement:I will not email the relevant documents any more, so I hereby declare that. Download by yourself.
========================================================== ====================
I attended the super-level qualification information
OS statisticsJohn also needs to eliminate the possibility that the host system is a bottleneck when carefully checking the user's performance problems. Before using Oracle for 10 Gbit/s, he can use operating system (OS) tools such as SAR and vmstat
Create user [username] identified by [Password] Create a new user
Grant permission 1. Permission 2... to grant the user the permission to create a user
Ex: grant create session to [username] at this time, you can only connect to the database
During routine Oracle maintenance, DBAs often need to kill sessions in the following two situations:1. The app complained that their application had hung and found that their session was blocked by other sessions in the database. In this case, the
Importing and exporting Oracle Data imp/exp is equivalent to restoring and backing up ORACLE data. The exp command can export data from the remote database server to the local DMP file, and the IMP command can import the DMP file from the local to
1. Check if RAC is normal[Oracle @ racdb01 ~] $ Crs_stat-TName type target State host------------------------------------------------------------Ora. RAC. DB application online racdb01Ora... s1.inst application online racdb01Ora... s2.inst
First, you must have a table!Create Table example (ID number (4) not null primary key,Name varchar (25 ),Phone varchar (10 ),Address varchar (50)
);
Then, you need a custom SequenceCreate sequence emp_sequenceIncrement by 1 -- add severalStart with 1
To start and close a database,
Must have
Oracle
Log on as an administratorGenerally
SysdbaPermission user login. Generally, sys users use sysdba to start and close databases. The following describes the differences between the startup and shutdown
Summary of Oracle Installation (Linux) by freet15 [article from:] Oracle Installation (Linux) by lanf, source: Author: Oracle Installation in freet15 Linux: oracle claims that the installation of the Oracle9i database in Linux requires at least MB
Use Oracle SQL * Plus to analyze SQL
I. Analyze and execute SQL statements
SQL> set autotrace on; Description: Enables automatic analysis statistics and displays the running results of SQL statements.
SQL> set autotrace traceonly; Note: Enable
Gains, more than OracleAuthor of basic information: Liang jingbin Liang jinhong Press: Electronic Industry Press ISBN: 9787121200700 mounting Date: April 2013 publication date: 16 open pages: 480 versions: 1-1 category: more about computers, more
Problem description:
After receiving a complaint from the customer, the data file rbs01.dbf In the RBS tablespace of the database exceeds 10 GB and continues to grow. Another rbs02.dbf is normal and the size is 800 mb. Currently, the space usage of
When using PLSQL developer, the ORA-12154:TNS: Unable to parse the specified connection identifier "a solution to the problem plsqldeveloper version 7.1 today suddenly needs to change a project a long time ago, that project uses Oracle9iStart PLSQL
-- Obtain the select TRUNC (SYSDATE) FROM dual; -- Obtain the 23: 59 minutes and 59 seconds of the current day (add one day and then minus one second based on the 00:00:00 of the current day) select trunc (SYSDATE) + 1-1/86400 FROM dual; -- the
This article uses two methods to solve this problem when I often encounter password loss when I use Oracle.
One method:
sqlplus "/ as sysdba"
SQL>startup
SQL>alter user system identified by root123;
Http://blog.csdn.net/wanglihuahaiyan/article/details/4381417
--------------------------------------------------
DotConnectOracle is a. net platform developed by Devart to access Oracle databases. Its Professional Edition is a paid version that
Tomcat is a good development and learning container, but when you use the JDBC driver ojdbc6.jar and JDK6 that come with Oracle 11g to run together, especially when you use it with the spring framework, the following error occurs: SEVERE: error
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