DBAs should regularly check the database connection to check whether the number of sessions established with the database is normal. If too many connections are established, the database resources will be consumed. At the same time, DBA may need to
Oracle connect by usage
The SELECT statement in Oracle can use the start with... connect by prior clause to implement recursive queries. The connect by clause is used in structured queries. Its basic syntax is as follows:
Select... from
The installation detects that the system's primary IP address is the IP address assigned by DHCP.When installing Oracle 10.2.0.1, the following warning is
1. The connection is very slow. An exception occurs when the Select Operation is executed after the connection is successful:
Exception in thread "Main" Java. SQL. sqlexception: ORA-00600: Internal error code, parameter: [ttcgcshnd-1], [0], [], [], [
I used toad for Oracle 9.0.1, which has powerful functions. Unfortunately, I think the program is too large and the memory consumption is serious.
If the program is not disconnected during shutdown, it cannot be shut down successfully. I am
When debugging the stored procedure a few days ago, Oracle inexplicably reported an error. When the stored procedure was executed into a piece of SQL, it could not wait until it was executed. Finally, the sqlcopy was executed separately, when you
Anyone familiar with Oracle knows that SQL plus is an important tool for dealing with Oracle. SQL plus itself has many commands that can help us do many things, including generating standardized reports and providing human-computer interaction.
Oracle Database is one of the most complex databases so far. This complexity allows Oracle databases to meet various requirements of enterprises. However, most of the time, the database administrator has some skills to simplify database maintenance.
Directory (?) [-]
Linux x86/x64:
Windows x86/x64:
AIX:
HP IA64:
HP PA-RISC 64:
Solaris x64:
Solaris x86:
Solaris iSCSI x64:
Solaris iSCSI x86:
Oracle 11.2.0.3 patchset.
Note: This is the complete version and can be installed directly. Use
My colleague failed to access the database on my PC at night in Windows 1521. According to the methods provided on the Internet, I set up a firewall to enable inbound and outbound access through port, the result still cannot be connected.
After a
Lead:Returns the value of hire_date in the next record.Select last_name, hire_date,Lead (hire_date, 1) over (order by hire_date) as "nexthired"From employeesWhere department_id = 30; Last_nameHire_dateNexthired----------------------------------------
-- Varchar, varchar2
Contact:1. varchar/varchar2 is used to store variable-length stringsFor example, if varchar (20) is saved to the string 'abc', this field occupies only 3 bytes in the database, not 20 bytes.2. The maximum value of size is 4000,
Instr
(Source string, target string, start position, matching serial number)
In Oracle/PLSQL, The instr function returns the position of the string to be truncated in the source string. Only retrieval once, that is, starting from the character
It
Q: What is null? A: When we do not know the specific data, it is also unknown. We can use null. We call it null. in Oracle, the column length containing null values is zero. Oracle allows blank fields of any data type, except for the following two
--- String to dateSelect to_date ('2017-11-30 18:00:00 ', 'yyyy-mm-dd hh24: MI: ss') from dual;-- Select * from Scott. Dept d Where E. deptno = D. deptno and D. deptno = 10;Select sysdate, add_months (sysdate, 12) from dual;
-- Add or subtract time
Oracle databases have three standard backup methods: Export/Import (exp/IMP), hot backup, and cold backup. Exporting spare parts is a logical backup, while cold backup and hot backup are physical backup.
1. Export/import (export/import)
The export
901. chained_rows
Stores the output of the analyze command with the list chained rows clause.
902. chainge_sources
Allows the publisher to view the existing changed resources.
903. change_sets
Allows the publisher to view existing change settings.
9
L
Naming rules
1, Table attribute Specification1.1 table name for each subsystem, the table name prefix is composed of the abbreviations of each part plus. The naming conventions for each part are as follows:
The con _ data table name must consist
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