After modifying the storage path of the mysql database, you can't start it until you have forgotten it. Later, you can view it in ls-Z. It turns out to be selinux. You can use chcon-t mysqld_db_t/home/mysqlData.
The method for changing the database
Data source configuration: in jboss/doc/examples/jca, if you are a mysql database, select mysql-ds.xml
DefaultMySqlDS
jdbc: mysql: // localhost: 3306/itcast?UseUnicode = true & amp; characterEncoding = UTF-8
org. gjt. mm. mysql. Driver
Redo and Undo
Redo and its Functions
Undo and its Functions
Relationship between Redo and Undo
Submit and roll back
LogMiner-based Log Analysis
11.1 Redo and its Functions
1.1.1Redo is used to restore committed transactions, so as to ensure
PL/SQL table --- table () function usage/*
PL/SQL table --- table () function usage:Using the table () function, we can replace the result set returned by PL/SQL.
Oracle memory tables are frequently used for queries and reports. They are dozens of
Install Mysql on both servers in the/usr/local/mysql directory (the installation steps are omitted. Refer to the relevant documentation ), the IP addresses of the two servers are 192.168.0.1 and 192.168.0.2. We use 192.168.0.1 as the master database
1. Use Groovy in EO attributes
Excellent: Simple and Direct
Missing: disconnected number
(New Oracle. jbo. server. SequenceImpl ("XXXX_SEQ", adf. object. getDBTransaction (). getSequenceNumber ()
2. assign values to attributes in the create method
InLinuxAfter the installation is completeRMANThe following error may occur:
[Oracle @ smsdbrac1 oracle] $ rman target/
Rman: can't open target
This is because the call is notOracleOfRMANReason:
[Oracle @ smsdbrac1 oracle] $ which
From Oracle 9i, there are two methods to manage a Segment Space: manual Segment Space Management and automatic Segment Space Management (ASSM );
ASSM uses bitmap to track or manage each block allocated to an object. The remaining space of each block
The failure of the ora-00600 [12700] is generally due to an error in the table or index data block
Fault symptom:
The user reported that an error was reported when the next simple select command was executed.
Select * from in_past t where t.
1. view the table created by the user (Table Name and comment)
-- View the table name
Select*FromUser_tab_commentsWhereTable_nameLike 'Tb _ %';
If:
2. view the table name, column name, and field type information.
SelectCol.
To determine the size of the UNDO tablespace required by Oracle, the following information is required:
UR UNDO_RETENTION in secondsUPS Number of restored data blocks generated per secondDBS Db_block_size
UndoSpace = [UR * (UPS * DBS)] + (DBS *
When importing the attachment table AFFIX, the data volume is more than items, but AFFIX has a large blob field, which makes the query very slow, the network in the working environment is very unstable. I started to import it for about half.
1. Shrink Oracle10g Database files:
1.1 questions:
A database contains millions of data records. After the Delete statement is used to Delete most of the data, the space occupied by the database files will not be reduced to free up extra space.
For
Psychological preparation:
1. when I installed Oracle on Linux for the first time, I felt a lot of trouble. As a result, I gave up the first time I didn't install it halfway. Because I was used to the next step on the Window interface, it was
Create or replace type address as object (province varchar
(20), city varchar (20 ));
Alter trigger sys. JIS $ ROLE_TRIGGER $ compile;
Create table test (id number primary key, name char (50 ));Tablespace authorizationAlter user quota unlimited on
When hql is used in Hibernate for query, list or Iterator is usually used to obtain the query results. Here we will briefly describe the differences between the two methods and applicable scenarios.
List: The queried results will be fully stored in
: Http://dev.mysql.com/downloads/mysql/5.5.html#downloads
The system will be selected after entering
After selecting linux-generic, there are many product options. We can download only the following two.
Server:
Linux-Generic 2.6 (x86, 32-bit), RPM
View All jobs: select * from dba_jobs;
Add a JOB with parameters. Method 1:
Begin
Sys. dbms_job.submit (job =>: job1,
What => 'Clare n1 number (6); s2 varchar2 (2000); begin pkg_xnb.prc_all (n1, s2); end ;',
Next_date => to_date ('2017-02-16 20:00:00
Functions of several views, from official documentsV $ sqltextV $ SQLTEXTDisplays the text of SQL statements belonging to shared SQL cursors in the SGA.V $ SESSIONV $ SESSIONDisplays session information for each current session.V $ wait_chainsV $
1. Install unixODBC
UnixODBC Official Website: http://www.unixodbc.org/
Here YUM is used for installation, not to mention:
Linux uses a CD to build a local YUM Server
[Root @ rac1 mnt] # yum installunixODBC
[Root @ rac1 mnt] # yum
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