473,386 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Information about storge engine in PostgreSQL

Hello

MySQL has information about several storage engines. MEMORY to handle
temporary tables, InnoDB to handle transactions and which also can split
its table data over several files/partitions. Splitting of storage is
something which according to the following article, PostgreSQL does not
support:

http://www.devx.com/dbzone/Article/20743

But I cannot verify this due to lack of information. I haven't found any
similar information about the storage engine used by PostgreSQL which I
think is called Postgres.

Do you know of any places where this information can be obtained?
Thank you.
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Nov 23 '05 #1
5 7396
On Thu, Oct 21, 2004 at 04:27:24PM +0200, nd*****@student.hig.se wrote:
Hello

MySQL has information about several storage engines.
I think you will find fairly broad agreement around here that the
idea of different storage engines for different jobs is a bad one.
But to answer your question. . .
its table data over several files/partitions. Splitting of storage is
something which according to the following article, PostgreSQL does not
support:

http://www.devx.com/dbzone/Article/20743
In 8.0 (now in beta) that is false. The feature you're looking for
is called tablespaces.

What PostgreSQL does _not_ have at the moment is the distributed
("multi-master") storage that MySQL is offering. When PostgreSQL
delivers that (it's on my department's TODO list this year, FWIW: Jan
Wieck is working on it), we'll do so without the sorts of (IMHO
dangerous) failure modes that are present in the MySQL offering.
similar information about the storage engine used by PostgreSQL which I
think is called Postgres.
There isn't really a separable "storage engine" in PostgreSQL.
Depending on whom you ask, "Postgres" is either a short form of
PostgreSQL, an ancestor of PostgreSQL, or both.
Do you know of any places where this information can be obtained?


Here :)

A

--
Andrew Sullivan | aj*@crankycanuck.ca
I remember when computers were frustrating because they *did* exactly what
you told them to. That actually seems sort of quaint now.
--J.D. Baldwin

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 23 '05 #2
PostgreSQL uses it's own internal storage engine. It doesn not
support multiple one. As for splitting files accross partitions this
is a feature of version 8.0 called tablespaces.

http://developer.postgresql.org/docs...blespaces.html

Should get you pointed in the right direction.
On Thu, 21 Oct 2004 16:27:24 +0200 (CEST), nd*****@student.hig.se
<nd*****@student.hig.se> wrote:
Hello

MySQL has information about several storage engines. MEMORY to handle
temporary tables, InnoDB to handle transactions and which also can split
its table data over several files/partitions. Splitting of storage is
something which according to the following article, PostgreSQL does not
support:

http://www.devx.com/dbzone/Article/20743

But I cannot verify this due to lack of information. I haven't found any
similar information about the storage engine used by PostgreSQL which I
think is called Postgres.

Do you know of any places where this information can be obtained?

Thank you.

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 23 '05 #3
nd*****@student.hig.se wrote:
Hello

MySQL has information about several storage engines. MEMORY to handle
temporary tables, InnoDB to handle transactions and which also can split
its table data over several files/partitions. Splitting of storage is
something which according to the following article, PostgreSQL does not
support:

http://www.devx.com/dbzone/Article/20743

But I cannot verify this due to lack of information. I haven't found any
similar information about the storage engine used by PostgreSQL which I
think is called Postgres.


PostgreSQL has one and only one storage engine. Unless you intend
working on the source-code of PostgreSQL itself there's no point in
enquiring about its details.

A database is already split over several files, and individual objects
(tables/indexes) may be split into multiple files of 1GB each. You can
spread the load over multiple drives via various RAID setups, symlinks
or, in 8.0 tablespaces.

HTH

PS - treat most articles you read on the web with some caution. Most are
poorly researched by people without the experience to write their topic.
I haven't read the article linked above.

--
Richard Huxton
Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 23 '05 #4
> Splitting of storage is
something which according to the following article, PostgreSQL does not
support:

http://www.devx.com/dbzone/Article/20743

But I cannot verify this due to lack of information. Hm. How about reading the standard PostgreSQL documentation ?
It at least depends on your definition of "Splitting of
storage".
Do you know of any places where this information can be obtained?

My guess would be the docs at the postgresql website.

Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 23 '05 #5
On 10/21/2004 10:27 AM, nd*****@student.hig.se wrote:
Hello

MySQL has information about several storage engines. MEMORY to handle
temporary tables, InnoDB to handle transactions and which also can split
its table data over several files/partitions. Splitting of storage is
something which according to the following article, PostgreSQL does not
support:


For a long time the MySQL documentation was stating that foreign keys
are mainly for documentation purposes and explained why you really
didn't want them and why it was so much better that MySQL swallowed
their syntax silently without any effect. Similarly dangerous opinions
where documented about transactions and ACID features.

Then the InnoDB table handler was added to MySQL and with the new
features, namely transactions and referential integrity, the documented
opinion about these features was changed. But since every other database
had these features for long already, all that was left was now the
capability of having different storage engines, and it became the new
advantage feature to point out.

Right now on their boiler plate is another buzzword compliant table
handler, the NDB cluster storage engine. And while a lot of people are
getting all excited about it, all I really see so far is yet another
table handler that does not provide foreign keys, that does not
integrate with the existing transaction systems ACID properties, and
that has outrageous network and memory requirements. Especially worried
am I about the fact that the responsibility for referential integrity,
that was lifted from the developers shoulders with the InnoDB tables, is
now dropped twice as heavy back into his laps. I don't think that Web
developers who had problems getting integrity constraints implemented in
the application before InnoDB will do this much better in a concurrent
multimaster cluster environment. But I am sure enough PHB's who, free
from every knowledge obstacles, fully believe in marketing speech will
force their developers into that nightmare.

None of all these advanced storage engines was developed by MySQL. They
all got purchased and turned into table handlers. The multiple storage
engine capability of MySQL is the technical base for stapling together
those features, MySQL isn't able to build into the existing system and
has to buy somewhere else.

The PostgreSQL philosophy is a little different. That is why we have
only one, tightly integrated and not very easy to replace storage engine.
Jan

--
#================================================= =====================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================= = Ja******@Yahoo.com #

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Nov 23 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jean-Michel POURE | last post by:
Dear friends, I am currently testing Ulogd ip traffic logging system with PostgreSQL. It works in conjunction with GNU/Linux iptables. The Ulogd project can be found here:...
3
by: Klint Gore | last post by:
Does anyone know of a mailing list for application developers using postgres? It'd probably be more relevant than pgsql-general for my question. Failing that, what do people use to generate...
4
by: Scot L. Harris | last post by:
Currently using Postgresql 7.2.4-5.80 with php 4.2.2.-8.0.8 on a redhat 8.0 system. I am writing some php scripts where I want to generate a list of the column names in a particular table that...
4
by: mike.griffin | last post by:
My name is Mike Griffin and we are adding PostgreSQL support to our product, MyGeneration. MyGeneration pulls meta-data from DBMS systems to generate business objects and stored procedures and...
2
by: Bilicki Vilmos | last post by:
Hi all, I have upgraded my cygwin installation and it has replaced my old 7.3 postgresql. My questions are the following: How can I use the old files with the newer version? If this is not...
5
by: Micha³ Gancarski | last post by:
Hello! How do one unescape strings prepared with pg_escape_string() ? stripslashes() will not work because both these functions are not completely compatible. Thank you all in advance --...
1
by: | last post by:
Hi Database Gurus, Not to start a war among fanatics, but I just wanted to get honest opinion/advise of smart folks like you about this. We are about to begin development for a data intensive web...
5
by: Ted | last post by:
I am working on two versions of an application, one of which will be a windows forms application (which will need to be redistributable) and the other will be a web application. I have MS Visual...
2
by: sabbadin12 | last post by:
Hi, I'm going to work on an application that uses a postgreSQL database so that it can uses SQLServer 2005. I think I solved most problems on the programming side, but I still have some doubts...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.