下载地址:https://get.enterprisedb.com/postgresql/postgresql-11.1-1-windows-x64.exe Installation Directory:D:\Program Files\PostgreSQL\11 Data Directory:D:\data\PostgreSQL\data Please provide a password for the database superuser (postgres). Password:pass
转自:https://pgdash.io/blog/partition-postgres-11.html PostgreSQL 11, due to be released later this year, comes with a bunch of improvements for the declarative partitioning feature that was introduced in version 10. Here’s a quick look at what’s on th
Download CMake 2.8.2 Download OpenCV 2.4.11 Download Qt 5.4 Highly improtant note: The installation directory should not contain any space or non-English character, otherwise weird error would happen when building. Open CMake 2.8.2, set the source a
PostgreSQL 自动备份,并删除10天前的备份文件. 第一步,创建脚本,命名back.bat文件,可直接点击执行或者CMD执行此批处理命令. @ECHO OFF @setlocal enableextensions @cd /d "%~dp0" ##set PGPASSWORD=password SET PGPATH=D:\postgresql\bin\ SET SVPATH=d:\testbackup\ SET PRJDB=test SET DBUSR=postgres FOR
通常来说,索引可以用于提高查询的速度.通过索引,可以快速访问表中的指定数据,避免了表上的扫描.有时候,索引不仅仅能够用于定位表中的数据.某些查询可能只需要访问索引的数据,就能够获取所需要的结果,而不需要再次访问表中的数据.这种访问数据的方法叫做 Index-Only 扫描.要想通过索引直接返回查询的数据,创建的索引需要包含 SELECT 列表中的所有字段:CREATE TABLE t1 (a int, b int, c int); INSERT INTO t1 SELECT val, v