Database environment: Oracle 11G
Function spfile Improvement
In 11G, Oracle also made some minor improvements to protect spfile. For example, when spfile cannot be deleted during runtime, you can directly read the values of all parameters from
How to use mysql in vc, delphi, vb and other programs (use of mysql odbc driver)
We often encounter this problem. How can we use mysql Databases in non-web programs or asp programs? There are two solutions to this problem:
1. Use the api function
After installing Oracle10g, I want to enable SQL * plus for learning, and then follow the steps in the book to connect to the database with scott user. After the installation, an error is prompted several times.
Error: the account is locked
Then I
The following describes how to use common data dictionaries for Oracle users by category.
I. Users
View the current user's default tablespace SQL> SELECT username, default_tablespace FROM user_users;
View the role SQL of the current user> SELECT *
Connect to Oracle today error: ORA-18008: can not find the OUTLN solution, the day before yesterday also used well, now no matter query any SQL statement or click list view will pop up the error prompt, busy for a while, finally, the solution is
I wrote MySQL 5.1 master-slave configuration a long time ago. Now MySQL has released 5.6.10 and has made many optimizations in the master-slave replication function, especially the introduction of GTID (Global Transaction ID, it is worth writing
Oracle 11g allows the index to be marked as invisible. oracle maintains the invisible index like other indexes, but the default invisible index cannot be used by the optimizer unless OPTIMIZER_USE_INVISIBLE_INDEXES = TRUE is explicitly set (you can
Recently, tomcat was developed for database migration. to access the database with other users, you must enable the remote access permission;
In addition, we know that there are two ways to remotely access Mysql: Authorization and table
Generally, mysql requires backup. There are many backup methods. The following is an automatic backup of a remote database that I used in concert with a scheduled task.
I. Confirm the backup solution:
Backup Machine: ip192.168.8.51
Database Server:
(I) Importance of binary logs
If there is data backup at a certain point in time and all binary logs from then on
You can replay the binary logs generated since the last full backup and roll back all the changes.
(Ii) Best practices for binary log
After Oracle is installed, the oracleoradb10g_home1TNSlistener service cannot be started. Error 1067.
Cause of error: because the local IP address is automatically obtained, the IP address obtained each time is basically different, and the
SQL Tuing Advisor (STA) is part of the automation Tuning Optimizer. In the previous article, I used SQL tuning advisor (STA) to automatically optimize SQL statements to describe the background of SQL Tuing Advisor (STA) and provide examples. This
Procedure and function programming in PL/SQLProcedure: Stored procedure eg: create or replace procedure p -- here is the difference with plsql iscursor cisselect * from emp2 for update; -- v_temp c % rowtype; begin for v_temp in cloopif (v_temp.sal
I have recently studied how to solve the IO competition problem if the storage level cannot be optimized. Finally, I thought of asynchronous IO.
My redo disk write speed has reached the maximum value, no matter how I adjust the redo size and number
Currently, there are several popular MySQL automatic backup methods:
I. Logical backup: Use the mysqldump tool provided by mysql to back up data. Back up SQL files.
Advantage: it can work with running mysql automatically,
During the running period,
The mysql configuration file is my. cnf, which is located according to the settings during installation.When the mysqld service is started, the configuration file is read in a certain order by default.
[Root @ zhu2 ~] #/Opt/mysql/libexec/mysqld --
A developer said that there was a problem when using postgres's extended row-to-column application. The example is as follows:
For more information about the extension package, see:
I. EnvironmentOS: CentOS 6.3DB: PostgreSQL 9.3.0
Ii.
Configure the database environment, goldengate users, and install goldengate. For more information, see steps 1-4.Configuration required for Oracle-Oracle one-way replication using the Data Pump: -- Here I only configure to synchronize the test3
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