The following error is reported when running sqlplus in cmd in win7.
SP2-1503: Unable to initialize Oracle call interface
SP2-1503: Unable to initialize Oracle tuning SP2-0152
Solution:
Right-click sqlplus.exe In the oracle \ product \ 10.2.0
ProgramConsiderations for migrating data from MySQL to Oracle
When migrating a program from MySQL to Oracle, You need to note the following:
4. Processing long strings
Oracle processing of long strings also has some special features. The
Select * from test
1 00 001 Big 5 152 00 001 medium 25 753 00 001 small 85 254 00 002 large 65 355 00 002 medium 95 856 00 002 small 85 257 01 001 large 16 148 01 001 medium 290 759 01 001 small 83 22
Select num, Flg, (Case when grouping (
Oracle optimizer has two optimization methods: Rule-Based Optimization (RBO) and cost-based optimization (cost-based optimization, (for short, CBO). In oracle8 and later versions, the CBO method is recommended for Oracle strong columns.
RBO
To improve performance, we have made many attempts to address the methods or solutions provided by the Oracle database itself, including:
Shared Server mode (MTS)Cluster Technology (clustering) RACPartitionParallel Processing (mainly parallel
I. Cold backup
When the database is closed, all physical system files are copied, which is also called offline backup.
Suitable for non-archive mode, where the database is in a consistent state
Step 2
First, obtain all the physical file
Text/NIU Haibin
The annual Oracle Global Conference (Http://www.oracle.com/cn/openworld/index.htm) Come to Beijing at the end of the year, asCIO, Pay close attention to thisItThis is an exciting feast for me.ItManagement personnel are a good
I haven't read much about Oracle technical documentation for a long time. Today I read an article titled Oracle response time optimization with method R. This is the main idea of optimizing Oracle performance classic book. R represents the response
The arcsde10 of ArcGIS suddenly fails to connect to Oracle and prompts an error:
After querying Google, the solution is as follows:
1 View the user's proifle, which is generally default: SQL > Select username, profile from dba_users; 2
In Windows, it is usually:
D: \ oracle \ product \ 10.2.0 \ db_1 \ Network \ admin
But is this version installed in Linux? Isn't it possible to only use the client? ,,
We can useRpm-IVH Linux-1.4-6.i368.Rpm command InstallationThis
1. View/table/between different networks involved/
2. In fact, some projects should not establish multiple database links.
Select * From tab_sbzt @ dblink_fssj
Create Table Scott. lc_sbzt as select * From tab_sbzt @ dblink_fssj;
Select * From
In ms SQL Server, I am used to writing SQL statements. I suddenly need to write SQL statements in Oracle. To tell the truth, there is no big difference in principle. However, some functions in Oracle are not used unless I understand them, sometimes
Use cursor to update data in Oracle
Declare cursor cur is select * from test for update;Idnum number;R test % rowtype;BeginIdnum: = 0;Open cur;LoopFetch cur into R;Exit when cur % notfound;Idnum: = idnum + 1;Update Test Set ID = idnum where current
In Oracle, you can create scheduled tasks like SQL Server.
Next I will use oracle SQL to create a scheduled task.
1. Create a simple table.
Create Table testdate
(
Name varchar2 (20 ),
Createdate date
)
2. Create a stored procedure.
Modify the port 8080 of Oracle
Use sys to log on to Oracle and use dbms_xdb to modify port settingsSQL> call dbms_xdb.cfg_update (updatexml (2 dbms_xdb.mongo_get ()3, '/xdbconfig/sysconfig/protocolconfig/httpconfig/HTTP-Port/text ()'(4
Yesterday, a colleague asked me to read a piece of SQL, saying it was very slow. I first looked at the execution plan and found that the cost was very large, but at the same time I also found that there was a big problem with partition reading.
Several files and parameters that need to be modified during Oracle installation:
/Etc/security/limits. conf
Nproc: Number of processes that can be enabled
Nofile: number of files that can be enabled
/Etc/PAM. d/login:
# Add for install
There is no need to worry about Oracle's massive data volume.If you want to transfer a large amount of data in Oracle (more than 80 Mb) to another user and another tablespace. You can use the following method to quickly transfer data.
I. How to
This knowledge point is only applicable to Oracle 9i and later versions.
To view table data changes, use the SQL statement: Select * From user_tab_modifications;
The fields in the user_tab_modifications table are as follows:Modify, delete, and add
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