log files12:00:01 am iface rxpck/s txpck/s rxkB/s txkB/s rxcmp/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 packages received per secondTxpck/s indicates the number of packets sent per secondRxkB/s data volume received per secondTxkB/s data volume sent per second5. view memory conditions in free modeTotal used free shared buffers cachedMem:
2975 martin salesman 1250 blke MANAGER 2850 clark manager 2450 scott analyst 3000 king president 5000 turner salesman 1500 ADAMS CLERK 1100 james clerk 950 ford analyst 3000 miller clerk 1300 has selected 14 rows. SQL> SET AUTOTRACE ONSQL> SET AUTOTRACE TRACEONLYSQL> SELECT * FROM SCOTT. emp where ename = 'James '; // scan the entire table to find information about JAMES. Required | Id | Operation | Name | Rows | Bytes | Cost (% CPU) | Time | -------
1. nvl FunctionThe nvl function converts a null value to an actual value. The data type can be date, number, character, and must match: for example:Nvl (commision, 0)Nvl (hiredate, '01-JAN-87 ')Nvl (job_id, 'no manager ')Nvl (to_char (job_id), 'no manager ')Nvl can convert any data type, but the returned value of the converted data type must be the expr type of the first parameter of nvl (expr1, expr2). For example: date, number, varchar2 or charExample: Calculate the annual salary of an employe
Oracle arithmetic operations, oracle Arithmetic
In Oracle's default installation, a SCOTT user has been created. The default password is tiger, which has four tables:Employee table (EMP), department table (DEPT), salary Registration Form and bonus table. Next, many operations are completed under this user.In Oracle development, there are still arithmetic operations, relational operations, and logical operations.Oracle's arithmetic operators are not as rich as C #'s Arithmetic Operators. There a
Recently, the company has installed several DELL PE2650 and 2850 servers. The RHLE5.132 system is installed in a unified manner, while the server's SCSI hard disks are all RAID 1. The boss of the company asked for a unified detection report on hard disk I/O. He found many tools in Linux and found that iostat is the most practical. He needs to install sysstat first, that is, yum-y install sysstat; setting up yum servers in the company is not the focus
The import of large data volumes is a common problem for DBAs. Here we will discuss the import of millions of data volumes in the SQL server environment, and hope to help you. The 51cto editor recommends the topic "getting started with SQL Server.
In practice, you sometimes need to import a large amount of data into the database and then use it for various program calculations. In this experiment, we will use step 5 to complete this process and record the time spent by various methods in detail.
Use of any, some, and all, and nested queries for cross-operation variance operations (Oracle)
Select EMP. empno, EMP. ename, EMP. Job, EMP. Sal from Scott. EMPWhere SAL> Any (select Sal from Scott. EMP where job = 'manager ');
-- As long as SAL> subquery returns the smallest Sal value.-- Break it down to see the following:Select Sal from Scott. EMP where job = 'manager ';Select EMP. empno, EMP. ename, EMP. Job, EMP. Sal from Scott. EMPWhere SAL> 2975 or SAL>
for different values only.
SQL> select stddev (SAL) from Scott. EMP;
Stddev (SAL)
-----------
1182.5032
SQL> select stddev (distinct Sal) from Scott. EMP;
Stddev (distinctsal)
-------------------
1229.951
64. Variance (distinct | all)Covariance
SQL> select variance (SAL) from Scott. EMP;
Variance (SAL)
-------------
1398313.9
65. GroupIt is mainly used to calculate the number of a group.
SQL> select deptno, count (*), sum (SAL) from Scott. EMP group by deptno;
Deptno count (*) sum (SAL)
-------
sales Chicago7566 Jones 2975 20 research Dallas7654 Martin 1250 30 sales Chicago7698 Blake 2850 30 sales Chicago7782 Clark 2695 10 Accounting New York7788 Scott 3000 20 research Dallas7839 King 5500 10 Accounting New York7844 Turner 1500 30 sales Chicago7876 Adams 1100 20 research Dallas7900 James 950 30 sales Chicago7902 Ford 3000 20 research Dallas7934 Miller 1430 10 Accounting New York
14 rows selected.In this view, EMP is a key-preserved table, b
In practice, you sometimes need to import a large amount of data into the database and then use it for various program calculations. In this experiment, we will use step 5 to complete this process and record the time spent by various methods in detail.
The tools used in this experiment are VS2008, SQL server 2000, and SQL server 2008. 1 million pieces of data are imported into SQL 2000 and SQL 2008 respectively using the 5 method. The experiment environment is DELL
// close oracle# Service oracle restart // restart oracle
7. Test
A. Auto Start
Copy codeThe Code is as follows: Last login: Mon Nov 26 19:57:06 2012 from 10.0.0.145
[Root @ ORS ~] # Su-oracle
[Oracle @ ORS ~] $ Sqlplus "/as sysdba"
SQL * Plus: Release 10.2.0.1.0-Production on Mon Nov 26 20:07:33 2012
Copyright (c) 1982,200 5, Oracle. All rights reserved.
Connected:Oracle Database 10g Enterprise Edition Release 10.2.0.1.0-ProductionWith the Partitioning, OLAP and Data Mining options
SQL> set l
rather than conn_mwrite, meaning that the command parameters need to be read again. Therefore, the conn_nread breakpoint is added.
(Gdb) B 2848
After debugging, you can see this Code:
2848 if (c->rlbytes == 0) { 2849 complete_nread(c); 2850
automatically shut down.
Troubleshooting of dell 2850 server hard drive
Troubleshooting of server hard disk faults
Configuration Overview:
1. Four hard disks are used as RAID 5.
2. 2003 Operating System
Fault status:
Among them, the hard drive of the No. 0 plug-in has a yellow light. The first re-plugging fault is solved, and the same situation has occurred in a few days.
Solution:
Condition: the system must be online (in 2003 Status) for ho
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.