Use ctrl + c to exit the current status output mode. Run the following command: expdp userid/password attach = job_name to connect to the currently running import/export task. You can use job_name to specify the task name.1. add_file = test _ % U.
1. Understand When logws write redo logs into the redo log file in the redo log buffer to understand commit;
Write when redo log buffer 1/3 is full
Write at commit
When a log switch occurs, write
Write when the generated redo is 1 MB
When DBWN
By default, access between different Oracle Server databases is remotely accessed through local operations *. *
1. Create a database linkExample:Create public database link orcl211 connect to username identified by password using '(DESCRIPTION
In practice, a large amount of data often needs to be imported to the current database table. The sqlldr Command provided by Oracle has a good meet requirement. During the use process, we found that if the default value is set in the Column on the
System and object permissions for Oracle databases:
Alter any cluster: modify the permissions of any cluster
Alter any index
Alter any role Modify permissions of any role
Alter any sequence
Alter any snapshot
Alter any table
Alter any trigger
Alter
In compiling PL/SQL, it may take several seconds to pause the program and continue execution. Check that dbms_lock.sleep (10) is provided in Oracle. However, you must install the dbms_lock package on your own, the demo is as follows:
C: \
MySQL replication Overview
MySQL supports unidirectional and asynchronous replication. One server acts as the master server during the replication process, and one or more other servers act as slave servers. MySQL replication tracks all database
A problem occurs when running the root102.sh script on node 2. You can only run the root102.sh script again, but the shut down ocssd prompt is displayed. bin, crsd. bin, evmd. after the three processes are killed, the system restarts and the script
(1) version: 1. Operating System: RHEL5.52.mysql-proxy-0.8.1-linux-rhel5-x86-64bit.tar.gz(2) installation 1. Extract mysql-proxy-0.8.1-linux-rhel5-x86-64bit.tar.gz directly.(Note: the source code has not been downloaded for self-compilation. Cause:
After compiling and installing MySQL, you can use gdb to track the execution of the mysql server.
Gdb -- args/usr/local/mysql/libexec/mysqld
(Gdb) B mysql_selectBreakpoint 1 at 0x8228b7d: file SQL _select.cc, line 2315.(Gdb) B my_net_readBreakpoint 2
When using P/l SQL to create a table, if the keyword is used as the field name, such as uid, type, date, etc., an invalid identifier (invalid identifier) is prompted ). In some cases, you have to use keywords as field names, just like what to do
1 move Experiment
SQL> create table my_objects_move tablespace ASSM as select * from all_objects where rownum
Table created
SQL> select value
2 from v $ mystat, v $ statname
3 where v $ mystat. statistic # = v $ statname. statistic #
4 and v $
Single-record functions in SQL
1. ASCIIReturns the decimal number corresponding to the specified character;SQL> Select Ascii ('A') A, Ascii ('A') A, Ascii ('0') Zero, Ascii ('') Space From Dual;A ZERO SPACE------------------------------------65 97 48
1.1.Log & Checkpoint
InnodbThe transaction log of isRedo log, AbbreviationLog,Save in Log FileIb_logfile *. Innodb also has another log Undo log, but the Undo log is stored in the shared tablespace (ibdata * file
Recently, Oracle 11g exp command was used to back up the database and restore the database. It was found that the table that has never inserted data before the export was not exported. Similar problems have not been found before when I was using 9i
How To Connect C to the MySQL database in Linux:
# IncludeStdlib. h>
# IncludeStdio. h>
# IncludeMysql. h>
Int main (int argc, char * argv [])
{
MYSQL * conn_ptr;
Conn_ptr=Mysql_init(NULL );
If (! Conn_ptr ){
Fprintf
Oracle in Linux is running after installation. Run ps-ef or top-u oracle. You can see the processes run as Oracle users. On the graphic interface, run $/usr/share/oracle/oracle11gR2/product/11.2.0/dbhome_1/sqldeveloper. sh to display the free Oracle
Oracle temporary tablespace is mainly used to query and store some buffer data. Temporary tablespace consumption is mainly caused by sorting the intermediate query results. The temporary tablespace can be released when the database is restarted. If
1. Automatic growth of identity:
Applicable to MySQL, DB2, and ms SQL Server. It uses the primary key generated by the database to generate unique identifiers for long, short, and int types.
Use auto-increment fields of SQL Server and MySQL. This
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