PS: The following are the most common basic management commands for Oracle 11g, including creating users, table spaces, permission assignments, and so on. The following commands I have verified the operation, and added my summary and instructions.1. Start the Oracle database:Switch from root to
One of the most comprehensive oracle tablespace query and maintenance commands (data table space) in history
A tablespace is the logical division of a database. A tablespace can belong to only one database. All database objects are stored in the specified tablespace. But it mainly stores tables, which are called tablespaces. There must be at least one tablespace in the
Common Oracle and SDE maintenance commands-view tablespaces and so on, oraclesde
Previously, I reported a data update problem on the site. I thought it was caused by the full table space (the error was written in the previous blog article). Therefore, I remotely checked the server. Generally, I use the Entreprise Manager Console of the Oracle client to view the s
Oracle Trace Files
Oracle trace files are grouped into three categories:
One is the background alarm log file that records the activity of the background process during startup, shutdown, and running of the database, such as table space creation, rollback segment creation, some alter commands, log switches, error messages, and so on. When a database fails, the
Label:Switch Oracle user su-oracle----------------------------Restart the database sqlplus sys/as sysdbashutdown immediatestartup;-------------- --------------Export a single table exp pls/[email protected] file=/home/oracle/boz.dmp Tables=edu_version_set_area; Import a single table Imp pls/[ Email protected] file=rms_resourcebody.dmp tables=edu_version_set_area;
user_segments
where Segment_name=Upper('table_name'); View tables placed in Oracle's memory area Select from where InStr (Cache,'Y')>0;3. IndexView index number and category Select from Order by View the fields indexed by the index Select * from where index_name=Upper('index_name' To view the size of an index Select sum (bytes) / (1024x768*1024x768 as from user_segments
where Segment_name=Upper('index_name' )4. Serial numberView serial number, Last_number i
Before the site feedback a data update problem, to see the feeling is because the table space is full (the error was written in the previous blog essay), so remote to the server to view. The individual is usually viewed through the entreprise Manager console of the Oracle client, but discovers that only the Oracle server is installed on the servers and does not perform the Web login properly.So I went to th
the contents of the SQL buffer to check if your modifications are correct. Example 3-8 Sql> L Example 3-8 results Example 3-8 results table name The changes you made are accurate. So how do we run this statement?3.4 '/' (RUN) commandYou certainly do not need to reenter this statement because this statement is already in the SQL buffer. Oracle provides the Slq*plus command '/' (run) to rerun the SQL statement in the SQL buffer. You can then enter t
I. Installation
1: During installation, you can choose to create a database, which will naturally create a database.2: If the Oracle software has been installed but the database has not been created, you can use this tool to create a graphical structure:Database Configuration AssistantCreate a database
Table 6 describes how to start the Oracle Database Configuration Assistant (used to create the Tivoli pr
This article introduces the import and export of Oracle Data IMP and exp commands, describes the corresponding parameters, and then uses some examples for further understanding.At last, the article discusses the problems that may occur when using these two commands (such as insufficient permissions and different Oracle
Label:Before the site feedback a data update problem, to see the feeling is because the table space is full (the error was written in the previous blog essay), so remote to the server to view. The individual is usually viewed through the entreprise Manager console of the Oracle client, but discovers that only the Oracle server is installed on the servers and does not perform the Web login properly. So I wen
In Oracle 8i, operating system commands are often run during the storage process. generally, Oracle Enterprise Manager can be used to set jobs. however, due to the lack of flexibility in the setup of OEM jobs, the set job parameters are fixed. in practical applications, operating system commands must be run in SQL stat
DescriptionThe Oracle import and export commands are mainly EXPDP and IMPDP, exp, and IMP, with the following differences: EXP and IMP are client tool programs that can be used either on the client or on the server side. EXPDP and IMPDP are server-side utilities that can only be used on the Oracle server and not on the client side. IMP is only available for exp e
online or offline,Relocate the data file, redo the log file. Execute "nomount", then open the control file, confirm the location of the data file and the online log file,However, the data files and log files are not checked for validation at this time. 3. Startup Open dbnameExecute "nomount" first, then execute "Mount", and then open all the database files including the redo log file,This way you can access the data in the database. 4, startup, equal to the following three commandsStar
When we manually copy the entire database and specify a new dbname for the database by recreating the control file, we cannot assign a new dbid to the database. for the above problems, we can use the nid command to allocate
When we manually copy the entire database and specify a new dbname for the database by recreating the control file, we cannot assign a new dbid to the database. for the above problems, we can use the nid command to allocate
When we manually copy the entire database and sp
Oracle databases can run in two modes: archivelog and noarchivelog ). Archiving can improve the recoverability of Oracle databases,
Oracle databases can run in two modes: archivelog and noarchivelog ). Archiving can improve the recoverability of Oracle databases,
Commands
--------------------------------------------------------ID Number Price Number 3. View the table space for the current entity table: SQLG T
Select Tablespace_name from Dba_tables where table_name= ' EMP '; Tablespace_name------------------------------users 4. View user-defined tables: Sql> SELECT table_name F
Rom user_tables;
table_name//printing results are not as many results as you need, not just tables that you create yourself.
5. Modify the table structure sq
Basic Introduction to Oracle and common SQL * PLUS commands
Run Database Configuration Assistant as an administrator to create a Database instance. To use Oracle, you must first start the Oracle service, find the service in the task manager, and open the services and listener services related to OracleService. If ther
Label:Oracle Sql*plus Common Commands
One, sys users and system usersThe Oracle installation automatically generates SYS users and system users(1), sys user is superuser, has the highest privileges, has the SYSDBA role, has the rights to create database, the user's default password is Change_on_install(2), the system user is the management operator, the authority is also very large. With the Sysoper role,
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.