1. The LONG data type stores variable-length strings with a maximum length limit of 2 GB.
2. For text that exceeds a certain length, the LONG type can only be used for storage. Many objects in the data dictionary are defined as LONG.1. The LONG
Solution to Oracle database running errors:
Error 1: ORA-01034: ORACLE not available
After Oracle is installed and started, use sqlplus "/as sysdba" to log on. If you run any select statement, an error occurs:
Select * from dictionary
*
ERROR at
In 10gR2, oracle simplifies the whole process of stream configuration. In 9iR2 and 10gR1, You need to configure stream capture, propagation, and application processes.
It has been encapsulated by the new process
1. Install JDK
Create a Temporary Folder under/tmp
[Root @ lsjlinux root] # cd/tmp
[Root @ lsjlinux root] # mkdir javacn
[Root @ lsjlinux tmp] # cd javacn
Download the j2sdk-1_4_2_02-linux-i586.bin from the sun website and save it to/tmp/javacn
When Oracle is installed today, the following error occurs when the xhost service is started:
_ X11TransSocketINETConnect () cant get address for localhost: 6001: Name >>or service not known Error: Cant open display: localhost: 1.0
Solution:
1.
Method 1: Use the script that comes with oracle to start and close... 1
1. oracle user modify the/etc/oratab file:... 1
2. oracle users modify the $ ORACLE_HOME/bin/dbstart file:... 1
3. Test and run dbshut and dbstart 1.
3.1. Execute the
The oracle listening mechanism is the portal for external applications to connect to oracle. Use the lsnrctl program provided by oracle for management. Generally, when managing oracle, many people tend to ignore the security management of listener:
Permission management:
The default three usernames and passwords in oracle 9 are as follows:
Sys change_on_install // the Administrator with the highest Permissions
System manager // common Administrator
Scott tiger // common user
In oracle 10,
I was surprised when someone deleted the database dba role, so I had to find a way to recover it. After searching for information, I finally completely restored the dba role. Now I will share the recovery process with you:
Use sys/xxxx as sysdba to
Everyone and so on have set the permission. The system rejects the permission, but you still can read it without knowing why. everyone has all the permissions. I used CACLS to change the permission, but there are still problems with restarting, add
About Oracle 11gR2 Grid Infrastructure Single Client Access Name (SCAN) Oracle11gR2Grid Infrastructure (CRS) introduces Single Client Access Name (SCAN) to simplify Client Access to database services, this article describes in detail the meaning and
IOT (Index Organized Table) We know that normal tables are Organized in the form of heap, which is a disordered organization. Oracle also provides an ordered table, which is an index organization table (IOT table. The IOT table must have a primary
Oracle Auto-increment mode 1. Maintain auto-increment mode by using the oracle feature sequence
Create sequence emp_sequence increment by 1 -- add several start with 1 each time -- count NOMAXVALUE from 1 -- do not set the maximum value NOCYCLE --
The problem of multi-field connection between oracle tables is as follows:
SELECT * FROM table1 a, table2 B, WHERE a.1 = B .1 AND a.2 = B .2 AND a.3 = B .3 ----------
In the initial stage, Table a contains the three fields in Table B that are
When installing The DBMS_SHARED_POOL package, you will encounter an error such as the DBMS_SHARED_POOL package is not executed on The Existing Database when installing the 10g gc, which means that The DBMS_SHARED_POOL package is not installed; the
The oracle case when index, null index, and bitmap index table T1 contains million data records. ID = 2 contains only 10 records, and the case when index can be used when ID = 2 is queried. You can create an index as follows:
Create index I _1 ON T1
Scope sets the initialization parameters to take effect immediately. 1. Test Requirement background. 1. Have you asked me if the initialization parameters can take effect immediately after modification? I did a test immediately and concluded that
Oracle Database status query
Startup status SQL statement result nomountselect status from v $ instance; STARTEDselect open_mode from v $ database; ERROR at line 1: ORA-01507: database not mountedmountselect status from v $ instance; MOUNTEDselect
Flash recovery is incomplete recovery and Incomplete recovery. It is fast and simple. The disadvantage is that it can only process logic, physical errors such as deletion of data files cannot be processed (the records in the table space in the
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