ITPub博客

首页 > 数据库 > 国内数据库 > 瀚高数据库闪回(APP)

瀚高数据库闪回(APP)

原创 国内数据库 作者:瀚高PG实验室 时间:2021-06-25 16:46:53 0 删除 编辑
环境
系统平台: Microsoft Windows (64-bit) 10
版本: 5.6.5
详细信息

瀚高数据库 data目录下修改

#track_commit_timestamp =off 为 track_commit_timestamp =on

#hg_fbq_retention=0 修改为 hg_fbq_retention= 6000s

建议此处时间设置长点

#hg_fbq_guarantee=off 修改为 hg_fbq_guarantee=off

然后重启数据库

create  table  feedback_test (id  int  , name  varchar ( 20 )) ;

insert  into  feedback_test  values  ( 1 , 'wang' ),( 2 , 'qing' ) ;

delete  from  feedback_test  where  id = 2 ;

select  *  from  feedback_test ;

image.png


select  *  from  feedback_test flashback   between  timestamp  '2020-06-02 17:03:01'  and  '2020-06-02 17:03:59'  where  id = 2 ;

image.png

insert  into  feedback_test 

select  *  from  feedback_test flashback   between  timestamp  '2020-06-02 17:03:01'  and  '2020-06-02 17:03:59'  where  id = 2 ;

select  *  from  feedback_test ;

image.png

更多详细信息请登录【瀚高技术支持平台】查看https://support.highgo.com/#/index/docContent/580373530099563f

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

请登录后发表评论 登录
全部评论
瀚高PG实验室(Highgo PG Lab)依托于瀚高DBA运维团队及瀚高数据库PG内核研发团队,旨在深入研究PostgreSQL技术、使用技巧、内核探秘、PG教学等,并进行分享。欢迎大家关注、交流。

注册时间:2021-02-18

  • 博文量
    184
  • 访问量
    126090