Daily work Small knowledge points for Oracle's new data files

1. The tablespace is small file tablespace and then the data file can not be expanded after about 32g, application errorUse statements for performance and fastest processingAlter tablespace user add datafile ' c:\cwdata\user21.dbf ' size 32gResults

Oracle installation and related configuration

Oracle Windows Environment Requirementsoracle10g memory should be at least 512M, preferably 1GB or above;oracle11g memory preferably 2GB or aboveoracle10g and oracle11g must use an Internet browser to log in to ORACLE Database Enterprise Manager,

ORACLE Statistics View the number of rows per table

Create or replace procedure Sp_static_tab/*** Count the number of rows for all tables*/IsVv_table_name VARCHAR2 (64);Vi_table_rows number;VV_SQLSTR VARCHAR2 (200);Cursor R_cursor isSelect table_name from User_tableswhere substr (table_name,1,3) <> '

Use nulls first or nulls last syntax in Oracle sequencing

-PrincipleNulls first and Nulls last are the syntax supported by the Oracle order by, if an expression is specified in order by, the record that represents a null value is ranked at the top (either ASC or DESC) If the expression is specified in the

Oracle Password-related

A. Forget the login password for users other than SYS and system users.   Login with SYS (or system) User: CONN Sys/pass_word as sysdba;  use the following statement to modify the user's password: ALTER user user_name identified by "Newpass";   Note:

Oracle View History Execution plan

Select B.instance_number,B.SNAP_ID,A.begin_interval_time,A.end_interval_time,B.SQL_ID,B.plan_hash_value,B.parsing_schema_name,B.executions_delta,B.rows_processed_delta,Round (B.elapsed_time_delta/decode (B.executions_delta,0,1,b.executions_delta), 0)

Oracle Common Statements 1

--I am the annotation information SQL statement--Creating User: Create user username identified by password;Create UserJack identified byj123;--lacks CREATE SESSION priviledge user does not have permission to connect to the database--Authorized User:

Oracle Some of the more common commands

Method One: The version number is displayed on login [[email protected] ~]$ sqlplus/as sysdbasql*plus:release 11.2.0.3.0 Production on the Mar 6 17:51:14 2018C  Opyright (c) 1982, Oracle. All rights reserved. Method Two:sql> select * from V$version; 

Silent installation of Oracle

Environment preparation One, download the installation packageOfficial: http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html[[email protected] data]# lslinuxamd64_12c_database_1of2.zip

Precautions when building django+oracle 11g on the Win7 system

When building django+oracle 11g on a Win7 system, note that the example uses Python 2.7:Important: Python, Oracle, Oracle client these three OS bits must be the same, otherwise Python cannot connect to the Oracle database.

Oracle linux installation and oraclelinux Installation

Oracle linux installation and oraclelinux Installation Vi/etc/sysconfig/network change the host name to orcale   Vi/etc/hosts modify ing IP + Host Name Configure YUM   InstallYum install binutils compat-libcap1 compat-libstdc ++-33 compat-libstdc ++-

Basic Oracle Database Operations (6)-data export and import, basic oracle operations

Basic Oracle Database Operations (6)-data export and import, basic oracle operations 1. log on to the specified user in the oracle database under cmd Method 1: Log On Through command line plaintext connection Open cmd and enter sqlplus/nolog.

Differences between varchar2 and nvarchar2 in oracle, varchar2nvarchar2

Differences between varchar2 and nvarchar2 in oracle, varchar2nvarchar2 1. NVARCHAR2 (size) is similar to VARCHAR2 (size CHAR). The only difference is that the maximum length of NVARCHAR2 (size) is 4000 bytes, the maximum length is 2000 characters)

ORACLE deletion lock tutorial, oracle tutorial

ORACLE deletion lock tutorial, oracle tutorial Delete from TMP_MZRBB_CZYXMTJ1; Insert into TMP_MZRBB_CZYXMTJ1 (sfxmflmc, sfbz, je, wssdm, pxxh, xmfl) Select B. sfxmflmc , A. sfbz , Sum (B. je) as je , B. wssdm , 0 as pxxh , (Select dmz from

Knowledge about common oracle database system users, logon statements, and logon users.

Knowledge about common oracle database system users, logon statements, and logon users. Common system users (permission arrangement) Sys> system> sysman> scott Scott default password tigerLogon statement: System/password or connect sys/password as

For instructions on Oracle undo, oracleundo

For instructions on Oracle undo, oracleundo When an oracle database instance is started, it checks the UNDO_TABLESPACE parameter to determine which undo tablespace to use. If the specified undo tablespace is not found in the database, the database

Summary of table connections and connection Summary

Summary of table connections and connection Summary 1. Number of times of nested loop accessSYS @ PROD> create table t1 (Id number not null,N number,Contents varchar2 (4000));SYS @ PROD> create table t2 (Id number not null,T1_id number not null,N

Basic Oracle Database Operations (5) -- use java to call stored procedures and oracle stored procedures

Basic Oracle Database Operations (5) -- use java to call stored procedures and oracle stored procedures I. Environment preparation Log on to the Oracle database scott account and use emp to perform operations. 1. Create the proc_getyearsal Stored

What should I do if Navicat returns an error _ CannotloadOCIDLL87 when connecting to Oracle ?,

What should I do if Navicat returns an error _ CannotloadOCIDLL87 when connecting to Oracle ?, Navicate is a good tool for IT staff to connect to various popular databases for our convenience. An error occurs when you connect to Oracle: Cannot

What is an oracle stored procedure? Oracle Stored Procedure Quick Start, oracle Stored Procedure

What is an oracle stored procedure? Oracle Stored Procedure Quick Start, oracle Stored Procedure 1. What is an oracle stored procedure? Stored Procedures and functions are also PL/SQL blocks stored in databases. However, stored procedures and

Total Pages: 2147 1 .... 1591 1592 1593 1594 1595 .... 2147 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.