Oracle Database tablespace capacity adjustment script

(Tablespace contraction script)] -- 1. obtain information about the tablespace to be released (including the tablespace owned by oracle database) -- Drop table system. tbs_detail; Create table system. tbs_detail as select A. tablespace_name, A.

Oracle Distributed Data Solution

Oracle-related Distributed Data SolutionsThis solution may gradually die out in the cloud computing and SOA architecture, but it is still quite practical. This article briefly introduces common data synchronization solutions because Advanced

How to use script files to manage Oracle databases

Using script files to manage Oracle databases has great advantages. For example, you can reduce the command input. For example, you can save the commands that pass the debugging test so that you can use them again when needed. For example, you can

One oracle paging Problem

After finishing the project yesterday, I asked the test to test it. The test said that paging query does not seem to work. After Turning to page 4th, the data results will be the same.At that time, I was puzzled. It was impossible. The paging

Oracle queries the table space size and usage SQL statements

SQL1:Copy codeThe Code is as follows:-- 1. view the table space name and size.SELECT t. tablespace_name, round (SUM (bytes/(1024*1024), 0) ts_sizeFROM dba_tablespaces t, dba_data_files dWHERE t. tablespace_name = d. tablespace_nameGroup by t.

Oracle views and modifies the number of connections (process/session/concurrency, etc)

1. query the number of connections to the current process of the database:Copy codeThe Code is as follows:Select count (*) from v $ process; 2. view the number of connections in the current session of the database:Copy codeThe Code is as

A simple demonstration of Row-level locks caused by concurrent primary key columns in the Oracle database

Content • Software environment• A simple demonstration of Row-level locks caused by concurrent Oracle databasesThis article briefly demonstrates the row-level locks caused by concurrent Table Primary keys. More than two concurrent users modify the

Use the Decode function of Oracle for multi-value judgment

The syntax structure of the Decode function is as follows: Copy codeThe Code is as follows:Decode (expression, search_1, result_1)Decode (expression, search_1, result_1, search_2, result_2)Decode (expression, search_1, result_1, search_2, result_2,..

Oracle merge query transaction SQL function knowledge learning

Table query: Merge query: Use the union keyword to remove duplicate rows that meet the condition.Copy codeThe Code is as follows:Select ename, sal, job from emp where sal> 2500 union select ename, sal, job from emp where job = 'manager '; Union all

How Does oracle delete users and provide solutions?

When deleting a user in Oracle, the following statement is prompted: ORACLE cannot delete the current connected user:SQL codeSQL>Copy codeThe Code is as follows: select username, sid, serial # from v $ session;Username sid serial #-------------------

Oracle zone management and segment space management

As a DBA, one of the common scenarios is:Create a tablespace:Copy codeThe Code is as follows:CreatetablespaceThinkDatafile '/u01/app/oracle/oradata/orcl/think. dbf'

Oracle subroutine parameter mode, IN, OUT, NOCOPY

IN is mainly used to input parameters, which can be variables, constants, and expressions. The value cannot be changed within the subroutine.Copy codeThe Code is as follows:DECLAREN NUMBER: = 10;PROCEDURE do_something (N1 in number)

Some practical SQL statements

1. query the names of products with prices higher than the average price:SELECT item_name FROM ebsp. product_market_price WHERE item_price> (select avg (item_price) FROM ebsp. product_market_price2. oracle9i or a later version allows you to insert

50 things that must be understood when converting mysql to oracle

In addition, some of the differences they listed are quite meaningful. Some may be due to their own identity as a MySQL DBA, and some may be confused about Oracle. however, in general, the list of Baron Schwartz can help you understand the

Oracle queries the table name and column name.

1. query Table Name: Copy codeThe Code is as follows:Select table_name, tablespace_name, temporary from user_tables [where table_name = table name]Where: table_name: Table Name (varchar2 (30 ));Tablespace_name: The tablespace that stores the table

Simple use of Oracle date

1. intersect is the intersection of multiple query results;2. query the SQL statements recorded in the table within two basic periods;Select * from shengjibiao t where t. createtime between to_date ('2017-7-26 ', 'yyyy-MM-dd') and to_date ('2017-7-29

Oracle stored procedure and function example

Author: peace. zhaoExample of cursor if andCreate or replace procedure peace_ifIsCursor var_c is select * from grade;BeginFor temp in var_c loopIf temp. course_name = 'OS' thenDbms_output.put_line ('stu _ name = '| temp. stu_name );Elsif temp.

Oracle Database space management skills

The ORACLE tutorial is about space management of Oracle databases. In Oracle databases, DBAs can observe tables or views to understand the usage of the current space and make possible adjustments.I. Free Space for tablespaceBy observing the free

Oracle common error diagnosis

The ORACLE tutorial is: Oracle common error diagnosis. ORACLE errors are detailed in the ORALCE documentation, but the causes and measures are not detailed. This article focuses on how to solve these errors.   1, ORA-12571, ORA-03113, ORA-03114, ORA-

Oracle Database Security Policy Analysis (3) page 1/2

The ORACLE tutorial is: Oracle Database Security Policy Analysis (3 ).Data security policy: Data Generation considerations should be based on the importance of data. If data is not important, the data security policy can be relaxed. However, if

Total Pages: 2147 1 .... 1717 1718 1719 1720 1721 .... 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.