This article briefly records how to import and export common data involved in PostGIS.
1. Import osm data to PostGIS
Osm2pgsql-c-d osm-l-E 4326-S/usr/share/osm2pgsql/default. style xxxxx. osm
Here, pay attention to a few parameters. Whether to
MySQL string truncation functions: left (), right (), substring (), substring_index (). There are also mid () and substr (). Here, mid () and substr () are equivalent to substring () functions. substring () functions are very powerful and flexible.
1
According to the official Oracle documentation, the database character set cannot be changed after it is created. Therefore, it is important to consider which character set to use at the beginning of design and installation. For the database server,
NLS_COMP and NLS_SORT ParametersOracle uses binary for sorting by default, which is inappropriate for Chinese sorting, for example.Use these two parameters to specify the sorting method, such as pinyin or, which may cause performance problems.The
1. Basic Steps for copying
It takes only three steps to create a simple copy.
Configure a server as the Master database, that is, the Master database.
Configure another server as the slave database, that is, the slave database.
Connect the
I just solved the problem of asynchronous io. I 'd like to describe how to set asynchronous IO in Oracle.First, check whether the package of asynchronous io has been installed on the operating system. If not, install it through rpm and check the
Recently, the company needs to build Oracle9i on a 64-bit RedHat system, which is a relatively old version and is difficult to install.
The general installation process is as follows:
1. Download the installation package
1、amd64_db_9204_disk1_1-32.16
Today, we help you modify a report, and design the warehouse receiving and warehouse receiving operations in it. We need to list the Daily portal information of each product.
This may happen:
1. The product has data in the warehouse receiving table,
PrefaceEvery DBA in the Process of database management should inevitably encounter a variety of errors (ORA-1547, ORA-904, ORA-1578 ......). Some errors are often called "classic errors" by Oracle DBAs due to frequent and complex causes ". The ORA-31
Login as: rootRoot@192.168.88.xx's password:Last unsuccessful login: Tue May 15 22:15:03 BEIST 2012 on ssh from 192.168.88.xxLast login: Thu Aug 23 01:27:54 BEIST 2012 on ssh from 192.168.88.xx
**************************************** ***************
This is the case: Due to my carelessness, I helped other departments to update some data in batches on October 13, July 30. Who knows that the global update is complete, and I was notified of this problem only on October 10, September 26. They
1. Create a sequence
-- Create sequence
Createsequence SEQ_TEST_JOB
Minvalue 1
Max value 9999999999999999
Start with 2
Increment by 1
Cache 20;
2. Create a Baotou
Createorreplace package PKG_TEST_JOB IS
-- Author: ADMINISTRATOR
--
System Environment: CentOS 6.3 Server
Windows 7 Client
The IP addresses are 10.1.4.44 server and 10.1.4.180 client respectively.
1. Check whether MySQL is installed?
[Root @ Web_Mysql ~] # Rpm-qa | grep mysql
2. Install MySQL using YUM:
[Root @
-- View All sequences of current users
Select SEQUENCE_OWNER, SEQUENCE_NAME from dba_sequences where sequence_owner = 'username ';
Note:
1. You must log on as an administrator;
2. sequence_owner must be in upper case, regardless of whether your user
In view of the problem that DBCP is directly used for JDBC connections, I made a simple example. All resources are from the Internet. It does not need any Web Container, but is a simple console
Linux: RHEL 6.3 Oracle: oracle 11g R2 (11.2.0.3)
RHEL 6.3 is installed on two servers, oracle is installed on two servers, software is stored locally on the server, and database files are stored on the shared disk (iscsi used ), the first oracle
In Oracle versions earlier than 11g, if you want to set the table to read-only, you can grant the SELECT object permission to these users, but the table owner still reads and writes the table. Oracle 11g allows the TABLE to be marked as read-only
The following is a test on how to configure the db console in Oracle 10 Gb. EM is usually used too much and is not familiar with it.
Test environment: OS: SOLARIS 10, DB: 10.2.0.1
1. EMCA Creation
$ Emca-config dbcontrol db-repos create
Started
System Environment: CentOS 6.3 X86_64
Redis Introduction
Redis is essentially a Key/Value database, similar to the NoSQL database of Memcached, but its data can be stored persistently on the disk, solving the problem of no data loss after service
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