Address of the server where the Oracle database is located: 192.168.3.67
Default port: 1521
Service name: OA10
Modify the tnsnames. ora file in the oracle \ ora92 \ network \ admin directory
# TNSNAMES. ORA Network Configuration File: D: \ oracle
In Hibernate, the corresponding file column type can be org. springframework. orm. hibernate3.support. BlobByteArrayType,Org. springframework. orm. hibernate3.support. ClobStringType, clob, blob, and binary. When to use BlobBYteArrayTypeWhen should
When the system is unable to log on, the initial judgment may be that the database connection is full (this is not the reason for later check), and the maximum number of connections to the database is increased. The procedure is as
Oracle uses the table () function to replace the result set returned by PL/SQL.
1. table () combined with Arrays:
Create or replace type t_test as object (Id integer,Rq date,Mc varchar2 (60));
Create or replace type t_test_table as table of
Business Needs: I created a table named t_0_mtbuf in Oracle and created it using a statement for creating a common table. In fact, this table serves as a temporary table, namely:
In java, select 1500 entries each time, insert them into the sqlserver
Why Oracle ORA-4031 errors occur
First, this error occurs as follows:
ORA-04031: unable to allocate XXXX bytes of shared memory
("Shared pool," unknown object "," sga heap () "," obj stat memor ")
That is, the basic query of simple dynamic
A bank's R & D department has purchased a new IBM HS22 blade server. It needs to install a linux system on it, remotely use Telnet and FTP services internally, and install the Oracle database.Hardware environment:IBM HS22 Blade ServerSystem software:
When exporting and importing Oracle databases, the following error is reported during the import of exported data to the new database:
View information about external tables in the database:Select * from dba_directoriesSelect * from select * from
Scope sid)
When alter system set parameter:
Syntax: alter system set parameter = value scope = (both (default), spfile, memory) sid = sid | * (default *) COMMENT
[Sid]: Used to set parameters for an instance of any node in rac. The default
During Hibernate initialization, the SQL statements configured as table predefines insert, delete, update, and select (by id) are placed in the session by default, where insert, update, select operations are performed on all fields in the table. if
1. Create
CREATE [or replace] [] VIEW [database.] [()]AS []Example:
Create view 'view _ articles'ASSELECTA. id AS id,A. title AS title,A. content AS content,T. name AS tagname,U. firstname AS "username"FROM 'articles'aLeft join 'tags' tON a.
Today, I am going to process a piece of data and discover a problem in the Oracle sequence. I am prepared to clarify this problem in the spirit of discovering, solving, and asking the root question.
Problems and phenomena:
For sequences, seq is
Load dataThe usage is as follows:
Load data [LOW_PRIORITY | CONCURRENT] [LOCAL] INFILE 'file_name.txt'
[REPLACE | IGNORE]
INTO TABLE Tbl_name
[FIELDS//Field
[Terminated by 'string']//FieldRoomDelimiter
[[OPTIONALLY] enclosed by 'Char ']//Including
It is mainly used to record the rowid uniqueness of rows in Oracle.
Remove duplicate records (pay attention to multiple executions until the impact record is 0 rows)
Delete from WBH_TEMP2 where terminal_id in (
Select terminal_id from WBH_TEMP2
[Old system] When the data volume of a table in Oracle9i database exceeds 0.1 billion, the web page remains blank for a long time when the table is queried recently. Therefore, optimize the table. The optimization plan is as follows:
1. Create a
Oracle learning Dynamic Performance Table v $ locked_object
This view lists all the locks obtained by each transaction on the system.
Description of columns in V $ LOCKED_OBJECT:
XIDUSN: rollback segment numberXIDSLOT: Slot NumberXIDSQN: serial
79Adump
4717Bdump
2572945Cdump
0Dpdump
0Pfile
22310Scripts
32879Udump
Search for other people's SolutionsDirectly delete files starting with "a" from bdump.Remove files under cdumpHow can cdump increase rapidly?
Appendix:Recently, the company
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