ITPub博客

首页 > 数据库 > PostgreSQL > LightDB不记录WAL日志的表

LightDB不记录WAL日志的表

原创 PostgreSQL 作者:哎呀我的天呐 时间:2022-03-07 18:10:41 0 删除 编辑
lightdb=# create unlogged table unlogged_test (id int);
CREATE TABLE
lightdb=# select pg_relation_filepath('unlogged_test');
 pg_relation_filepath 
----------------------
 base/13583/77186
(1 row)
lightdb=# exit
[lightdb@VM-16-10-centos scripts]$ cd $PGDATA/base/13583/
[lightdb@VM-16-10-centos 13583]$ ls -l | grep 77186
-rw------- 1 lightdb lightdb        0 Mar  5 16:30 77186
-rw------- 1 lightdb lightdb        0 Mar  5 16:30 77186_init


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29990276/viewspace-2865667/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
https://cloud.tencent.com/developer/inventory/14362

注册时间:2014-10-30

  • 博文量
    403
  • 访问量
    2529024