Today needs to be in the station all the spatial data to do the storage processing, therefore installs the Oracle on the server, needs to connect to it in the local, has looked up the related information on the net, organizes as follows:Remote
1 GrammarGreatest (Expr_1, expr_2, ... expr_n) 2 DescriptionGreatest (expr_1, expr_2, ... expr_n) function from an expression (column, constant, computed value) expr_1, expr_2, ... expr_n and so on to find the largest number to return. When
SELECT level, To_char (to_date,'J'),'Jsp' ) from dual to level1000 The results of the operation are as follows:DescriptionTo_char (adate, ' JSP ') refers to the date adate the first day of the Julian date, the number of days 4712-01-01BC,
Ora-28000:the Account is locked-solutionOra-28000:the account is lockedThe first step: using PL/SQL, the login name is system, the database name is not changed, select the type of time to change the normal to SYSDBA;The second step: select Myjob,
Problem These two days have just configured plsql with Oracle , but when inserting data in plsql , there is a problem The table in Plsql cannot be displayed in Chinese, Chinese cannot be saved, cannot be exported, Chinese displays a question mark
Log in to the database with Conn/as sysdba.First: Create a new userCreate User by test02 (test01 for user name, test02 for user password)Second: Give basic permissions to database operationsGrant to test01;Three: Create a table spaceCreate the
ORACLE SQL TraceAUTOTRACE command1 SET AUTOTRACE off this is the default value, which is to turn off AUTOTRACE2 set AUTOTRACE on produces a result set and interprets the plan and lists the statistics3 Set AUTOTRACE on EXPLAIN display result set and
Oracle establishes tablespaces and usersSteps to establish a tablespace and User: Create user username identified by "password"; authorization: Grant create session to username; Grant CREATE table to username; Grant create
1. If you have a plsql client, you can use this user to log on and right-click all tables and Drop them.2. If you have the permission to delete a user, you can:
Drop user user_name cascade;
With cascade, you can delete all associated user data.
In essence, the parallel operation feature of Oracle databases is to forcibly extract idle resources (mainly CPU resources) from the database server and divide and manage some high-load big data. Parallel operations are a non-deterministic
Master/Slave database switchover
Switchover
Generally, SWITCHOVER is a planned SWITCHOVER, which features that no DATA will be lost after the SWITCHOVER, and this process is reversible, so the entire data guard environment will not be damaged, all
Recently, a project was created to access the oracle database through VC odbc. It can run normally on my computer and cannot run on other computers because the oracle odbc driver is not available and the oracle Data source cannot be configured. Most
Oracle RAC cache fusion is the core working mechanism of RAC. It virtualizes the SGA of all instances into a large SGA zone. Each time different instances request the same data block, this data block needs to be transmitted between instances. So
Stealing: http://www.blogjava.net/hello-yun/archive/2011/04/08/347890.html
Table TESTA, TESTB, and TESTC have two columns, A and B:
TESTA (A, B) | TESTB (A, B) | TESTC (A, B)
001 10A | 001 10B | 001 10C
002 20A | 003 30B | 004 30C
There are two
Today in the virtual machine environment experiment, when changing the rac environment to flashback on, reported a ORA-27054 error, the error code is as follows:
Errors in file /u01/app/oracle/admin/racdb/udump/racdb2_ora_25551.trc:ORA-38701:
Before Oracle 11g, when there is a problem with the database, it is often the first time you need to read the alert Log to see what errors are recorded in it, you can prompt us. Alert file name
Alert _ . log. The file storage path is determined by
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