Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Database Conspiracy PostgreSQL?
@ 2001-01-20  0:43 Robert M. Riches Jr.
  0 siblings, 0 replies; 4+ messages in thread
From: Robert M. Riches Jr. @ 2001-01-20  0:43 UTC (permalink / raw)
  To: axp-list, jjasen1

> Date: Fri, 19 Jan 2001 18:29:28 -0500
> From: John Jasen <jjasen1@umbc.edu>
>
> On Fri, 19 Jan 2001, James Fowler wrote:
>
> > I have MySQL installed and have been running it fine on my Alpha.  I had
> > to install it from a tar.gz file.  I think that I grabbed it from the
> > mySQL site.  It works fine here.
>
> I hacked apart and put back together the postgreSQL src rpm for
> 7.0/RedHat, and it runs just fine.

I have been trying to install the postgreSQL src rpm from RH7
on my RH6.1 system, and the rebuild dies in the middle:

    chmod 755 blib/arch/auto/Pg/Pg.so
    cp Pg.bs blib/arch/auto/Pg/Pg.bs
    chmod 644 blib/arch/auto/Pg/Pg.bs
    Manifying blib/man3/Pg.3
    make[3]: Leaving directory `/usr/src/redhat/BUILD/postgresql-7.0.2/src/interfaces/perl5'
    /bin/sh: [: too many arguments
    Skipping install of Perl module for lack of permissions.
    To install it, cd into interfaces/perl5, su to become the
    appropriate user, and do 'make install'.
    make[2]: Leaving directory `/usr/src/redhat/BUILD/postgresql-7.0.2/src/interfaces'
    make -C odbc install
    make[2]: Entering directory `/usr/src/redhat/BUILD/postgresql-7.0.2/src/interfaces/odbc'

What needs to be fixed to get it to finish the build?

(In my case, I may need to try to upgrade the whole machine to
RH7 to install the binary rpm, because I need foreign keys, which
reportedly require postgresql version 7.)

Thanks.

Robert Riches
richesr1@inetarena.com

(PS, I was running this as root, so the permissions messages
are bogus.)




^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: Disk Optimization/Defrag for RH6.2?
@ 2001-01-18 16:28 Reinier Bikker
  2001-01-19 22:20 ` Database Conspiracy PostgreSQL? SteveCraft
  0 siblings, 1 reply; 4+ messages in thread
From: Reinier Bikker @ 2001-01-18 16:28 UTC (permalink / raw)
  To: axp-list

On Wed, 17 Jan 2001, Paul Allen wrote:

: The ext2 filesystem is designed to automatically keep the blocks of
: a file near each other.  It will never become fragmented the way a
: Windows disk will unless you defeat the mechanism by setting minfree
: to zero and running the disk near full.  A "fragment" is a subset of
: a filesystem block that is allocated at the very end of a file.  The
: fragmentation percentage reported by fsck is talking about these ends
: of files and does not indicate a performance problem.
:

While all this is so very true, SteveCraft probably meant the
"non-contiguous files %" that fsck reports. That number actually is the
(internal) fragmentation, i.e. the percentage of files that have at least
one jump in their sequence of blocks. As this number says nothing about
how large these jumps are, it doesn't really tell how severe fragmentation
is. Ext2fs tries to avoid jumps, and tries to keep them small if
unavoidable.

This number therefore does not mean the same as the equivalent number a
certain less refined OS from Redmond reports. In practice you shouldn't
worry unless the percentage gets larger than 10 - 15%. You won't notice
fragmentation effects when loading binaries (page by page) to memory in a
multitasking, multiuser environment. You may notice the effects if you
sequentially read large files, though.

Note that, when using the default 1k blocks, having 8192 blocks per group
means that every file larger than 8 MB extends beyond one block group and
will be non-contiguous according to fsck. At home, I have a backup
partition containing large tar.gz's only. It's 100% fragmented ;-)


Reinier.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-01-20  0:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-20  0:43 Database Conspiracy PostgreSQL? Robert M. Riches Jr.
  -- strict thread matches above, loose matches on Subject: below --
2001-01-18 16:28 Disk Optimization/Defrag for RH6.2? Reinier Bikker
2001-01-19 22:20 ` Database Conspiracy PostgreSQL? SteveCraft
2001-01-19 22:42   ` James Fowler
2001-01-19 23:29     ` John Jasen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox