From: | "Joey K(dot)" <pguser(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Fwd: Survey: renaming/removing script binaries (createdb, createuser...) |
Date: | 2008-03-26 16:43:20 |
Message-ID: | 467669b30803260943y12ee43b6v838509526233e58b@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
---------- Forwarded message ----------
From: Joey K. <pguser(at)gmail(dot)com>
Date: Wed, Mar 26, 2008 at 9:42 AM
Subject: Re: [GENERAL] Survey: renaming/removing script binaries (createdb,
createuser...)
To: Zdeněk Kotala <Zdenek(dot)Kotala(at)sun(dot)com>
Please let us know your meaning,
>
> thanks Zdenek Kotala
>
>
> 1) What type of names do you prefer?
> -------------------------------
>
> a) old notation - createdb, createuser ...
> b) new one with pg_ prefix - pg_createdb, pg_creteuser ...
> c) new one with pg prefix - pgcreatedb, pgcreateuser ...
> d) remove them - psql is the solution
> e) remove them - pgadmin is the solution
>
[b]
>
>
> 2) How often do you use these tools?
> -----------------------------------
>
> a) every day (e.g. in my cron)
> b) one per week
> c) one time
> d) never
>
[a]
In cron
from commandline.
in shell scripts
>
> 3) What name of initdb do you prefer?
> ---------- --------------------------
>
> a) initdb
> b) pg_initdb
> c) pg_init
> d) pg_ctl -d <dir> init (replace initdb with pg_ctl new functionality)
> e) What is initdb? My start/stop script does it automatically.
>
[c]
>
> 4) How do you perform VACUUM?
> -----------------------------
>
> a) vacuumdb - shell command
> b) VACUUM - SQL command
> c) autovacuum
> d) What is vacuum?
>
[a], [b] and [c]
Depending on the situation. For example ifcustomers complain, we manually do
cia SQL.
If this is a consistent problem, we usr cron for vacuumdb.
If the database is not too loaded and supports autovacuum, we also have
autovacuum enabled.
We'd like to keep vacuumdb but maybe pg_vacuumdb?
Hope this helps.
Joey
From | Date | Subject | |
---|---|---|---|
Next Message | Scott Marlowe | 2008-03-26 16:50:24 | Re: Timezones in 8.2.7 |
Previous Message | Shane Ambler | 2008-03-26 16:41:04 | Re: How to "use" database? |