Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
Create a tablespace in Oracle and create a user //Create temporary tablespace Create TemporaryTablespace test_tempTempfile'E: \ oracle \ product \ 1
Use Oracle instantclient to connect to the Oracle database
1. Download the correspondingProgramI got a 10204 instantclient-basic-win32-10.2.0.4.zip.(34,742,358 bytes)
After we installed Oracle10g on the machine, we found that it was still the default machine name. It was too long to remember and changed to a simple one.
Restart the system, start the console, and prompt the Agent process exited abnormally during
Database Hot Backup and complete recovery test:
1. First, make sure that the database is in archive mode.
2. for hot backup data files, use alter tablespace XXX begin backup to set the tablespace to the backup state. You can manually or run host
A. There is a difficult but successful method.1. Create an Access database locally and import Excel Data to access. You can right-click Import and choose import from the shortcut menu. Select the Excel file to be imported as the file type, or use
Status of all instances and services
$ Srvctl status database-D orclInstance orcl1 is running on node linux1Instance orcl2 is running on node linux2
Status of a single instance
$ Srvctl status instance-D orcl-I orcl2Instance orcl2 is running
A ORA-01000 error occurred when a colleague was importing data in batches from excel the day before.
This is a similar phenomenon that occurs on Google. It is Java.CodeWhen accessing Oracle, we use C # for the same reason.
The Java scenario is
DML triggers are the most common types of triggers, which are used by developers. Other types of triggers are mainly used for database management or audit, while DBA is usually used.
1. Introduction to DML triggers:
Before trigger
This trigger
Before learning a new thing, you need to understand its purpose.
Article This section describes the advantages and disadvantages of Oracle RAC and other four components for future reference. The full text is as follows:
To improve performance,
Sqlplus lnadc/lnadc@ZXIN_10.130.83.48
Export :( 1) exp mobileadc/mobileadc@ZXIN_10.130.83.48(2) Set Buffering(3) set the file name (full path)Import: (1) Open PL/SQL, Click Tools-Export user objects, select all objects in the list, enter the
View tables in the recycle bin
Select object_name, original_name, partition_name, type, ts_name, createtime, droptime from recyclebin;
Restore table
SQL> flashback table test_drop to before drop; orSQL> flashback table "bin $ B +
Author: skateWhen a performance bottleneck occurs in the system, try to consume as few unnecessary resources as possible. The last step is to balance CPU, memory, Io, network and other resources so that the databaseIt can run stably.
Oracle Database
I played Oracle 11g. It was a bit problematic. I wanted to check the log and found it for half a day. The original 11g Alert Log was changed, starting from Oracle 11g, oracle Database provides alert logs in two formats: XML and traditional
If reproduced, please indicate the source: http://blog.csdn.net/robinson_0612/archive/2010/03/30/5431428.aspxAlthough Oracle 10g Database Release 2 has been released for several years, this version is still a version that many beginners learn. The
System Environment:
1. Operating System: Windows 2000 Server
2. Database: Oracle 8i R2 (8.1.6) for NT Enterprise Edition/Oracle 9i for NT Enterprise Edition3. installation path: D: \ oracleSteps:1. manually create related
Importing and exporting Oracle Data imp/exp is equivalent to restoring and backing up ORACLE data. The exp command can export data from the remote database server to the local DMP file, and the IMP command can import the DMP file from the local to
Http://hi.baidu.com/%D3%C5%D3%CE%D7%D4%B5%C3/blog/item/512586f7b4c1e521720eecf9.html2007-10-27
In recent times, many netizens raised questions about Listener Configuration, and the client cannot connect to the server ). This article briefly
Making Oracle run faster 2-database design and optimization based on massive data
Edit recommendations
The first domestic project was created based on the author's 10 years of work experience.
Books on Database Design and Optimization Based on
During database operations, we may encounter this situation, and the data in the table may be repeated, causing a lot of inconvenience during database operations, so how can we delete the useless data?
The deduplication technology can provide a
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