select log_mode,open_mode ,database_role from v$database; --View Dataguard Master Standby status Select status from v$instance; --View Database Status alter database recover managed standby database cancel; --canceling the log application
The permission system of Oracle database is divided into System permission and object permission. System permissions (Database system privilege) allow the user to execute a specific set of commands. For example, the CREATE TABLE permission allows a
Today in the operation of the database, found that the data operation error, want to recover, but no transaction, supposedly, set to not default commit transaction, at this time the various operations do not respond to the database. At this point,
Oracle A Chinese character occupies several bytes, depending on the character set encoding in OracleView the Oracle server-side character setSelect Userenv (' language ') from dual;If shown below, a Chinese character occupies two bytesSimplified
The simplest way to migrate databases from Oracle to MySQL
Because the work needs to be the Oracle database to MySQL database, the data volume is large, millions other data, the table is more, there is a quick and secure method? The answer is
There is a feature in the project that needs to get data from an Oracle database, which was thought to be very simple, and changed the original SqlClient into a OracleClient call.The result is far less simple than you think. There are a lot of needs
After loading the ooracle 11g client sqlplus copy and paste the time is not too simple,used the old version of the lab 10g client.The premise service side is loaded, want to change a client. 11g SQL Plus can also be used.File Links:Link:
Oracle Notes (12) collections, sequencesFirst, the collectionIn the operation of mathematics there is the concept of intersection, difference, and, complement, and in the data query also exists this concept, there are several connection symbols:
I. String part1.CONCAT Connection two strings;Sql> Select Concat (' 010-', ' 7163738 ') from dual;CONCAT (' 010-----------010-7163738 2. Length returns the lengths of the strings;Sql> Select Length (' 12345678 ') from dual;LENGTH (' 12345678 ')------
The functions previously described in Oracle are string processing, date functions, mathematical functions, conversion functions, and so on, and a class of functions are general functions. Mainly: NVL,NVL2,NULLIF,COALESCE, these functions can be
For cursors, you first need to know the definition of the cursor.A cursor, an area in memory that holds the result set of a SelectCursors are used to process multiple rows of records retrieved from the database (using the SELECT statement). Cursors
Oracle Data Import and export imp/exp is equivalent to oracle data Restore and backup. the exp command can export data from a remote database server to a local dmp file, andtheimp command can take DMP the files are imported locally into a remote
Method/Step
1You can according to their operating system is how many bits (32-bit or 64-bit), to the official website to download the appropriate installation program, as shown in.One thing to note is that Oracle's installer is divided into 2
When the archive log space in Oracle is full, it needs to be emptied, otherwise it will affect the database's normal operation.You will not be able to log in to Oracle properly, and you need to delete some archived logs to log into Oracle
EXP/IMP Command parameters in Oracle"Export with exp data":1 full export of database test, user Name System Password Manager exported to D:\daochu.dmpExp system/[email protected] rows=y indexes=y compress=n buffer=65536 feedback=100000F Ull=y
Cause:The inconsistency of data events in the credit database resulted in the confusion of data (RAC cluster), inconsistent Plsql query time and database time, which seriously affected the business. Because I just met once, and with the MySQL time
A few days ago the teacher arranged a task to import a 50G dmp file into our Oracle server. Because I practiced this before, I thought it was a relatively simple thing.Just try to use the Plsql directly to the server guide AH. Log in to the server
Oracle queries the average SQL Execution time (Code instance) through the v $ SQL view, oraclesqlOracle queries the average SQL Execution time (Code instance) through the v $ SQL View)
SELECT SQL _TEXT, EXECUTIONS total EXECUTIONS, ELAPSED_TIME/1000
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