Oracle Create user and backup restore database operations

--Create the user create user XX identified by "", default tablespace USERS temporary tablespace TEMP profile default Password expire;--grant/revoke role privileges Grant connect to Xx;grant Ctxapp to Xx;grant dba to Xx;grant exp_full_database to xx;

Oracle 11.2.0.4.0 Dataguard Deployment and ongoing maintenance (2)

1. Primary library settings Dataguard related parameters1.1. Force the Primay Library to log in any stateSYS@userdata>SelectForce_logging fromv$Database; Force_log---------Nosys@userdata>Alter DatabaseForce logging;Databasealtered.

Rman restores Oracle database with NetBackup redirection

1. Create a database directory2. Copy the Pfile file from the original host and change the ORACLE_SIDVi. Bash_profilesource. Bash_profile3. Start data to Nomount status$ sqlplus/as sysdbasql> startup nomount pfile= ' pfile file absolute location ';

Oracle Common Performance

--based on SQL query for specific SQL sql_idSELECT * from Dba_hist_sqltext t where t.sql_text like ' INSERT all into tt_deduct_scat_deduct_result% ';--View execution plan based on SQL ID aanqrwv9p5x5sSELECT * FROM table (dbms_xplan.display_cursor ('

Oracle's Test user Scott

Test user of Oracle database Scott's password why is Tiger?In June 1977, Larry Ellison and Bob Miner and Ed Oates co-founded a computer company called the Software Development Lab (software development laboratories,sdl) in Silicon Valley (Oracle

Simply talk about Oracle's profile.

1. Query the profile information: SELECT * from SYS. Dba_profiles;SELECT * from SYS. Dba_profiles where profile= ' DEFAULT ';2.An example of creating a profile:1. CREATE profile "TEST"2. LIMIT3. Cpu_per_session 10004. Cpu_per_call 60005.

Automatic backup of Oracle 11g database

Crontab timed task trigger with Linux. The implementation process is as follows:First, sign in with an Oracle accountSecond, add the xxxxx.sh script under the/home/oracle directory.Content: Export oracle_sid=xxxxxExport

Calculates the difference between two date and time in Oracle

--Method 1Select Floor((sysdate-To_date ('2006-09-01 08:00:00','YYYY-MM-DD Hh24:mi:ss'))) assdays fromdual;--ceil (n) takes the smallest integer greater than or equal to the value N;--Floor (N) takes the largest integer less than or equal to the

Oracle Two-Sheet association batch update data for one of the tables

OracleTwo table associated batch updateOne of the table data method one (Recommended): update table 2 set table 2. C = ( select B from Table 1 where table 1. A = table 2. A) where exists ( select 1 from table 1 where

Once again, Oracle is so beautiful that root.sh

Assuming that you run the following command, you will basically find two root.sh scripts under the Oracle Software folder[Email protected] templates]$ find/u01/-name root.sh |xargs ls-ltr-RWXRWX---1 oracle oinstall 02:37/u01/app/db11g/product/11.2.0/

Oracle queries a ranking person based on their score rankings

Let's talk about the table structure first name score Fenshu table name test1, the following query is ranked third and fourth place, this template lets you check the random rank of the personSelect NAME,FENSHU,MC from (SelectNameFenshu,Dense_rank ()

Oracle Syntax Logging

-Three Forms of loop (1). LOOP (2). While ... Looop (3). For ... LOOP1. Basic Loop statement set Serveroutput on;--exit ... when end loop declare v_value number (8): =-3; BEGIN >-loop tag loop dbms_output.put_line (' V_value = ' | | v_value);

Advanced Query method for Oracle Database Multi-Table federated query

  Oracle queries    One, simple queryORDER BYSelect T.sno, T.sname, t.ssex from STUDENT t ORDER byGroup BY Enhanced EditionSELECT P.toma, P.ptype, SUM (P.lastcou) from product P GROUP by Rollup (P.toma, P.ptype)    Second, advanced query

Oracle Data block corruption and recovery specific explanation

1. What is block corruption:The so-called corrupted data block refers to the block not being used in the recognizable Oracle format, or its contents are internally inconsistent.Typically, corruption is caused by a hardware failure or an operating

Udev implements disk binding during Oracle ASM installation

Udev is relatively mature compared to Oracle's own asmlib.Article reprinted from: Maclean Liu's personal technology blog [http://www.oracledatabase12g.com/]In we introduced the use of Asmlib as a special design for the Oracle Automatic Storage

Oracle-related Fundamentals

Oracle- related Fundamentals relational database and non-relational database Relational database is a database based on the relational model, and the relational model is a two-dimensional table to represent and store the data;non-relational database

Syntax differences between MySQL and Oracle (Network collection)

Oracle has no offet,limit, and in MySQL we use them to control the number of rows displayed, up to the point of paging. If Oracle is paging, replace it with RowNum. When Oracle builds a table, there is no auto_increment, all to make a field of

Oracle Learning Summary 1

One, cmd Log on to the Oracle serverSqlplus Scott/[email protected]//192.168. 241.128:1521/ORCSecond, the basic operation1, solve Sqlplus does not support the Chinese setting:Add the environment variables as follows:Set Nls_lang to simplified

Oracle-sql (b)

createtime--2017 June 1 14:36:37Author:marydonOne, SQL statements(b) Promotion1.2.1 Left connection + paged querySituation: the class table and the student table are related to each other, query the student information and the classMethod One: Use

"Gandalf" Sqoop1.99.3 basic operations-Import Oracle data into HDFs

First step: Enter Clientshell[Email protected]:~$sqoop.sh ClientSqoop Home directory:/home/fulong/sqoop/sqoop-1.99.3-bin-hadoop200sqoop shell:type ' help ' or ' \h ' for help.Sqoop:000>Set server--host FBI003--port 12000--webapp sqoopServer is set

Total Pages: 2147 1 .... 1142 1143 1144 1145 1146 .... 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.