First, the Linux system initialization processII. Process Management1, Top (real-time display system information)[email protected] ~]# Top2. Free (show memory usage status)FreeThe value of three red boxes is added to the total amount of memory used = blue box used blue Box used + blue Box free = Blue box Totalbuffer[buffer]: memory is used when writing data to diskcache[Cache]: used when the CPU reads data from memory3, PS (shows the status of the current process)PS grep ' Gnome ' # based o
//Launch Oracle# Service Oracle Stop//Turn off Oracle# Service Oracle Restart//Restart Oracle7. TestingA. Boot from bootLast Login:mon 19:57:06-10.0.0.145[[emailprotected] ~]# su-oracle[[emailprotected] ~]$ sql Plus "/as sysdba" Sql*plus:release 10.2.0.1.0-production on Mon Nov 20:07:33 2012Copyright (c) 1982, 2005, ORACLE.NB Sp All rights reserved. Connected to:oracle Database 10g Enterprise Edition Release 10.2.0.1.0-productionwith The partitioning, OLAP and Data Mi Ning Optionssql> set linesi
/s txcmp/s rxmcst/s12:10:01 AM Lo 0.00 0.00 0.00 0.00 0.00 0.00 0.0012:10:01 AM eth0 0.62 0.04 0.04 0.01 0.00 0.00 0.0012:10:01 AM eth1 0.59 0.01 0.04 0.00 0.00 0.00 0.00RXPCK/S indicates the number of packets received per second txpck/s Indicates the number of packets per second rxkb/s amount of data received per second txkb/s amount of data sent per second5 free View memory conditionTotal used free shared buffers cachedmem:1906900 274296 1632604 232 24268 111232-/+ buffers/cache:138796 176810
(*), sum (SAL) from Scott.emp GROUP by DEPTNO has NT (*) >=5;
DEPTNO COUNT (*) SUM (SAL)
--------- --------- ---------
20 5 10875
30 6 9400
Sql> Select Deptno,count (*), sum (SAL) from Scott.emp has the have count (*) >=5 GROUP by TNO;
DEPTNO COUNT (*) SUM (SAL)
--------- --------- ---------
20 5 10875
30 6 9400
67.ORDER by is used to sort the results of the query to output
Sql> Select Deptno,ename,sal from scott.emp to Deptno,sal desc;
DEPTNO ename SAL
--------- ---------- -------
Because of the computer room NS firewall Some temporary small problem, Saturday morning to do the car to the West railway station Unicom computer room to adjust, in the inspection of other server hardware when found a DELL PE 2850 server Front of the display screen flashing orange, which means that there are problems
The error code displayed on the screen is as follows:
IB110
SBE Log Disabled
On the Internet to check the key words:
Some say it ha
length, purple is value
A. Select the PSE Environment: select 1PAY. SYS. DDF01 file
t:00 A4 0E (2E), 2E 44 44 46 30 31 00
c:6f 0E, 2E, 2E, A5, 5F 2D, 7A, BF, 0C, 9F, 4D, 0B, 0A 90 00
Card Return Data parsing:
6F (0E), 2E, 2E (1PAY). SYS. DDF01) A5 (SFI short file identifier) 5F 2D (Preferred language) 027A (en Chinese) BF 0C 9F 4D 0B 0A (SW1, SW2)
The next step is to read the record, the short file identifier is 01, the preferred language is Chinese
B. Select the PSE Association file by loopi
Oracle's self-JOIN operationFor Oracle databases, there are two sets of grammars currently supported, one for Oracle's own SQL syntax and one for the standard SQL99 syntax, and two sets of syntax for Oracle's connection operations can be implemented separately. Of course, in terms of efficiency, there is no difference between the two. But from my point of view, Oracle's syntax is more concise.For example, we have a list of EMP, the table data is as follows[Email protected]> Conn Scott/tigerConne
2850 - 7782CLARK MANAGER7839 the-June-Bayi 2450 Ten 7788SCOTT ANALYST7566 +-APR- the the - 7839KING President --NOV-Bayi the Ten 7844TURNER salesman7698 ,-SEP-Bayi the 0 - 7876ADAMS Clerk7788 at-May- the 1100 -
Yesimp_full_database CREATE DATABASE LINK nosys creat E Public DATABASE LINK NODBA CREATE public DATABASE LINK yesgrantee PRIVILEGE ADM-------------------------------------------------------------------------DBA CREATE databa SE LINK YES12 rows selected. Sql> Grant CREATE DATABASE link to Scott; Grant succeeded.Sql> CREATE DATABASE link Comparison_link Connect to Scott identified by Root using ' orac1 ';D atabase link created. Sql> show Useruser is ' SCOTT ' sql> s
', ' SCOTT ', ' ALLEN ');=========================================================Iii. precedence of conditions in where1. Arithmetic operation2. Comparison operation3. Logical operation: Not>and>or① find a job as an administrator or an analyst, and a person with a salary greater than 2500Sql>select * from EMP where (job= ' MANAGER ' or job= ' ANALYST ') and Sal >2500;EMPNO ename JOB MGR hiredate SAL COMM DEPTNO---------- ---------- ------------- ---------- ------------ ---------- ---------- -
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.