Control flow of a query in PostgreSQL
As of version 9.0.4
Read more…
1. Change the height (number of rows) of a split window
To increase by 10, type command
:res+10
Configuration:
PostgreSQL 9.0.4. memsize/data size = 1/8
Read more…
For those who didn’t know, DBT2 is an implementation of TPCC benchmark. Following is a list of tables and indexes created:
Read more…
A quick take-away message: in version 9.0.4 of Postgresql, every tuple has an overhead of 24 bytes. I think this is mostly the size of OID (object ID).
Read more…
Normally, we think that xlog file is like a circular buffer. We write to the same addresses again and again.
Read more…
Within file “postgresql.conf”, variable “shared_buffers” decides the size of shared buffer used by postgresql.
Read more…
It looks like the following compiling error has something to do pg_class.h
../../../../src/include/catalog/pg_class.h:32: error: expected \u2018)\u2019 before \u2018,\u2019 token
../../../../src/include/catalog/pg_class.h:78: warning: data definition has no type or storage class
../../../../src/include/catalog/pg_class.h:78: warning: type defaults to \u2018int\u2019 in declaration of \u2018FormData_pg_class\u2019
../../../../src/include/catalog/pg_class.h:89: error: expected \u2018=\u2019, \u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019 before \u2018*\u2019 token
First, assume that you know how to debug postgresql on Linux (with gdb) during usual operations, such as the bugs appearing during a specific query processing.
Following is about how to troubleshoot problems that appear during initdb.
Read more…
Recent Comments