472,799 Members | 1,750 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,799 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 7333
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: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.