1. Disable all oracle services
Close the windows Service Manager (Windows + R, and enter services. msc to quickly open the Task Manager) (if you have not enabled oracle tasks, skip this step !)
2. Delete oracle information in the Registry
Windows +
The table structure is as follows:
Create table HH_BOOK_GOOD (ID VARCHAR2 (32) not null, BOOKID VARCHAR2 (32) not null, GOODID VARCHAR2 (32) not null, goodprice float not null, GOODNAME VARCHAR2 (256) not null, GOODNOTE VARCHAR2 (1024) not null)Use
In one case, the following error message is found in the trace file.
D: \ oracle \ product \ 10.2.0 \ admin \ dbserver \ udump \ orcl_ora_5888.trc
Corrupt block relative dba: 0x09848269 (file 38, block 295529)
Bad header found during buffer
1. Create a tablespace with a block size of 2 kb
create tablespace tbs_2k datafile 'C:\APP\ADMINISTRATOR\ORADATA\HXL11G\hxl01.DBF' size 128m blocksize 2k;If an error is reported, run the following statement:
alter system set db_2k_cache_size=50
A table is intentionally deleted. When OGG synchronizes data, an error is immediately reported after the table is deleted, as follows:
OCI Error ORA-12096: error in materialized view log on "JTINFO ". "TBL_USERID" ORA-01003: no statement parsed
Question no: 13
Examine the structure of the EMPLOYEES and NEW_EMPLOYEES tables:
Which MERGE statement is valid?
A. merge into new_employees c USING employees e ON (c. employee_id = e. employee_id) WHEN MATCHED THEN UPDATE SET
Name = e. first_name |
I. Some suggestions on inefficient query After partitioning of large data volumes in oracle:
1. For the current table tm_bus_realtime_log. View its index, there is only one (index name: INDEX_BUS_REALTIME field name: UPLOAD_TIME)
The SQL query
In the first blog, write down the SQL Optimization Problems Encountered today.
Not in is very inefficient, because it requires two full table searches (in single table cases) and does not use table indexes. The alternative method can be external
Oracle case when usage1. The case when expression has two forms:
-- Simple Case FunctionCASE sexWHEN '1' THEN 'male'WHEN '2' THEN 'female'ELSE 'others' END-- Case search functionCASEWHEN sex = '1' THEN 'male'WHEN sex = '2' THEN 'female'ELSE 'others'
Oracle in windows is very unstable. If it doesn't work well, it will crash. It takes a long time to refresh it. It is better to unload and reload it.
Or
After the uninstallation is successful, click Cancel to exit
Selecting records in the database is the most basic and frequent, but it is often not so simple in actual application. Some conditions will be added when selecting records, such as getting the first few records, the following describes how to
TO_DATE format (take time: 13:45:25 as an example)
Year:
Yy two digits two-year value: 07yyy three digits three-year value: 007 yyyy four digits four-digit annual value: 2007
Month:
Mm number two-month display value: 11mon abbreviated Character Set
In order to test the stored procedure, I went around and did it. Here I will talk about what I thought when I received the task and started.
Method 1:
At first, I thought that I could use C # To directly call the stored procedure, and then use
1. Install jdk
# Cd/u01 (store the jdk file in this directory)
# Chmod a + x jdk-6u41-linux-i586.bin
#./Chmod a + x jdk-6u41-linux-i586.bin (prompt authorization instructions, q Skip, then enter yes, wait for the installation to complete)
2.
This article describes how to prove that a recursive session exists and explains why it is not displayed in the v $ session. If you need to know it, go to the reference page.
When we use the database, we sometimes encounter similar situations. My
Tens of thousands of rows of records have been inserted for three seconds. I think tens of thousands of data records can be displayed faster. What's more, it's an oracle database. Let's take a look.
-- Create a test table
The Code is as
Database Operations are similar, such as mysql, oracle, and sqlserve operations.
The first step is to load the driver package.
Step 2: connect to the database through the connection path
Step 3 is the operation .. The following is basically the
684. Your database is running in ARCHIVELOG mode. You have been taking backups of all the data files and control files regularly.
You are informed that some important tables in the BILLING tablespace have been dropped on February 28,200 7 at 10.30
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.