summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorPavan Deolasee2017-08-02 06:52:14 +0000
committerPavan Deolasee2017-08-02 06:52:14 +0000
commitabee5fd1ac0a3156d82a926000cd0ad792ad2144 (patch)
treec85f93b3dbd02b1dd12898301b10ae9f86c93bf7 /doc/src
parent06130a5602ed83ab7b450e46b10173c926b241b5 (diff)
Make temporary tables use shared storage on datanodes
Since a temporary table may be accessed by multiple backends on a datanode, XL mostly treats such tables as regular tables. But the technique that was used to distingush between temporary tables that may need shared storage vs those which are accessed only by a single backend, wasn't very full proof. We were relying on global session activation to make that distinction. This clearly fails when a background process, such as autovacuuum process, tries to figure out whether a table is using local or shared storage. This was leading to various problems, such as, when the underlying file system objects for the table were getting cleaned up, but without first discarding all references to the table from the shared buffers. We now make all temp tables to use shared storage on the datanodes and thus simplify things. Only EXECUTE DIRECT anyways does not set up global session, so I don't think this will have any meaningful impact on the performance. This should fix the checkpoint failures during regression tests.
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions