postgresql pg_xlog is not strictly a circular buffer
Normally, we think that xlog file is like a circular buffer. We write to the same addresses again and again.
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…
I am interested in where the files (holding the index) are being written, instead of the various indexing algorithms involved in building an index.
Read more…
The contained database is named “test”. It contains only one table, whose schema is
create table tb(f1 int, f2 int);
Suppose your postgresql server runs on machine h1, and you want to connect to it from machine h2. So, within a console of h2, you run the following command
psql -h h1 mydb
So, there are three types: pg_log, pg_clog and pg_xlog
Read more…
Here lists the most basic steps of running DBT2 on PostgreSQL. I have omitted how to configure and compile the source code of DBT2. It should be straightforward.
Read more…
I met this error message when running DBT2 script “./scripts/run_workload.sh” against Postgresql.
Read more…
Recent Comments