Creating test tables and test dataCREATE TABLE Test (ID number,name varchar (10));INSERT into test values (1, ' Liufang ');INSERT into test values (2, ' Xiaozhang ');INSERT into test values (3, ' Dawei ');INSERT into test values (4, ' Laotan
1. Modify the login identifier and default editor (not required)Modify $oracle_home/sqlplus/admin/glogin.sql to add the following at the end of the file:set sqlprompt ' _user ' @ ' _connect_identifier> 'define _EDITOR=VI2. Create initialization
Add or subtract a number on a date the result is still a date. Two date subtraction returns the number of days between dates. You can add or subtract hours from the date with the number except 24来.1Sql> SelectSysdate, Sysdate+2 fromdual;2
Transfer from http://blog.csdn.net/welken/article/details/4971887 do database development or management people often want to create a large number of test data, there is no need to tens of thousands of, if one entry, it will waste a lot of time,
After the DG is set up, it is found that the repository does not accept logs from the main library.Executing in the main librarySelect dest_id,status,error from V$archive_dest where dest_id=3;Report: Ora-16057:dgid from server not in Data Guard
I. Installation of Oracle database softwareOltp:online Transaction ProcessingRefers to the database system with short transactions, high concurrency, and frequent read and write. --db_block_size is usually set to a smaller size.Olap:online Analysis
Fs.file-max = 6815744--Represents the maximum number of file handles, indicating the number of files that can be opened on a Linux system.Fs.aio-max-nr = 1048576--This parameter restricts the concurrent outstanding requests and avoids the I/O
Oracle Data Import Export Imp/expEXP is available under the Oracle installation directory . EXE with IMP. EXE for these 2 files, they were used to perform the import and export of the database. So Oracle data import and export imp/exp is comparable
Linux time synchronization configuration.I. Using the Ntpdate command1.1 When the server can link to the extranet# CRONTAB-EAdd a line:*/1 * * * * ntpdate 210.72.145.44210.72.145.44 is the China National Time Service Center server address, so that
This article transferred from: http://www.cnblogs.com/adforce/p/3312252.htmlA complete Oracle database is typically made up of two parts: an Oracle database and a database instance. 1) The database is a collection of physical files (data files,
National Day bought a new computer ThinkPad E431,i5 dual core cpu,8g memory, hard disk comparison pit dad 5400 turn 500G, focus on the pre-installed WIN8 64-bit Simplified Chinese version. University bought the first computer Shenzhou notebook,
1. Automated Diagnostics Workflow:With an in-memory tracing tool that is always turned on, the database component can capture diagnostic data the first time a critical error failure occurs. A special repository, called an automated diagnostic
can be connected directly via SECURECRT or TelnetStart listening command: Lsnrctl startAfter successful boot: Sqlplus/nolog enterConn/as SYSDBA EnterStartup returnSELECT * from User_tables; EnterResults, OK start monitoring and service
A recent project to determine the value of a column according to the data situation half an hour ago, but never thought how to get the current time half an hour ago, today suddenly thought can be done by sysdate to obtain, such as sysdate-1, just
When there is a problem with the index, it can cause serious performance problems, such as index unavailability, index fragmentation, and performance degradation, and we need some means to detect problems with the index and address these issues.
The copy command enables the replication of data between different Oracle databases and enables data replication of the same database with the same performance and import/export.According to the 9i document, the Copy command will not be supported in
Data Import from oracle to mysql (applicable to the mutual import between any data sources)
To release some resources in the production database, you need to migrate the API module to mysql and export data.
When I tried the oracle to mysql tool,
Use of fine-grained oracle Auditing
Take the scott user's emp table as an Example
---- Add a policy
Begin
DBMS_FGA.ADD_POLICY (
Object_schema => 'Scott ',
Object_name => 'emp ',
Policy_name => 'mydomainy1 ',
Handler_schema =>
Oracle Performance Analysis 9: Re-Indexing
When an index is faulty, it may cause serious performance problems. index problems include index unavailability and index fragmentation leading to performance degradation. We need some measures to detect
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