Learning Objectives
1. Describe the logical structure of the Oracle database2. Create a tablespace3. Change the tablespace size4. Allocate space for temporary segments5. Change the tablespace status6. Change the storage settings of the
1. Create a function in Oracle
Create[Or Replace]FunctionFunction_name
[(Parameter_name [In|Out|In Out] Type [,...])]
Retutn type
Is|As
Begin
Function_body;
End;
Note: The function must return values.Or replace: If the function already
Install MySQL in Ubuntu
Sudo apt-get install mysql-server
This should be very simple, and I don't think there is much problem with the installation, so I will not talk about it much. Let's talk about the configuration below.
Configure MySQL
Note: In
Oracle pseudo columns and pseudo tables
To implement the complete functions of relational databases, the oracle system provides a database column that is composed of pseudo columns. These columns are not completed by us when an object is created,
If the database contains a federated primary key, such as Vcode and Vcompany (view method, right-click the Oracle database table and then view the key information to find the UK Information)
Verify whether the Vcode and Vcompany are associated
Oracle redo online Log File reconstruction in seven steps redo online log reconstruction in five minutes redo log Reconstruction
Step 1: create three new online log groups:
ALTER DATABASE ADDLOGFILEGROUP4
How to SetOracle11gImport backup10g
11g Export Statement: expdp userid ='Facial/Facial@OrclAs sysdba 'schemas = facial directory = DATA_PUMP_DIRdumpfile = aa. dmp logfile = aa. log version = 10.2.0.1.0
The red text is rewritten as needed. For
1. Update a single table
Syntax: update test set column = value [, column = value]... [where condition]
Eg: select * from test
Eg: update test set sex = 111 Translation: update the sex column of the entire table to 111
Eg: update test set sex = 3
Show processlist shows which threads are running. You can also use the mysqladmin processlist statement to obtain this information. If you have SUPER permission, you can see all the threads. Otherwise, you can only view your own thread (that is, the
I. Physical backup tool rman (Recovery Manager)
Rman features are powerful and operations are relatively complicated. For common developers, it is generally not required to use it in their daily work. interested colleagues can view Oracle-related
In fact, this problem was previously encountered by the same customer. At that time, an engineer resolved the problem and recorded the process as follows:
The application colleagues reported that the stored procedure had been executed for 2 or 3
I. Test preparation
1. Create a table data space
SQL> create tablespace cat_data nologging
Datafile '/home/Oracle/app/oracle/oradata/catdb/cat_data.dbf' size 4096 M
Extent management local autoallocate;
2. Create a table index space
SQL> create
Triplicate
Select mbid00, mbmc00, llurl0, cfwz00, mbsltp, sycs00, lrsj00 from (Select mbid00, mbmc00, llurl0, cfwz00, mbsltp, sycs00, lrsj00, rownum as con from (Select * from JZ_MBXXB0 where 1 = 1 and lbid00 ='123'Order by lrsj00)Where rownum 10)
1. Use the view to test the database cache size:
If your enterprise opens a new business and develops a new application for this purpose, a new database is required as the background. You are responsible for regulating this new database. So how do
Mysql recursive sorting Query
Note: producttype sorting table, producttype. Ptype parent node, producttype. Id Primary Key, showTreeNodes (IN rootid INT) function. The parameter is of the starting type.
Drop procedure if exists showTreeNodes;
Oracle EM Grid Control is a system management software that provides centralized monitoring, management, and lifecycle management for the entire Oracle IT architecture.
The installation process is simple and easy to operate. In a customer
MySQL is a widely used relational database. When the data size expands and the importance increases, the reliability and performance of a single database are severely challenged, so there will be a master-slave database, read/write splitting and
The script for MySQL database flushing contains Chinese characters. After logging on with the MySQL command, it is flushed into the database and garbled during reading.
The possible causes are as follows:
After MySQL is installed, the client
For RAC, when an Oracle Instance fails, the application has several high-availability technologies to ensure availability. These technologies are transparent to the client, and the client may not be able to perceive the instance failure.
1.
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