1. log_archive_dest_1 parameter not set, archive file is not synchronizedMon Nov 07 17:39:12 2016Using standby_archive_dest parameter default value as Use_db_recovery_file_destMon Nov 07 17:40:12 2016Using standby_archive_dest parameter default
SELECT * from T_a A where A.begintime=to_date (' 2013-1-1 ', ' yyyy-mm-dd ');AndSELECT * from T_a A where To_char (a.begintime, ' yyyy-mm-dd ') = ' 2013-1-1 ';The query results are the same.The difference is that the processing steps of the query
Oracle The main users:L Super admin: SysL General Administrator: SystemL General Users: ScottSQLPLUSW Some of the common commands :L Set line Display quantity: Set linesize lengthL settings also show quantity: Set pagesize lengthL Ed and @
Application of the index:Classification of indexes:Logical classification:Single-row index & Composite column indexCREATE INDEX I_emp_ename on EMP (ename);CREATE INDEX i_emp_3 on EMP (empno,ename,sal);Non-unique key index & unique key indexCreate
--Create TABLE spaceCreate Tablespace Test_tpsDataFile ' D:\app\Administrator\oradata\orcl\test_tps.dbf 'Size 1500MAutoextend on next 5M;--Create a user and make a table spaceCreate user Test_tps identified by Test_tpsDefault Tablespace
SwitchoverSwitchover: The main library and standby data synchronization under normal conditions, mainly forPrimary and standby maintenance, switch drills, etc.;FailoverSwitch: The main library and the standby in the data is not synchronized in the
Learning SQL for some time, but also forget the almost, today has hurriedly review review, and then found a question, why did you watch the video tutorial, horse soldiers with Oracle have Scott users and those tables, and I do not? Is Oracle
Method One:
Modify Oratab (Oracle user is available)Vi/etc/oratabChange "N" in Orcl:/oracle/u01/product:n to "Y". Note: Only uppercase can be used, not lowercase.
Modify Dbstart (to enable monitoring automatically before starting an
Steps to build a library manuallyStep 1:specify an Instance Identifier (SID) (specifies an identifier SID for an instance)Step 2:ensure that the Required environment Variables is set (confirm setting of environment variable)Step 3:choose A Database
Characteristics:
Reinstall required: Libaio1_0.3.109-2ubuntu?_amd64.deb. The default Libaio library has a problem and is related to the way it is compiled by default Libaio!
The GCC 4.x needs to be reinstalled, and the default GCC 6.x
When you view the execution plan in F5, you always see a lot of information: The range partition execution plan that appears: Partition table, press n1, N2 partition partition range single: Access to individual partitions partition range iterator:
Oracle data Import Export BASIC Operations Example
Data exportA. Full export of database ORCL, username user password Password export to D:\dc.dmpExp User/[email protected] file=d:\dc.dmp full=yFull=y = Full Library exportB. Exporting User1
In Oracle:1, Query database name: Select Name,dbid from V$database; or show parameter db_name;2. Query instance Name: Select instance_name from v$instance; or show parameter instance_name;3. Query the database domain name: Select value from
>>Answer1:ALTER TABLEOld_table_nameRENAME toNew_table_name; (Uppercase as System command)Answer2:sql> select tname from tab; Tname------------------------------Test sql> rename test to temp; Table renamed. Sql> select tname from tab; Tname----------
--value has two parameters, the first is the lower limit, the second is the upper limit, and a number between the lower bound and the upper bound is generated, but does not contain the upper bound.Select Ceil (Dbms_random.value (1000,9999)) from
--Create a new user name ShsfdbCreate user usernameidentified by password;Default Tablespace tablespacename--Give the user name roleGrant DBA to Shsfdb--Query usersSELECT * FROM Dba_users--Delete UserDrop User Shsfdb Cascade--Change the password of
Usage of the row_number () over () analysis function in ORACLERow_number () over (partition by col1 ORDER by col2) indicates that sorting is based on col1 within the grouping according to Col2 groupings, and that the value computed by this function
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