MySQL master replication + Keepalived to create a highly available MySQL Cluster
In response to the company's needs, we have created a safer mysql cluster to implement mysql failover. After several days of research, we can finally share the results.
Oracle static listener registration details
There are a lot of articles on Oracle listening for static registration on the Internet, but most of them are just a simple introduction. There are no detailed examples. Here, we will combine Oracle 10gR2
Reflection on ORA-00020
Check the alert Log in the production environment today and find the following error. This error does not need to be explained too much. Obviously, this is because of the classic problem of session leak.
ORA-00020: maximum
Oracle implements function-based indexing
Use Cases:When a query runs slowly. By checking the where clause, it is found that the SQL lower function is applied to a column, and the lower function prevents the use of existing indexes on the column.
Problems caused by inconsistent Oracle field type design and actual business
During the design of the Oracle table, developers always disagree with the field type. The following example shows how to design the field as number and the result is
The user specified as a definer ('root' @ '%') does not exist, specifieddefinerZookeeper is generally because the root user has no access permission to the global host. Therefore, you only need to add an access permission to the root user.
Solution:
Mysql is completely deleted under win7, and mysql is deleted in win7.First, stop the MySQL service in the Service (Start> Control Panel> Management Tools> service. Open Control Panel-add and delete programs, find MySQL, and uninstall. You can also
Create a temporary table in oracle and create a temporary table in oracleThe transaction is automatically cleared after the transaction is committed, and data is isolated between different transactions.Create global temporary table
Create a table synchronization trigger for each site for data synchronization and a data synchronization trigger
As mentioned in the previous blog, when data synchronization is performed, you need to create a trigger for each operation table on each
Add and read comments and ORACLE comments to tables and columns in oracle
Add and read comments to tables and columns in ORACLE1. Add a comment to the table: SQL> comment on table name is 'table comment ";
2. Add a comment to the column: SQL>
Use Oracle DBLink to access objects between databases.
Oracle comes with the DBLink function. It is used to logically think of multiple oracle databases as one database, that is, one database can operate on objects in another database, for example,
Some Useful GoldenGate Commands, goldenw.commands
1. History
Use History to view previously executed commands
GGSCI (ogg1) 5> history
GGSCI Command History
1: infoa2: inf3: info all4: show all5: history
2 ,!
Use! You can run the last command
Group by ALL, groupbyall
Group by ALL. The difference between "ALL" and "no" is that after "ALL" is added, ALL groups and result sets are included, and even those groups and result sets whose rows do not meet the search conditions specified by the
[Oracle] The oraclepsu upgrade processThe following is the content in the PSU's readme file: 3.2 Patch Installation Instructions
Follow these steps:
If you are using a Data Guard Physical Standby database, you must install this patch on both the
Considerations on keys outside of database design and database design
There is no uniform standard for the use of foreign keys in the industry. The focus of the debate is data consistency and performance.
Supports the use of foreign keysIt is
Objects in ADO. NET: Connection, Command, DataReader, DataAdapter, DataSet, and able,
It may be because I didn't make a good summary at the beginning. NET. objects in. NET have been vague. Today, I reviewed them again. I checked the information,
GoldenGate performance tuning, goldengatetuning
During ogg synchronization, we sometimes encounter very large tables. At this time, we can use multiple replicat processes to split them by the range parameter and apply them to the target database.
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