High-performance PL/SQLAssuming the code meets functional requirements, PL/SQL code needs to meet 3 conditions to become efficient:1. Performance: The operating time is within an acceptable range.2. Impact: It does not disrupt (or weaken in some
Naming conventions
Variable specification
1. Enter the parameter, the unification begins with the i_ prefix, and cannot omit the in
2. Out of the argument, the unification begins with the o_ prefix
3. Local variables, uniformly
Completed Oracle 10g database and forgot to unlock the Scott account. This can be in the SQL Plus tool (start | All Programs || Application Development | SQL Plus), or you can unlock the Scott account from the console via the command line.In the
Today, when managing Oracle, a very strange problem is found, which can be landed via Sqlplus Sys/password as SYDBA or Sqlplus/as sysdba.But by Sqlplus Sys/[email protected] as SYSDBA login error, displayOra-01031:insufficient PrivilegesObviously
----1.createandloadfromoraquery command and open 6 threadsCommand>createandloadfromoraquery scott.t1 6 SELECT * from SCOTT.T1;----2. Complete data import with built-in commandsCommand>call tttableschemafromoraqueryget (' Scott ', ' T1 ', ' SELECT *
Three. Issues that may arise with the Import tool imp(1) Database object already existsIn general, you should completely delete the table, sequence, function/process, trigger, etc. of the target data before importing the data.The database object
Stream is an extended application of Oracle's Message Queuing (also known as Oracle Advanced Queue) technology. Oracle's Message Queuing addresses event management through a publish/subscribe approach. Stream replication is just a data sharing
Problem environmentfp:precise901+oracle11gAgent:oracle Linux Server Release 6.4, oracle11g (RAC)Problem descriptionPatrol found precise agent instance 2 monitoring failed to collect dataVerify error: Error in collector startupAnalysis process1,
With the knowledge of more and more, but also more and more found their own shortcomings, simply record the learning of the knowledge bar.Although Oracle is used in the project, it is not really a sufficient application for Oracle, for example, if I
Recently in Oracle 11G. An issue was found when importing data exports: Oracle does not export empty tables with no data. The data found that this is the case only in Oracle 11g, the process is as follows:
Sqlcommand:alter system set
SQL statements that are paged and sorted in Oracle using RowNumPreviously, paging was used to use such SQL statements: select* from (selectt.*,rownum row_num from mytable t order byt.id) b whereb.row_num between 1 and10 It is found that because the
Premise, use the Entity Framework Power Tools to generate code First modeEnvironment:EF6.0MySQL 6.9EF Power Tools 4VS2012Problem, SQL Server uses TS field to handle concurrency control, how does MySQL handle it? How does Oracle handle it?Idea: Use
Dbms_output Bag
No.
Sub-Program Name
Describe
1
Enable
Opens the buffer when the user uses the"SET serveroutput on" command, this statement is called automatically
2
Disable
In Oracle, temporal tables are divided into session-level and transaction-level, and session-level temporal table data exists throughout the session until the end of the session, and the transaction-level temporary table data disappears after the
Oracle lock 3: DDL lockWhen an ongoing DDL operation is executed or a schema object (Note) is referenced, the Data dcictionary (DDL) Lock is used to protect the definition of the schema object, only a single schema object is locked during DDL
OracleRAC cluster SCAN description
1 SCAN Overview
Some netizens posted a message on my Blog saying that I didn't write SCAN configuration in my RAC setup. This was supposed to have been written before, But I just searched for it and did not
ORA-01950: no privileges on tablespace xxxx, noprivileges
Case scenario:
After creating a tablespace, TBS_MARKET_DAT wants to place the archived data in the tablespace.
SQL> CREATE TABLESPACE TBS_MARKET_DAT
2 DATAFILE '/u04/oradata/gps/bookt_
Two forms of ORA-01502oracle database index
In the current project, when we run the batch, there is an SP always reports the error "ORA-01502: index 'wbill _ 102. PK_A_NOTWEB_ACT_PROVINCE_M 'or partition of such index is in unusable state ". The
Oracle ORA-00988 missing or invalid password error, ora-00988invalid
When setting the password for the database instance, be sure not to start with a number, otherwise you will encounter a ORA-00988 missing or invalid password (password missing or
PLSQL _ Statistical Information Series 2 _ errors in program performance (CASE) and plsql statistics
Created By BaoXinjian
I. Summary
In a stable database with performance, all jobs must be completed within a certain period of time.
In the past, in
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