dbTalk Databases Forums  

PostgreSQL Training

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss PostgreSQL Training in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Jeff Eckermann
 
Posts: n/a

Default Re: PostgreSQL Training - 12-10-2003 , 03:12 PM






Amy,

As a user from a non-techie background, I feel your
pain. In fact, it was limitations in MS Access that
got me using PostgreSQL.

You are seeing one of the downsides of open source
software, which is that learning is self driven to a
large extent. But you can benefit from the fact that
PostgreSQL is highly standards-compliant; any generic
course or materials on SQL or relational databases
will be applicable.

Other features of PostgreSQL have their equivalents
elsewhere. For example, the procedural SQL language
pl/pgsql was modeled on Oracle pl/sql. While pl/pgsql
does not implement many of the features of the Oracle
equivalent, any basic introductory materials on Oracle
pl/sql will get you off to a flying start with
pl/pgsql.

Most popular programming languages have some sort of
interface available, so those languages can be used to
create applications that use PostgreSQL. In fact, MS
Access works well as a front end for PostgreSQL, using
ODBC. Just go to
http://gborg.postgresql.org/project/psqlodbc to find
what you need to get started. And you can easily
migrate your Access database to PostgreSQL using the
Database Migration Wizard that comes with PGAdminII:
http://pgadmin.postgresql.org/pgadmin2/pgadmin2.php

So far as installing and administering PostgreSQL,
your best shot is to use a package. Different types
of packages are available, depending on which
operating system you are using. The packages are set
up to automatically handle most of the installation
and setup for you, with little driving necessary.
That will get you off and running with the least
effort. You will find that default configurations
will be plenty for someone migrating from MS Access:
you can leave the fine points for later.

In other words, don't be put off by the lack of
courses. There are plenty of materials available;
besides the official documentation, there are plenty
of other helpful guides and howtos (look for links on
http://www.postgresql.org), there are a number of good
books, the mailing list archives are full of
searchable discussions of just about any problem you
might encounter, and let's not forget the friendly and
helpful people on these lists!

Comments on other choices: commercial choices will
lead you to much expense, complexity of
administration, and vendor lock in. MySQL: well, just
search the mailing lists for much discussion of the
many shortcomings of that product when it comes to
handling mission critical data.

So, by all means give PostgreSQL at try. It's not as
hard as it looks, and you won't regret it.

HTH,
Jeff


--- Amy Young <Amy_Young (AT) hilton (DOT) com> wrote:
Quote:
Bret,

Thanks for voicing your opinion. I'll second it as
loudly as I can.

I work for a small 5 member team in a major
hospitality corporation.
Our team has a mish mash of responsibilities (help
desk, tool design
through MS Excel and MS Access, and corporate
reporting). We are just
pushing the limits of MS Access capabilities with
the amount of data we
are getting pushed to us for our corporate
reporting. The amount of
data is only going to grow and we realize we NEED to
move to a SQL
server of some kind. Cost containment is a huge
factor, so the
free-ware aspect of PostgresQL is extremely
enticing. However, only 1
person on our team has ANY experience with SQL
servers and none with
PostgreSQL. We originally started investigating
MySQL, but found it to
be slower than the convoluted work around we've
developed in MS Access.
Further investigation revealed that it may be due to
how we had the
server set up. Then, someone suggestions
PostgreSQL.

I have been reading what I can, and while I
understand some of the
concepts, and I am still mostly floundering my way
through "Greek". I
need a strong foundation in the basics. I had found
the MySQL class and
have added that to my goals for next year. However,
it will take some
strong arguments to convince my superiors to send me
to training for
something that will "sort of" apply to what we are
doing in the office.
So my options are: use MySQL instead or don't go to
training.

In the mean time, I will investigate the "21 day"
book (I have used the
series many times!) and hope the PostgreSQL
community will recognize the
need for some training classes (The certifications
are optional as far
as I'm concerned, though I recognize the power of
certifications since I
used to teach at New Horizons Computer Training
Center. I just want
someone to hold my hand and walk me through the
entire process so I can
learn the lingo. Then, I can figure things out on
my own). And I'll be
asking as many questions on the list server as I
can.

Cheers,

Amy Young
Sr. Revenue Analyst
Memphis, TN

-----Original Message-----
From: pgsql-novice-owner (AT) postgresql (DOT) org
[mailtogsql-novice-owner (AT) postgresql (DOT) org] On Behalf
Of Bret Busby
Sent: Wednesday, December 10, 2003 1:09 AM
To: pgsql-novice (AT) postgresql (DOT) org;
pgsql-general (AT) postgresql (DOT) org
Subject: Re: [NOVICE] PostgreSQL Training


On Tue, 9 Dec 2003, Bryan Encina wrote:

Date: Tue, 9 Dec 2003 15:06:05 -0800
From: Bryan Encina <bryan.encina (AT) valleypres (DOT) org
To: 'Bruce Momjian' <pgman (AT) candle (DOT) pha.pa.us
Cc: pgsql-novice (AT) postgresql (DOT) org
Subject: Re: [NOVICE] PostgreSQL Training



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

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org



Reply With Quote
  #12  
Old   
greg@turnstep.com
 
Posts: n/a

Default Re: Alter Column Position - 12-10-2003 , 09:17 PM







-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


[...]
Quote:
Now, I have to change the position of a column in the DB to match the csv
parser. I have a column in position 28 that I need to move to position 7.

Anyone know how to do that?
Why not preprocess the csv file before uploading it to the DB? Here's a way
to do it in quickly in Perl. 10K rows should be no problem:

$,=',';
while(<F>) {
my @foo = split(/,/ => $_);
splice(@foo,6,0,splice(@foo,27,1));
print @foo;
}

or if your csv is not so simple (e.g. contains escaped commas):

use Text::CSV_XS;
$,=',';
my $csv = Text::CSV_XS->new();
while(<F>) {
die "Cannot parse line $.: " . $csv->error_input . "\n" unless $csv->parse($_);
my @foo = $csv->fields();
print @foo[0..5,27,6..26,28..@foo-1]; ## alternative to split()
print "\n";
}


- --
Greg Sabino Mullane greg (AT) turnstep (DOT) com
PGP Key: 0x14964AC8 200312102158

-----BEGIN PGP SIGNATURE-----

iD8DBQE/1+GVvJuQZxSWSsgRAp33AKCVXqKTU8qfV585DdQw+ThRWVrF7Q CgkC/V
ruF2a1JeWAECM5BGSVbJcSg=
=ZY16
-----END PGP SIGNATURE-----



---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly



Reply With Quote
  #13  
Old   
Frank Way
 
Posts: n/a

Default Re: PostgreSQL Training - 12-11-2003 , 08:08 AM



For what it's worth:

If you can find an old server some place that you can throw a copy of
PostgreSQL on, play with it. Break it. Fix it. Play with it some
more.

As an old education major (who got into this biz quite by accident) I
know that people "learn" differently, and that they often have the best
results by learning via the method that best suits their needs.

But, one advantage of playing with it in the manner I describe is that
you don't get locked into the opinions or prejudices of the person
doing the training.

When faced with the probability of using PostgreSQL in a project, I
followed the "Getting Started" section from the documentation on my
linux box at home. I installed it, played with it, wiped it out and
started again.

A little painful at first, but in my opinion, the dividends were HUGE.

Again, your mileage may vary.

Good luck,
Frank


--- Amy Young <Amy_Young (AT) hilton (DOT) com> wrote:
Quote:
Thanks for everyone's support. I really appreciate it. I will admit
that I learn *best* -- at least in the beginning -- through
structured,
formalized face-to-face training. But, there does appear to be a
community of support here. I haven't started with the basics out of
the
book yet, so I think I'll start there (I'm at the VERY beginning, and
don't want to bog down the list with TOO basic questions). But, rest
assured, I'll be back.

Thanks again,

Amy

-----Original Message----
From: sank89 (AT) sancharnet (DOT) in [mailto:sank89 (AT) sancharnet (DOT) in]
Sent: Wednesday, December 10, 2003 9:18 AM
To: Amy Young
Cc: Bret Busby; pgsql-novice (AT) postgresql (DOT) org;
pgsql-general (AT) postgresql (DOT) org
Subject: Re: [NOVICE] PostgreSQL Training
Importance: High


Dear Amy Young ,

You will get full support from this PostgreSQL community but
before asking question please do add some common things like
My System Configuration is :
OS Blah
GCC compiler More Blah
PostgreSQL server Version Even More Blah
PostgreSQL data path /mydir/myblah/data
And yes If you are using PHP or Perl for data representation
their full details

And then state your full problem / question with steps if
possible

Here we are to help you , am I right guys :-) and Mr.
Bruce are you listening

Regards,
V Kashyap.



Bret,

Thanks for voicing your opinion. I'll second it as
loudly as I can.

I work for a small 5 member team in a major hospitality
corporation.
Our team has a mish mash of responsibilities (help desk,
tool design
through MS Excel and MS Access, and corporate
reporting). We are just
pushing the limits of MS Access capabilities with the
amount of data we
are getting pushed to us for our corporate reporting.
The amount of
data is only going to grow and we realize we NEED to
move to a SQL
server of some kind. Cost containment is a huge factor,
so the
free-ware aspect of PostgresQL is extremely enticing.
However, only 1
person on our team has ANY experience with SQL servers
and none with
PostgreSQL. We originally started investigating MySQL,
but found it to
be slower than the convoluted work around we've
developed in MS Access.
Further investigation revealed that it may be due to how
we had the
server set up. Then, someone suggestions PostgreSQL.

I have been reading what I can, and while I understand
some of the
concepts, and I am still mostly floundering my way
through "Greek". I
need a strong foundation in the basics. I had found the
MySQL class and
have added that to my goals for next year. However, it
will take some
strong arguments to convince my superiors to send me to
training for
something that will "sort of" apply to what we are doing
in the office.
So my options are: use MySQL instead or don't go to
training.

In the mean time, I will investigate the "21 day" book
(I have used the
series many times!) and hope the PostgreSQL community
will recognize the
need for some training classes (The certifications are
optional as far
as I'm concerned, though I recognize the power of
certifications since I
used to teach at New Horizons Computer Training Center.
I just want
someone to hold my hand and walk me through the entire
process so I can
learn the lingo. Then, I can figure things out on my
own). And I'll be
asking as many questions on the list server as I can.

Cheers,

Amy Young
Sr. Revenue Analyst
Memphis, TN

-----Original Message-----
From: pgsql-novice-owner (AT) postgresql (DOT) org
[mailtogsql-novice-owner (AT) postgresql (DOT) org] On Behalf Of
Bret Busby
Sent: Wednesday, December 10, 2003 1:09 AM
To: pgsql-novice (AT) postgresql (DOT) org;
pgsql-general (AT) postgresql (DOT) org
Subject: Re: [NOVICE] PostgreSQL Training


On Tue, 9 Dec 2003, Bryan Encina wrote:



Date: Tue, 9 Dec 2003 15:06:05 -0800
From: Bryan Encina <bryan.encina (AT) valleypres (DOT) org
mailto:bryan.encina (AT) valleypres (DOT) org
To: 'Bruce Momjian' <pgman (AT) candle (DOT) pha.pa.us
mailtogman (AT) candle (DOT) pha.pa.us
Cc: pgsql-novice (AT) postgresql (DOT) org
Subject: Re: [NOVICE] PostgreSQL Training





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

.






=====
Frank Way
E-Mail: fgw_three (AT) yahoo (DOT) com

"Place guards on all the roads and keep the troops
from running to the rear..." MG John Buford, 1863

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.