Basic Oracle knowledge

Basic Oracle knowledge A tablespace can belong to only one database. Each database must have at least one control file (we recommend that you store three files on different disks) Each database has at least one tablespace (system

Analysis on the storage format of Oracle basic data types (I) -- Character Types

Http://www.dbonline.cn/source/oracle/20041023/PLSQL_use%20compose%20and%20unistr.htm Http://www.cnoug.org/archive/index.php/t-43401.html Http://searchdatabase.techtarget.com.cn/searchdatabase/504969415343734784/20050126/1905909_1.shtml

Oracle System Table query

The data dictionary dict always belongs to the Oracle user SYS. 1. User: Select username from dba_users; Change Password Alter user spgroup identified by spgtest; 2. tablespace: Select * From dba_data_files; Select * From dba_tablespaces; //

Oracle temporary table

Currently, all applications that use ORACLE as the database support platform have a large amount of data, that is, the data volume of tables is generally more than one million data volume. Of course, creating partitions in Oracle is a good choice,

Oracle Lock Management

Oracle locks have the following modes: 0: None 1: NULL 2: Row-s row sharing (RS): Shared table lock, sub share 3: Row-x exclusive (RX): used for row modification, sub exclusive 4: Share share lock (s): block other DML operations, share 5: S/row-x

Switch: Oracle connect by usage

Http://shqkm.blog.163.com/blog/static/794804172010323102545265/ Oracle connect by usage The SELECT statement in Oracle can use the start with... connect by prior clause to implement recursive queries. The connect by clause is used in

Oracle JDBC connection

JDBC thin, OCI: two Java methods provided by Oracle to access the Oracle database thin is to use Java to access the database, the advantage is that you do not need to install the client OCI, that is, to use Java to call the local Oracle client and

Oracle decode Function

Decode Syntax: Select decode () from E.g .: Select orderno, decode (ostatus, 'P', 'Prepare to process', 'C', 'finished ') From order_master This function can be used to convert rows to columns: Select * from Score Select u_id, stu_name,

Oracle Partition Table

quote: 1. How to operate a table after a partition is created. Answer:A normal table is like a Xinhua Dictionary used by a primary school student. A partitioned table is

Partition Table operations in Oracle databases (applicable to large data volumes or TB-level databases in a single table)

Abstract: In a large number of business data processing projects, you can consider using partition tables to improve the performance of the application system and facilitate data management. This article describes the use of partition tables in

Oracle entry-1 tablespace

  1 From: http://soft.chinabyte.com/database/430/11385430.shtml 2 from: http://qxh.javaeye.com/blog/609437   1. in Oracle, table space is the basic method for data management. All user objects must be stored in the table space, that is,

Go to: Understand Oracle database structure components from the inside

Transferred from: Http://database.51cto.com/art/200707/51422.htm [Bring togetherBlog of Oracle: instances and databases Instances are composed of the following: SGA, sharedpool, databasebuffercache, and redologbuffercache. A database consists

Oracle naming Block

Today I read a book and wroteCodeBut it can be executed in seqplus, but cannot be executed in PLSQL. I checked it online. declare v_deptno number (2); v_dname varchar2 (10); begin begin select deptno into v_deptno from EMP where lower (ename) =

User connection problems in Oracle

View user connections Disconnect a connection View connection IP View user connections in OracleSelect username, Sid, serial #, status from V $ session where username <> '1 ';Select Sid, SES. Serial #, SES. username, Pro. username, Pro.

Oracle drop table space release test

Drop table releases the space occupied by the segment, while the OS space occupied by Data Files remains unchanged. 1. Create a tablespace, table, and insert 300 pieces of data 1 SQL > Create Tablespace TBS datafile ' /Opt/Oracle/oradata/nwom/

Composition of Oracle clusterware

Oracle cluster is a separate installation package. After installation, Oracle clusterware on each node is automatically started. The operating environment of Oracle clusterware isTwo Disk Files (OCR, voting disk), composed of several processes and

Common Oracle queries

Select * From dba_users -- View All Users Select * From user_all_tables -- query the current user tablespace Select * From user_source -- Query all functions and stored procedures Select * from V $ session -- view the current user connection

Recursive query in Oracle

The requirement is to check what the topic of the site we have set up for the user has been adjusted n times, so I found relevant information on the Internet, query with a specific Oracle statement. Detailed content from

Collection of Oracle experience and skills

1. delete a tablespace Drop tablespace tablespacename [including contents [and datafiles]2. delete a user Drop user user_name Cascade3. Notes for deleting a table When deleting all data in a table, the truncate table name must be used. Because

Quick query of common Oracle functions-my notes

Quick query of common Oracle functions 1. ASCII () C1 is a string that returns the ASCII code of the first letter of C1. Its Inverse Function is CHR () Select ASCII ('A') big_a, ASCII ('Z ') big_z from empbig_a big_z65 1222.chr( ) [nchar_cs] I is a

Total Pages: 2147 1 .... 1915 1916 1917 1918 1919 .... 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.