Re: PATCH: Split stats file per database WAS: autovacuum stress-testing our system
Tomas Vondra <tv@fuzzy.cz>
From: Tomas Vondra <tv@fuzzy.cz>
To: Jeff Janes <jeff.janes@gmail.com>
Cc: pgsql-hackers@postgresql.org
Date: 2013-02-04T00:49:07Z
Lists: pgsql-hackers
On 3.2.2013 20:46, Jeff Janes wrote: > On Sat, Jan 5, 2013 at 8:03 PM, Tomas Vondra <tv@fuzzy.cz> wrote: >> On 3.1.2013 20:33, Magnus Hagander wrote: >>> >>> Yeah, +1 for a separate directory not in global. >> >> OK, I moved the files from "global/stat" to "stat". > > Why "stat" rather than "pg_stat"? > > The existence of "global" and "base" as exceptions already annoys me. > (Especially when I do a tar -xf in my home directory without > remembering the -C flag). Unless there is some unstated rule behind > what gets a pg_ and what doesn't, I think we should have the "pg_". I don't think there's a clear naming rule. But I think your suggestion makes perfect sense, especially because we have pg_stat_tmp directory. So now we'd have pg_stat and pg_stat_tmp, which is quite elegant. Tomas
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Split pgstat file in smaller pieces
- 187492b6c2e8 9.3.0 cited