Oracle grabs archived logs from the backup set Method In Dalian Hospital encountered this problem, the database is archived state, but after the archive, Rman through the crontab automatically prepare the archive log and delete the existence of the
--Standby Library StandbyFour Redolog of the main library were previously 50M sizesSql>ALTER DATABASE recover managed standby database cancel;Database altered.sql> ALTER DATABASE Add standby logfile Group One (' +data/orcldg/onlinelog/standby_group_1
Because they are seldom used, they are almost forgotten, but they can be useful to greatly simplify the syntax of some SQL, as for efficiency.As the CCW says, they are no different from the exists, in and the like, and have specific problems to
1. Open Sqlplus Login User
> System as Sysdba
>****
2, create a temporary table space
Create Temporary 'D:\else\oracle\tablespace\vtm\vtmtemp.dbf' on Next 50m maxsize 20480mextent Management
One1) Download Oracle client: http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html2) Download Plsql:Note: Install Plsql if the corresponding instantclient for 32 bits is under 32 bits, Plsql if the corresponding
DROP TABLE TEST PURGE;CREATE TABLE TEST (po_number VARCHAR2 (+), Product_Name VARCHAR2 (+), quantity number);INSERT into TEST VALUES (' CJ201300048 ', ' tp-link network switch TP-1024DT ', 2);INSERT into TEST VALUES (' CJ201300049 ', ' 4-way/Trenton
today we are going to do a query function: Query A user's department, and include all of the department's parent department information. Accidentally found a way to make a note. Share to the same rookie as me, hahaQuerying child nodes*2 from
Use JDBC to change the session parameter NLS_DATE_FORMAT of Oracle
Except for one problem recently, this is probably the case. The project is developed abroad and a large number of Oracle functions TO_DATE are used in the project development process,
Simple ORACLE database operation function usage
1. DISTINCT usage:
Select distinct a. NAME, A. STUDENT_ID, A. SEX FROM TABLE STUDENT
This SQL statement queries the name, student ID, and gender from the student table, but the query rules of DISTINCT
Servlet update execution error ORA-12518
ORA-12518: TNS: listener cocould not hand off client connection
This error is generally tested for database concurrency by multiple users,
The backend executes an update using the servlet method, but the
Oracle Performance Analysis 12: Object statistics
Object statistics describe how data is stored in the database. The query optimizer uses these statistics to make the correct decision. Oracle has three types of object statistics: Table statistics,
Whether the maximum number of connections is set in oracle or an error is returned
There are 1100 data records to be updated, and an error is reported during connection.
ORA-12518, TNS: listener cocould not hand off client connection
According to
Set IP address access restrictions for ORACLE11G
For data security considerations, make some restrictions on the IP address of the oracle database. Only a fixed IP address can be accessed.
Modify the $ JAVA_HOME/NETWORK/ADMIN/sqlnet. ora File
Add
TRUNC () function usage in Oracle
TRUNC () function usage in Oracle
1. Processing date
TRUNC (date [, fmt]): truncates a date based on the fmt Format.
Select trunc (SYSDATE, 'D') from dual; -- select trunc (SYSDATE, 'mm') from dual on the first day
Oracle user creation and database backup and restoration operations
-- Create the user create user XX identified by "" default tablespace USERS temporary tablespace TEMP profile DEFAULT password expire; -- Grant/Revoke role privileges grant connect
View the running SQL process script sharing in Oracle, oraclesql
Oracle show processlist
Copy codeThe Code is as follows:Set linesize 400;Set pagesize 400;Col SQL _text format a100;Col machine format a25;Col username format a15;SELECT a. username, a.
Oracle Installation Error: environment does not meet requirements
In the past, I often encountered this problem when installing Oracle, and I didn't care too much about it. I modified the cvu_prereq.xml file under the client \ stage \ cvu directory (
Oracle Data ProcessingDML Language &: address character; (PrepareStament) Batch Processing: insert -------- insert employees of Department 10 to a new table at a time; Do not write values statements; the Value List in the subquery should correspond
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.