If we now use a SELECT statement to query data from a database, how does the Oracle database work? What can we learn from it? Below, combine a simple SELECT statement to see the operating mechanism of Oracle database backstage. This is very helpful
Statistics are critical to Oracle databases, especially when using the CBO (cost-based optimizer) pattern, statistics include the use of blocks, free blocks, average length of the table, and statistical information collection time. In the Oracle9i
The original paging query SQL code is as follows:
select ROWNUM rn, t.id ID, o.name YYB,u.name XM, t.MC from tZDYSX t,tuser u,lborganization o where t.cjr=u.id and u.orgid=o.orgcode and t.gx = 1 order by ID
The results are as follows:
RN ID
Project to prepare two of the same structure of data to different users, due to the large amount of data, continuous backup restore efficiency is very low, so consider creating a new database, the establishment of two SDE services.
1. New Database
It's not good to look at Doc.
sql> shutdown Immediate
The database has been closed.
The database has been unloaded.
The ORACLE routine has been closed.
Sql> Startup Mount
The ORACLE routine has started.
Total System Global area 104857600
Today, I installed Oracle 10g on my computer and now I'm going to introduce my own installation process:
Environment: Os:win Server
mem:250m (haha is a little bit small, install when there are warnings ~)
Db:oracle 10.2.0
1). You can go to
It's hard to know what the reason is when a system slows down in performance. Is it a memory leak, a disk subsystem bottleneck, or a specific application that has limited scalability? There are ways to discover and understand the root cause of
This time we mainly explain the Oracle 10053 events and experiments, many friends may not be very familiar with this event, because in the daily transport dimension use not a lot. Oracle 10046 and 10053 are unofficial trace SQL methods that are not
When building an Oracle database, you should see an option on the Database Setup Assistant Wizard, which is how the connection mode of the database is used. In oracle9i or 10g, you can see 2 connection modes, one called a dedicated server connection
Oracle's spatial database operation driver updated, the new driver for Oracle8.0 or above, the new driver in the database operation above and the original driver difference is larger, but one thing: the use of simpleThe steps to build a spatial
Ora-12516:tns: The listener could not find a usable process that meets the protocol stack requirements
Ora-12516:tns: The listener could not find the available handle error for the matching information stackORA-12520: The solution: Check, the
The author encountered the following problems in the process of doing the project, the database backup files provided by the customer need to be imported into the database, in order to use, the database is Oracle 9.1.1, installed in the Windows
During the installation of the oracle10g RAC, the network settings need to be cautious and extremely important.
The following is a list of my oracle10g RAC Environment's network configuration for your reference.
1.hosts File Settings
Since RAC
If the RAC environment after 10g has been installed, it should be no stranger to this tool. Runcluvfy.sh scripts are typically executed before the cluster and database are installed to check that the current system meets the installation conditions.
If you cannot take any other approach to the problem of the database, you can use the Rman drop database. Only the database should be placed in a restricted session mode, and the database can be deleted silently by using Rman to connect to the
The main function of the Ocrconfig tool is to back up and restore OCR.
Although Ocrconfig can be run directly with Oracle users, most commands require the root user to have permission to execute:
bash-2.03$ Ocrconfig
Name:
Ocrconfig-oracle the
The Rman List command is a way to query the historical information of a backup in a database control file or recovery directory. The list provides a set of information, including all the information from the list of database counterparts to the
There are also some limitations to the recovery statistics operation, such as the inability to restore user-defined statistics. In addition, because the statistics are the property of the table, if the table is deleted, the corresponding statistic
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