1. Client hosts file Configuration:10.19.65.167 sdwgrac1-vip10.19.65.169 sdwgrac2-vipNote: The unix platform is/etc/hosts, and the windows platform is C: \ Windows \ System32 \ drivers \ etc \ hosts.
2. Client tnsnames. ora Configuration:EOMS
Sqlplus/as sysdba
> Select total. tablespace_name, round (total. MB, 2) as Total_MB, round (total. MB-free.MB, 2) as Used_MB, round (1-free.MB/total. MB) * 100, 2) as Used_Pct from (select tablespace_name, sum (bytes)/1024/1024 as MB from
If the web and database are not on the same server, the MySQL server must allow remote connections to run the website properly.
There are two ways to set the remote connection of MySQL:
1. Change the table.
It may be that your account is not
1. Obtain the TRACE method from the SESSION.SQL code// Get startedAlter session set TIMED_STATISTICS = TRUE;Alter session set SQL _TRACE = TRUE;// SQL Execution............................................................// End of AcquisitionAlter
How to Use the find_in_set function of MySQL
This is often the case when designing databases, for example:
There is a type field in the Document Table, which stores the article type, including 1 headlines, 2 recommendations, 3 hotspots, and 4
Sometimes, you can view the attribute statements of objects such as tables, storage, and triggers in the following two ways:
1. query the all_source table
2. Use the DBMS_METADATA Package.
1. Use the all_source table
First, let's check which types
When Oracle 11G is exported using EXPORT, empty tables cannot be exported.
There is a new feature in 11G. When the table has no data, no segment is allocated to save space.
Solution:
1. insert a row and then roll back to generate a segment.
This
By default, alert log has only one file. When a certain amount of data is accumulated, it is a little troublesome to view alert. log. You can only use the tail-xxx line for viewing. Therefore, if you can store alert. log by day or put it in a
Some things can only be exposed during long stress tests. The MongoDB cluster has been in use for several months, but after a long-running stress testing program is written, the primary server cannot be started for a few days. View MongoDB log error
Many people think that it is not practical to view the terminal IP address connected to the Oracle server. If it is only a data server, it is useless. If there is a central server and a distributed server, it will reflect its role. Specific
Recently, when helping customers build an OSB cluster environment, after the managed server in the cluster is started, there will be a BEA-473007 warning "clustering unable to accept clustering Statistics ", I found a solution on the Internet as
An import failure occurs when data is imported or exported locally. Oracle Reports that ora 12154 cannot parse the specified connection identifier.
The Import Name is as follows:
Imp crspuser/123456 @ crsp fromuser = crspfenlove touser = crspuser
In archive mode, you may need to migrate some data from one disk group to another. In this case, we can use the "backup as copy" command to move the data file to the new disk group. Then, run the "set newname" and "SWITCH" commands to change the
In the past, most of the company's projects were on version 5.5, and there was just a project (free trading platform) with a small amount of data. A single server ran stably online and rarely took over, in order to unify the version, I plan to
Preface:
Table Compression should be supported from 10 Gb. Oracle 11g exadata used this feature to the extreme and vigorously promoted the compression technology. In the condition that the cpu performance of modern machines is blowout, the reduction
MySQL -- Binary log
Recently, when I checked the monitoring server, I found that there were as many as 14 GB log files. I checked the information and introduced it as follows:
Binary log is a very important part of mysql. It has two main functions:
Most of the time, we need to initialize database settings, such as creating indexes, especially when configuring multiple MongoDB servers, or when initializing and archiving.
Run the following command to execute a js file:
./Mongo IP/DBName init.
Percona is a branch of mysql. I believe many of my friends are familiar with it. percona-toolkit is a toolkit launched by percona. It contains a lot of useful and useful mysql maintenance kits, I started to learn about this tool today. The first
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