When the M role is input on the page, because the value "m role" Oracle will understand that there is a format in the content, that is, Oracle's responsibility can only store the content, the format is not the responsibility of the database,
1. view the table space name and size.
SelectT. tablespace_name, round (sum (Bytes/(1024*1024), 0) ts_sizeFromDba_tablespaces T, dba_data_files dWhereT. tablespace_name = D. tablespace_nameGroupT. tablespace_name;SQL>Tablespace_name ts_size----
First, check the name and file of the tablespace.
Select tablespace_name, file_id, file_name,Round (Bytes/(1024*1024), 0) total_spaceFrom dba_data_filesOrder by tablespace_name;
1. Add data filesAlter tablespace ultimusdbAdd datafile
In Oracle/PLSQL, The instr function returns the position of the string to be truncated in the source string.
Syntax: instr (string1, string2 [, start_position [, nth_appearance])
String1 source string to be searched in this string.
String2:
The Oracle database system configures its own startup according to the parameters set in the init. ora file of the initialization parameter file. Each instance first reads the different parameters set in these parameter files before it starts.
1. Remove the double quotation marks in the SQL statement generated by Oracle.When you use powerdesigner to export a table creation SQL statement for the Orale database, double quotation marks are added to the table name and field name by default,
The Oracle database has the following four users:Super administrator sys change_on_installGeneral Administrator System ManagerNormal user Scott TigerBig Data User sh
1. Uninstall Oracle1. Stop all Oracle-related services.2. Use OUI (Oracle universal
1: A client must be installed when you use toad to connect to Oracle,
Select instantclient, but if you want to use the DMP file of the imp/exp database or perform the sqlplus operation, you need to select the following (Administrator) [runtime, you
RecallOracle Installation and DeletionStart and closeSQL * Plus Windows window versionSuper User System/ManagerSys/change_on_installCommon UserScott/TigerSqlplus version under DOSHow to UseCommand show userSQL statementDifficultiesHow do I add
Exp local export and IMP local import
Exp command:1 exp username/psw @ test file = D: test. dmp full = y2 exp username/psw @ test file = D: test. dmp owner = (ly)3 exp username/psw @ test file = D: test. dmp tables = (grid1, grid2)1. One of them is
In the past few days, if I access the sqlserver database and Oracle database through the desktop program and Asp.net on the Linux platform, I find that many articles written on the Internet are incomplete and many are useless redundant settings, I
A dual table is an existing table in Oracle and can be read by any user. It is often used in select statements without a target table.
The dual table is created by Oracle along with the data dictionary. All users can access the table with the
Oracle defines PL/SQL Variables
Preface:You can use a variable to save the data to be processed by the computer. To allocate proper memory space to the variable, you also need to specify the data type. For some data types, you also need
Common Oracle database field types are as follows:
Field Type
Description
Restrictions
Other Instructions
Char
Fixed-length string
Maximum length: 2000 bytes
Varchar2
Variable-length string
Maximum
On: http://www.linuxwind.org/html/oracle-10g-em-startup-repair.html
1. Fixed the change of host name. Em cannot be started after IP Address
Prerequisites: Oracle has been started and the listener is running.
CD $ ORACLE_HOME/Network/admin/
Edit
AnalysisOracle Data Scanning
--Oracle SQL query optimization
(1)
Data Reading Method
1,Oracle Data Reading:
1.1 data read operation type:
In any database, when we initiate an SQL statement to query data, the SQL Execution engine scans data to return
It is found that only the index can be used to obtain the opportunity to query data.
If you can effectively obtain data through indexes, it will undoubtedly provide a great help for query performance. However, if the index selection is poor or the
Some colleagues often ask questions about character sets in Oracle databases, such as data migration in different databases and data exchange with other systems, migration failure or garbled data in the database is often caused by different
We should not only write SQL statements, but also write SQL statements with excellent performance. The following sections will help the author learn, extract, and summarize some materials to share with you!(1) select the most efficient table name
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