Database Backup is one of the most important tasks in the whole project operation.
I. Data Export and Import
Data export and import are for a user's backup operations, which can be completed as follows:
1. Data Export
Create a folder
The database design paradigm is a very important concept, but this importance is only suitable for reference. With the database design paradigm, data tables can be better stored, because a reasonable design will certainly have performance problems
I. Hardware requirements
1. Memory & swap
Minimum: 1 GB of RAMRecommended: 2 GB of Ram or more
Check memory # Grep memtotal/proc/meminfo # grep swaptotal/proc/meminfo
2. Hard Disk
Since centos is installed almost 4 ~ 5 GB, plus Oracle
Source: http://www.cnblogs.com/zjrstar/archive/2006/08/31/491090.html
For rownum, it is the number of the row returned from the query that is sequentially allocated by the Oracle system. The first row is allocated 1, and the second row is 2, this
1. How Does Oracle store text?
Differences between char and varchar2
• Char fixed-length string, varchar2 variable-length string.
• Char (n) fixed-length string, n Bytes, N value range:1 ~ 2000 bytes.
• Varchar2 (n) variable-length string.
1.System Variable Functions
(1)Sysdate
This function returns the current date and time. The current date and time of the Oracle server are returned.
Select sysdate from dual; insert into purchase values ('smallwidget ', 'sh', sysdate, 10)
Oracle's online redefinition Table Function
In a high-availability system, changing the definition of a table is a tough issue, especially for a 7 × 24 system. The basic syntax provided by Oracle can basically meet general modification
Comparison of common functions of SQL Server and Oracle --------- Mathematical functions 1. Absolute ValueS: Select ABS (-1) ValueO: Select ABS (-1) value from dual 2. INTEGER (large)S: Select ceiling (-1.001) ValueO: Select Ceil (-1.001) value
I haven't written a demo for a long time, and I haven't written a page for a long time, so I have to itch my hands,
The following describes how to access the Oracle database through the ASP. NET page through system. Data. oracleclient,
In fact,
How to configure to connect the client to the database:To enable a client machine to connect to the Oracle database, you must install the Oracle client software on the client machine. The only exception is that the JDBC thin mode can be used when
Each row of data in an Oracle database table has a unique identifier, or rowid, which is usually used to access data in Oracle. Rowid requires 10 bytes of storage space and is displayed with 18 characters. This value indicates the physical location
ArticleDirectory
Questions about Oracle Stored Procedure
1. Basic StructureCreate or replace procedure(Parameter 1 in number,Parameter 2 in number) IsVariable 1 integer: = 0;Variable 2 date;Begin
End stored procedure name
2.
Continue to look at the second case of the query, including the table connection:
SQL> Create Table T as select * From dba_users;
The table has been created.
SQL> Create Table T1 as select * From dba_source;
The table has been created.
SQL>
We have introduced a common regexp_like function in the regular expression group in Oracle. Here we will introduce a function regexp_instr. This regular expression function is not used as many as the previous one, but will also be used occasionally.
When installing Oracle for 10 Gb, you may encounter a major problem. Follow the installation guide step by step and you will find that four parameters are not properly set, as shown below:
Error: 'rmem _ default' is an unknown keyError: 'rmem _ max
1. Copy the table structure and data:
Create Table table_name_new as select * From table_name_old
2. copy only the table structure:
Create Table table_name_new as select * From table_name_old where 1 = 2;
Or:
Create Table table_name_new like
--
Authorization
Grant
Create
Table
,
Create
View
To
Scott;
Grant
Select
On
Dept
To
TT;
--
Grant tt the dept permission
--
Delete permission
Revoke
Select
On
Dept
I. View
Among all the SQL syntaxes I have learned before, query operations are the most troublesome.ProgramIf developers waste a lot of effort on writing queries, it will certainly affectCodeTherefore, a good Database Designer not only designs
(From http://duqiangcise.javaeye.com/blog/563296)
1. view the system permissions of the current user
Select * From session_privs;2. view all roles in the databaseSelec * From dba_roles;3. view the maximum number of roles supported by the databaseSQL>
Using System; using System. collections. generic; using System. linq; using System. text; using System. IO; using System. drawing; using System. runtime. interopServices; using Excel = Microsoft. office. interop. excel; using System. globalization;
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