If the database has been used for a long time, there will inevitably be no space to recycle. If the space is too large, you can use the following method to recycle it.
The space occupied by the query tables:
Selecttablespace_name, 100 *
(1) Delete Process
· Oracle read block (data block) to buffer cache (buffer) (if the block does not exist in buffer );
· Record the details of the delete operation in the redo log buffer (redo log buffer;
· Create an undo (rollback) entry in
Partition Table maintenance:Add partition:
Alter table sales add partition sales2000_q1
Values less than (to_date ('2017-04-01 ', 'yyyy-MM-DD ')
Tablespace ts_sale2000q1;
If maxvalue partitions exist and cannot be added, you can add
1. If you have a certain database foundation and know what SQL is going on, you can skip to 2 even if you cannot write simple SQL statements. Otherwise, let's take a look at the basic database and the SQL language. You don't need to have a deep
81. Inner join?
Select a. * From bsempms A, bsdptms B where a. dpt_no = B. dpt_no;
82. How do I connect externally?
Select a. * From bsempms A, bsdptms B where a. dpt_no = B. dpt_no (+ );
Select a. * From bsempms A, bsdptms B wherea. dpt_no (
101. How to search for the first N records?
Select * from employee where rownum Order by empno;
102. How many concurrent users are supported by Oracle on the machine?
SQL> conn internal;SQL> show parameter processes;
103. Can db_block_size be
Early versions earlier than 10 Gb of Oracle will prompt you to select CD2 and cd3. however, this prompt is not displayed in later versions. If you divide the Oracle Installation File into two foldersProgramThe installation fails. (the corresponding
Based on the experience of importing production data for a large aircraft company a few days ago, I want to write an analysis on the DMP format of the Oracle export file, if an error occurs, solve it by the way.
The local machine is installed with
I recently learned about Oracle's c ++ programming interface occi and made a simple packaging class. The source code is posted for your reference. This program has not been strictly tested, but we are only interested in it. If you want to use it
I. Create
Sys; // System Administrator with the highest Permissions
System; // local administrator with the next high permission
Scott; // common user. The default password is Tiger and is not unlocked by default.
2. Login
Sqlplus/As sysdba; // log
We all know that a trigger does not require commit and cannot be written to it. The trigger and the DML that triggers it are the same transaction.DML is submitted, and trigger operations are also submitted, so no commit is required; otherwise, an
Once the Oracle system was started when the system was started, an error message was prompted when connecting with the client tool: Oracle startup error. ORA-01033: Oracle initialization or shutdown in progress, and then enter the console to find
UseSQLOperationOracle(Insert, select)
You need to use the UTF-8 raw package that comes with Oracle!
I. Create a tableCreate Table zxt. zxtlobtest(Id varchar2 (10 ),DLOB blob);
SQL> conn zxt @ orclEnter the password:Connected.SQL> set linesize 80
Ii.
Oracle Advanced Training Course 7th Study Notes by jackyang (JackYang.sh@gmail.com) Date: 2006-10-20 this course experiment has passed the computer verification. Performance tuning the following notes correspond to the file ora_train6.ppt provided
As we all know, generally, the operating system provides a method to regularly execute tasks. For example, the UNIX platform provides the crontab command for the system to periodically execute tasks. However, for some requirements, such as database
1. view the table space name and size.
set linesize 140;set pages 200;column tablespace_name format a30;select tablespace_name,min_extents,max_extents,pct_increase,status from dba_tablespaces;select
71. Kernel Parameter application?
Shmmax Meaning: This setting does not determine the actual amount of physical memory used by the Oracle database or operating system. It only determines the maximum amount of memory that can be used. This setting
Note: When you load a class into the database, you cannot execute the class in the sqlplus command line. The class name should not start with the package name. Otherwise, the class cannot be found or the package name should be specified during the
Differences
Oracle
MySQL
Start command
C: \ ora92 \ bin \ sqlplus.exe
C: \ mysql \ bin \ mysql.exe
With User Startup Mode
C: \ ora92 \ bin \ sqlplus.exe system/manager @ TNS
C: \ mysql \ bin \ mysql.exe TestC: \
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