Recently the Department of testing staff found a problem, said the Oracle user password prompt to expire, ask me what happened?The discovery found that the Oracle user password is only valid for 180 days, communicating with the responsible person
First, the functionFunctions are stored as database objects in an Oracle database, and functions are called PL/SQL subroutines. Oracle processing uses system-provided functions, and users can define their own functions. A function is usually called
sql>set Colsep '; -The field output delimiter. sql>set Term {on| OFF}; On: The query results are displayed both in the spool file and in the Sqlplus; off: The query results are displayed only in the spool file. Sql>set Echo {on| OFF}; Sets
Attention:Host name needs to be checked and the Hosts file modifiedCheck the size of the system table space. If the system does not scale automatically. Need to add data files or modify ask auto-extensionLsnrctl's check (this step I took a long time
Concept:The logical structure of Oracle can generally be divided into:table Spaces (tablespace), segments (segment), zones (extent), data blocks. Oracle consists of table spaces, which consist of segments, segments composed of blocks, and extents
Create tablespace user3 datafile ' e:\test\user3_data.dbf ' size 20M--Table space Initial Size: 20MAutoextend on next 5M maxsize 50M--auto-grow and 5M per expansion, table space Max is 50M--View table Space storage path and informationSELECT * FROM
This article is intended to instruct project personnel to extract the AWR reports of Oracle databases themselves.1. The AWR report extraction for the current connection instance:@?/rdbms/admin/awrrptSql> @? /RDBMS/admin/awrrpt CurrentInstance~~~~~~~
Two different database servers, one user from one database server, reads data from a user under another database server, which can use Dblink.In fact, Dblink and the database in the same view, build dblink need to know the IP address of the database
Operator optimizationIn operatorThe advantages of SQL in write are easier to write and easy to understand, which is more suitable for modern software development style.But SQL performance with in is always lower, and the steps taken from Oracle to
Application Scenarios:According to the keyword query similar to this keyword information, some of the keywords to exclude such as: "Limited", "limited liability Company", "Co., Ltd.", need to create an exclusion thesaurus table;First step: Thesaurus
Invalid when querying against incoming parameters in Oracle stored procedureEnvironment: oracle11gRequirements: Query the relevant data based on the parameters passed in as criteriaProblem: Invalid conditionCode:Create or Replace procedure XXX
Oracle job process solves the problem of no automatic execution
It's easy to create a job. Here we mainly talk about the problem that the job is not automatically executed according to the specified time.Solution:
1. Run the job
Begin
Oracle Stored Procedure record in project-common syntax memoOracle Stored Procedure record in project-common syntax memo
You need to write an oracle stored procedure in the project. You need to collect a complex query (involving multiple tables)
Oracle Development Environment ConstructionI. software preparation address: installation package on the oracle Official Website: because of personal learning, you can install the server without a client. A total of two compressed files are extracted
Use OracleRac11gR2's new feature renamedg to change diskgroupnameEnvironment Description: AIX7.1 + dual-node Oracle Rac 11.2.0.3Because this Rac is not installed by your own department, it is installed by the Development Department and is now
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