Alibabacloud.com offers a wide variety of articles about convert mysql to postgresql, easily find your convert mysql to postgresql information here online.
MySQL's disadvantage relative to PostgreSQL:
Mysql
PostgreSQL
The most important engine InnoDB is very early in the control of Oracle Corporation. Currently, the entire MySQL database is controlled by Oracle.
The BSD protocol was not monopolized by big companies.
Weak
*unique ' > Key.sql
Generate a separate file for all foreign key statements (this step can be omitted, followed by other methods)Cat Table_new.sql | Egrep ' \-|^\s*constraint ' > Constraint.sql
Remove the key and constraint statements and generate a new file Table_last.sqlCat Table_new.sql | Sed ' s/^\s*key.*$//' | Sed ' s/^\s*constraint.*$//' | Sed ' s/^\s*unique.*$//' | Sed '/^$/d ' > Table_last.sql
Convert line breaksUnix2dos Table_last.sql
In this article, we use the MySQL 4.0.2-alpha and PostgreSQL 7.2 to compare, because MySQL 4.0.2-alpha started to support the concept of transactions, so this comparison for MySQL should be more advantageous. We don't want to be just a performance test report, because at least from my point of view, stability and speed
The content of this article complies with the CC copyright agreement, can be reproduced at will, but must be indicated in the form of Hyperlink original source and author information and copyright statement URL: www.penglixun.comtechdatabasemysql-vs-postgresql-part-1-table-organization.html translated from: blogs. enterprisedb. com20101129my
The content of this article follow the CC copyright agreement, can be reproduced at will, but must be in the fo
From: http://bbs.chinaunix.net/thread-1688208-1-1.html
Features
MySQL
PostgreSQL
Instance
Run the MySQL Command (mysqld) to start the instance. One instance can manage one or more databases. One server can run multiple mysqld instances. An instance manager can monitor various instances of mysqld.
Start the instance by exec
this post was last edited by osdba on 2011-04-21 16:33
Characteristics
Mysql
PostgreSQL
Instance
Launch the instance by executing the MySQL command (MYSQLD). One instance can manage one or more databases. A single server can run multiple mysqld instances. An instance manager ca
Since the introduction of the relational database model by edugatd in 1970, relational databases began to emerge. After more than 40 years of evolution, today's relational databases have a wide variety of features and are widely used. In the face of so many relational databases, how should we weigh and find a database system suitable for our own application scenarios? O.S. tezer recently published a blog post on DigitalOcean, comparing SQLite, MySQL,
In this article, we use the MySQL 4.0.2-alpha to compare with PostgreSQL 7.2, because the MySQL 4.0.2-alpha begins to support the concept of the transaction, so this comparison is more advantageous for MySQL.
We don't want to be just a performance test report, because at least from my point of view, stability and speed
Mysql|oracle
This is my comparison's installing and getting started with Oracle 10g, PostgreSQL 8 and MySQL 5. This is what I consider the comparison of the ' art for three categories to db:commercial vs. Academe vs. Internet Model. This is a comparison from the view of a new user wanting to install a database to learn. I ' m trying to keep the viewpoint of a hom
I collected some articles on postgresql to mysql on the Internet. Most of them said that I first exported the SQL script from postgresql, and then manually changed some of the statements in the SQL script to the mysql format, I thought that if I was a big data company, I would also manually change the data to
*unique ' > Key.sql
Generate a separate file for all foreign key statements (this step can be omitted, followed by other methods)Cat Table_new.sql | Egrep ' \-|^\s*constraint ' > Constraint.sql
Remove the key and constraint statements and generate a new file Table_last.sqlCat Table_new.sql | Sed ' s/^\s*key.*$//' | Sed ' s/^\s*constraint.*$//' | Sed ' s/^\s*unique.*$//' | Sed '/^$/d ' > Table_last.sql
Convert line breaksUnix2dos Table_last.sql
, supports foreign keys, and also supports burst repair capability and concurrency control. If the integrity of things requires a high level of concurrency notification, then choosing the InnoDB storage engine has the advantage. You can also select the storage engine if you need frequent updates, deletions, because the storage engine can implement the commit and rollback of things. (So things are more demanding in real time) (3) Memory storage Engine: Memories Storage Engine provides an "in-the-
Over the past decade, many developers and professionals have compared MySQL with PostgreSQL, most of whom consider the latter to be more superior in performance. The supporters of PostgreSQL argue that its standard support and acid[1] are more than MySQL. MySQL is also popu
If you cannot back up a MySQL or PostgreSQL database every day, you should back up the database once a week. For many enterprises, database information represents the website content and other important data. Therefore, it is very important to maintain data backup. Fortunately, both MySQL and PostgreSQL provide
If you
; "Chu Hong" 2; "Man Yu" 1; "Qingxia"
From the above results, we can see that the results provided by PostgreSQL are what I want. So what are the reasons for this difference? In fact, the answer has been given above. This is mainly because of the differences in verification rules.
The default utf8 validation rule is utf8_general_ci, which is not sorted by Chinese. If you want the results in MySQL to be the
tables in any way. As mentioned above, now it is more practical to use the optimizer instead of querying the largest table type.
Postgresql of version 8. x supports all SQL92 specifications and has almost no limitations. In sequence, I feel that you will see a database that is better than other databases, even in terms of optimization. Hybrid queries will become messy, and the query plan is your good friend when diagnosing functional bottlenecks.
Ind
Top Benefits of PostgreSQL:1. PostgreSQL is completely free and BSD, and it's important that if you change PostgreSQL and then sell it, and nobody cares, it means that the PostgreSQL database will not be manipulated by other companies. Oracle database does not have to be said, is a commercial database, not open. While
MySQL implements the ranking syntax such as Oracle or PostgreSQL row_numberover bitsCN. comPostgreSQL and Oracle both provide statements such as row_number () over () to rank corresponding fields, which is very convenient. MySQL does not provide such a syntax.
Table "ytt. t1" Column | Type | Modifiers -------- + ----------------------- + ----------- I _name | cha
The amount of data will be huge in the future/you cannot predict the size of the data. We recommend that you change to PostgreSQL.
After a certain amount of data is stored in MySQL (generally, the performance of a single MySQL table is the best-, and the performance starts to decline when there are more data), the performance decreases rapidly, and in the case of
Tags: Introducing join state speed buffer Incremental redo log Incremental backup orgOriginal Sticker Address: https://www.oschina.net/translate/showdown-mysql-8-vs-postgresql-10?lang=chspage=2#English Original address: http://rachbelaid.com/introduction-to-postgres-physical-storage/Now that MySQL 8 and PostgreSQL 10 h
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.