Historically, Oracle's import and export capabilities have used disk files as storage intermediaries for unloading and reloading databases. The way to "swap files" for larger databases is a big problem. Because a large file will exceed the operating system's limit on file size, the export cannot be implemented.
Some innovative data administrators use file compression, such as the compression feature in Uni
Information security considerations sometimes require data masking for user names.Fetching Data desensitization for Oracle databaseDesensitization rule:The length is less than 9 characters, only the first 3 characters and the last 3 Chinese characters, the middle of all filled by *.Length 9 words and above and odd, hidden to the middle 3 words, length 10 words an
queries. Especially when designing a large table to query records that meet the conditions, the WHERE condition statement can be used to limit the query response speed.
For example, in the library management system, when someone wants to query the "CPA" counseling book, although the "CPA" is not in the category or name of the book ", it is also feasible to query all records first, and then check whether there is any relevant book information one by one. However, in this case, the system respons
Label:When I connect a remote Oracle database with ODAC today, I can't connect to it.Change the Tnsname.ora of the configuration file so that it is all the same, and fully configured correctly or with an error, the connection does not occur.Finally, the big God, the original is the data source name problem.change the data
Description: Usually very little contact with big data paging, today is interested in the database insert 10 million data to test, after the query related information to get the following description:The author has a millions record in the work of the table, in the JSP page to the table to be paged display, then consider using rownum to do, the following is the s
Resolving index failure when Oracle Partition Table deletes partition data
I. Description
Today, we have a small task to delete some data. Haha, please be happy first. Because the data table to be deleted is the partition table that I previously converted. The partition table is partitioned according to the creation ti
must be used to establishThe index of the associated query, which is mandatory to specify the table as the main driving table during the association process, and that table as the slave table. In the process of cross-database association query, because the table is not in the same database (at the same time in different operating systemsThe data of one table is extracted to another database during the association process. In this case, if the
Document directory
PL/SQL syntax
% Type of Custom Data Type
Record of composite data type
% Rowtype of composite data type
Summary of Oracle Extended Data Types
PL/SQL syntax
The PL/SQL program consists of three parts: Declaration, execution, and exception handling.Te
-point number type. The Sign bits 1 bits, which are digits 8 bits, and the trailing digits are 23 bits.
9 bytes, There is a length of bytes.
64-bit double-precision floating-point number type.
3. Date Time Type: Store date format type, including date and time interval
Data type
Length
Description
DATE
7 bytes
The default value is Sysdate year, month, an
[SQL] PL/SQL Syntax of Oracle and its extended data types summary PL/SQL syntax PL/SQL program consists of three parts: Declaration, execution, and exception handling. Template:
[SQL] DECLARE/* variable Declaration */BEGIN/* Program subject */EXCEPTION/* EXCEPTION Handling part */END;
Receiving user input information PL/SQL block can also receive user input information. For example, you are required to ente
Label:Requirements: Oracle Database Delete Deletes the normal heap table thousands history. Effects of direct deletion: 1. An issue that could result in a final deletion failure due to insufficient undo table space; 2. May cause the Undo table space to be overused, affecting the normal operation of other users. Improvement Scenario: Every 1k row is deleted and submitted once. (so that a big thing is broken
The considerations for migrating data from MySQL to Oracle are as follows
1. Automatic growth of data type processing
MySQL has an automatically growing data type, and the data value is automatically obtained when you insert a record without manipulating this field.
) Merge Update method (faster when associating fields with non-primary keys)Grammar: MERGE intoTABLE_NAME Alias1USING (Table|View|Sub_query) Alias2
on(Joincondition) whenMatched Then
UPDATE
SETCol1=Col_val1, col2=Col_val2 when notMatched Then
INSERT(column_list)VALUES(column_values); Scenario: Select data in Alias2, each with the ALIAS1 on (join condition) comparison, if matched, update operation, do not match, perform the insert operation. The me
. creation and management of tables1. Common data Types1. String: Use VARCHAR2 description (other database uses varchar), use this type in 200 words, for example: Name, address, postal code, telephone, gender; 2, Number: Use number in Oracle to describe numbers, if you describe decimals using " Number (M,n) ", where n bits are decimal places and m-n are integer digits, but the database also takes into accou
Oracle| Object | data
The original developer of a new PHP data object (PDO) Data abstraction Layer gives you a brief introduction to the abstraction layer, focusing on running with Oracle.
Need php:5.0Need other: Oracle 8 or later
oracle| Data | database
In order to protect the integrity of the data we used a lot of methods, such as data table primary key constraints, external
Key constraints, triggers, and so on, what we're talking about today is when we're dealing with data direct transactions
W
[Oracle] the quick way to DELETE duplicate data is that you have never seen this method on the Internet: delete from prod_grid_incWHERE rowid in (SELECT B. row_id2 FROM (select rowid row_id2,. *, row_number () over (partition by. prod_id order by. insert_date DESC) row_num FROM prod_grid_inc a) B WHERE B. row_num> = 2); you may try it. After testing, it is indeed much faster. If it is a
DATABASE LINKS
DIMENSIONS
Lists the data types available for data columns.
Character Type
VARCHAR2
Variable-length character type, 1byte-4KB, and VARCHAR type, which is automatically converted to VARCHAR2
NVARCHAR2
Similar to VARCHAR2, but can store international codes;
CHAR
The fixed length is 1 byte-2kb. If the character length is insufficient, use spaces to f
After the Oracle database has been upgraded to 11 GB recently, some problems have occurred. I began to find some things that need to be summarized. Every time I thought: next time, when I build my own data warehouse, be sure to pay attention to these details and do the work well at the initial stage of warehouse creation.
1. redo log Design1) if it can be put separately, redo and
One of the most important preparations in performance testing is preparing test data. Before performing a performance test, make sure that you have enough data in your test database to test it. For data preparation, sometimes I use LoadRunner to generate the appropriate script to prepare the data, which has one advanta
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.