PostgreSQL常用操作合辑:时间日期、系统函数、正则表达式、库表导入导出、元数据查询、自定义函数、常用案例...

〇、参考地址

1、pg官方文档

http://www.postgres.cn/docs/9.6/index.html

2、腾讯云仓pg文档

https://cloud.tencent.com/document/product/878/33571

3、阿里云数据库RDS PostgreSQL 版

https://www.aliyun.com/product/rds/postgresql

一、时间日期操作

1、多种库日期格式化、加减、系统日期、获取一部分、与字符串互转

https://www.cnblogs.com/liujinhui/p/16646113.html

二、系统函数

1、关于字符串的函数

http://t.zoukankan.com/dyaqi-p-15402902.html

2、数组相关的函数

http://www.postgres.cn/docs/12/functions-array.html

3、数组与字符串互转

http://t.zoukankan.com/telwanggs-p-11943716.html

4、pg的各种函数详解(带目录)

https://blog.csdn.net/qq_41780234/article/details/125547734

三、正则表达式

1、pg的模式匹配-like/similar to/POSIX 正则表达式

https://cloud.tencent.com/document/product/878/33579

2、regexp模式匹配-各种匹配详解

https://zhuanlan.zhihu.com/p/352635770

3、pg的like、~、similar to(pgAdmin执行)简单介绍

https://blog.csdn.net/yueludanfeng/article/details/119865058

四、元数据查询与库表导入导出

1、查询元数据与库表导入导出

https://www.cnblogs.com/liujinhui/p/16880860.html

2、pg_dump命令详解

https://blog.csdn.net/qq_41982570/article/details/126287404

3、psql命令详解

https://blog.csdn.net/qq_41982570/article/details/126288102

4、导入导出与压缩各种示例

https://www.cnblogs.com/nhdlb/p/14960000.html

5、数据库导入与导出全流程及参数解释

https://www.cnblogs.com/maxiaohei/p/16252587.html

五、自定义函数

1、函数的输入输出参数

https://pg.sjk66.com/stored-procedure/function-parameter.html

六、常用案例

1、元数据查询有dt字段的表,并更新最大dt为当日

https://www.cnblogs.com/liujinhui/p/16883697.html

2、元数据查询实现表字段加备注【待完成】

https://www.cnblogs.com/liujinhui/p/16732080.html

3、满足特定格式的表及指定日期前的删除

https://www.cnblogs.com/liujinhui/p/16852394.html

4、删除模式下指定天数前的表数据及分区物理表

https://www.cnblogs.com/liujinhui/p/16852389.html

5、元数据查询具有指定模式下包含某字段的表信息

https://www.cnblogs.com/liujinhui/p/16616165.html

6、分区清理方案设计(3、4的综合)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值