Oracle Import CSV file:1, build the corresponding tables and fields;2. Create a new Test.ctl file and write it with Notepad editor:Load'e:\TB_KC_SERV.csv' --Modify the corresponding file path into table by ',' by ' " '
View the permissions required to create DblinkSqlplus/as SYSDBASELECT * from User_sys_privs t where T.privilege like Upper ('%link% ');
Authorization to the appropriate userGrant drop public database link, create DATABASE link, create the public
The problem that this paper solves
Does using index in Oracle make it faster to find?
Differences between the B+tree and bitmap indexes
How the Index Works
1 Basic concepts of indexingAn index is a database structure that
First Impressions1, very annoyingSecond, the basis1. Oracle is case insensitive2. Basic data type Third, tool Plsql1, the use of basicIn the upper left corner, create a new or open chart, select SQL window;Then enter the SQL statement in the
The IVR of an old system needs to be connected to another company. People can only provide HTTP interfaces, but I can only use SQL interfaces, so I cannot use SQL to connect to HTTP.
Use Cases are as follows. Please provide more valuable comments.
On the first day of work, connect to the database of the Company project.
Environment: oracle11g win7x64
I. Find the installation directory. my options are app/Administrator/product/11.1.0/db_1/Network/admin. Open tnsnames. ora.
2. Copy orcl
I. Spatial table metadata
Use all objects in the sdo_geometry column of the table as a space layer. Spatial needs to verify, create indexes, and query all spatial objects. In this case, you need to specify the appropriate metadata for the layer.
Recently I found that even Oracle 10g R1 had the following error after Shutdown and startup to switch to archive mode:
ORA-12528: TNS: Listener: all appropriate instances are blocking new connections
I checked some of them and said it was a problem
Although programmers are not as good as Oracle DBAs, they must master some basic things.
1. format the output.For example, Col name (the field to be displayed) for A20 2. View Command ParametersShow ParameterView SGA sizeShow SGA
3. Start the
1. enable statistical log information
Set autot on stat
2. Summary of Oracle Memory AllocationView SGA:Select * from V $ SGA;
(Note that Oracle is a multi-process in UNIX and a single process in Windows)View the various pools actually allocated by
The main reason is to summarize the previously encountered Backup recovery. The content is summarized several times.
1. Add control file backup
Select * from V $ controlfile;Add Control FileAlter system set control_files = 'd: \ demo1 \
A view named dba_feature_usage_statistics is added to Oracle10g. all the features you have used will be recorded, and the information may exist in some trace files such as the result collected by RDA, pay attention to the usage of these features
In Oracle 11g, virtual columns are supported. Note that virtual columns can be dynamically calculated based on other columns,
Syntax:
Column_name [datatype] [generated always] as [expression] [Virtual]
Example:Create Table employee (Empl_id
Oracle basic operation commands
Author: cuizong007
The basic Oracle operation commands in this document are performed in Linux, and can be used as a reference for other systems. Due to my limited level, it is inevitable that there are omissions.
Start with DBA .....
Dba_users database user information
Dba_segments table segment information
Dba_extents data zone information
Dba_objects database object information
Dba_tablespaces database tablespace Information
Dba_daTa_filesData File
1. In SQL * Plus, SQL> Create Table t_photo1 (photo1 long raw); SQL> Create Table t_photo2 (photo2 long raw); 2. Hard Disk C: /open the form file tmp.bmp 3 and create two new blocks: t_photo1 and t_photo2 t_photo1 are database blocks. The connected
Preparations: 1. Install Oca. Run the developer's installation disk, select Custom installation, and select Oracle open client adapter for ODBC for installation. 2. Add a DSN to the data source (ODBC. Control Panel-> Administrative Tools-> data
Oracle Database performance Adjustment
Oracle is a high-performance database software. You can adjust parameters to optimize the performance. Performance optimization is mainly divided into two parts: one is that the database administrator optimizes
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.