404SEC
  • 首页
  • 侵权反馈
  • 侵权反馈
首页 标签 postgres 下的文章
postgresql 自增id

postgresql 自增id

ALTER TABLE public.xxx ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY

 经验开发,基础运维  2022-11-09 AM  次  0条
查询postgres各表的大小

查询postgres各表的大小

如下:select relname as 表名, reltuples as 记录数 from pg_class where relkind = 'r' and relnamespace = (select oid from pg_namespace where nspname='xxxxx') order by 记录数 desc;

 基础运维  2022-05-27 AM  次  0条
查看postgres正在执行的sql|关闭指定查询进程

查看postgres正在执行的sql|关闭指定查询进程

如下:SELECT procpid, START, now() - START AS lap, current_query FROM ( SELECT backendid, pg_stat_get_backend_pid (S.backendid) AS procpid, ...

 基础运维  2022-05-27 AM  次  0条
centos 安装postgres

centos 安装postgres

首先安装对应版本的包:yum install https://download.postgresql.org/pub/repos/yum/13/redhat/rhel-7-x86_64/pgdg-centos10-10-2.noarch.rpm -y yum list | grep postgresql yum install centos-release-scl yum install...

 基础运维  2018-05-15 AM  次  0条

 栏目分类

  •  经验开发42
  •  大数据技术40
  •  基础运维81
  •  系统优化13
  •  架构5
  •  区块链1
  •  漏洞解析24
  •  安全预警35
  •  科技范18
  •  网络安全43

标签云

oracle mysql golang postgresql docker centos CVE解析 linux sql hbase debian vscode postgres Python hive 微软 nginx 远程代码执行 远程命令执行漏洞 提权 exp canal 主键 wkhtmltopdf php cdh GIT openresty 数据泄露 kudu

友情链接申请

404开源仓库 VirusTotal 冀ICP备18039294号-2
Copyright © 404SEC 版权所有·冀ICP备18039294号-2
Powered by Typecho Theme by Echo