online_analyze.git
5 years agolet analyze runs with NOWAIT option, it prevents self-deadlock in corner cases
Teodor Sigaev [Fri, 25 Jan 2019 10:54:44 +0000 (13:54 +0300)]
let analyze runs with NOWAIT option, it prevents self-deadlock in corner cases

6 years agoChanged call AllocSetContextCreate in the online_analyze.c
Teodor Sigaev [Tue, 24 Jul 2018 13:31:42 +0000 (16:31 +0300)]
Changed call AllocSetContextCreate in the online_analyze.c
Victor Spirin

6 years agofix forcing online analyze in case of analyze command
Teodor Sigaev [Fri, 15 Jun 2018 13:07:48 +0000 (16:07 +0300)]
fix forcing online analyze in case of analyze command

6 years agoadd assert
Teodor Sigaev [Fri, 15 Jun 2018 12:35:55 +0000 (15:35 +0300)]
add assert

6 years agofix support of v11
Teodor Sigaev [Fri, 15 Jun 2018 12:17:29 +0000 (15:17 +0300)]
fix support of v11

6 years agov11 support
Teodor Sigaev [Thu, 14 Jun 2018 18:05:18 +0000 (21:05 +0300)]
v11 support

7 years agoFix visibility of analyze.
Teodor Sigaev [Fri, 13 Oct 2017 14:17:01 +0000 (17:17 +0300)]
Fix visibility of analyze.
Dmitry Ivanov <d.ivanov@postgrespro.ru>

7 years agoFix crashing on database-wide vacuum/analyze
Teodor Sigaev [Fri, 21 Jul 2017 14:05:28 +0000 (17:05 +0300)]
Fix crashing on database-wide vacuum/analyze

7 years agoFix wrong usage of RegisterXactCallback()
Teodor Sigaev [Wed, 14 Jun 2017 12:22:11 +0000 (15:22 +0300)]
Fix wrong usage of RegisterXactCallback()

7 years agocleanup local hash on drop table command n_tuples_limit
Teodor Sigaev [Wed, 10 May 2017 16:09:55 +0000 (19:09 +0300)]
cleanup local hash  on drop table command

7 years agoadd locl_tracking GUC
Teodor Sigaev [Wed, 10 May 2017 15:02:24 +0000 (18:02 +0300)]
add locl_tracking GUC

7 years agoadd support for vacuum/analyze
Teodor Sigaev [Thu, 20 Apr 2017 14:05:04 +0000 (17:05 +0300)]
add support for vacuum/analyze

7 years agoturn off reread flag in case of truncation
Teodor Sigaev [Thu, 13 Apr 2017 15:21:22 +0000 (18:21 +0300)]
turn off reread flag in case of truncation

7 years agoimprove support for fasttruncate
Teodor Sigaev [Tue, 11 Apr 2017 12:16:50 +0000 (15:16 +0300)]
improve support for fasttruncate

7 years agoMerge branch 'n_tuples_limit' of ssh://hook.sigaev.ru/spool/git/online_analyze into...
Teodor Sigaev [Mon, 10 Apr 2017 16:30:36 +0000 (19:30 +0300)]
Merge branch 'n_tuples_limit' of ssh://hook.sigaev.ru/spool/git/online_analyze into n_tuples_limit

7 years agoadd working with fasttruncate
Teodor Sigaev [Mon, 10 Apr 2017 16:25:59 +0000 (19:25 +0300)]
add working with fasttruncate

7 years agofix accounting of n tpules after truncate, athough it should not affect anything
Teodor Sigaev [Mon, 10 Apr 2017 16:25:59 +0000 (19:25 +0300)]
fix accounting of n tpules after truncate, athough it should not affect anything

7 years agoreduce stat rereads
Teodor Sigaev [Fri, 7 Apr 2017 14:20:25 +0000 (17:20 +0300)]
reduce stat rereads

7 years agoMerge branch 'local_hash' into n_tuples_limit
Teodor Sigaev [Fri, 7 Apr 2017 14:13:37 +0000 (17:13 +0300)]
Merge branch 'local_hash' into n_tuples_limit

7 years agotry to optimize reread stat
Teodor Sigaev [Fri, 7 Apr 2017 14:10:56 +0000 (17:10 +0300)]
try to optimize reread stat

7 years agocheck online_analyze.enable for create table as
Teodor Sigaev [Wed, 5 Apr 2017 15:44:08 +0000 (18:44 +0300)]
check online_analyze.enable for create table as

7 years agosupport pgsql 10
Teodor Sigaev [Wed, 5 Apr 2017 15:39:41 +0000 (18:39 +0300)]
support pgsql 10

7 years agoadd online_analyze.lower_limit, use int64 to count changes rows
Teodor Sigaev [Fri, 3 Feb 2017 14:39:08 +0000 (17:39 +0300)]
add online_analyze.lower_limit, use int64 to count changes rows

8 years agofix compile with pg < 9.6, fix memory context allocation local_hash
Teodor Sigaev [Thu, 24 Nov 2016 09:04:21 +0000 (12:04 +0300)]
fix compile with pg < 9.6, fix memory context allocation

8 years agodo not sore permanent table in local cache and add limit for table cache
Teodor Sigaev [Thu, 10 Nov 2016 16:36:48 +0000 (19:36 +0300)]
do not sore permanent table in local cache and add limit for table cache

8 years agoUse local cache for tracking changes to reduce reading file
Teodor Sigaev [Wed, 9 Nov 2016 17:01:17 +0000 (20:01 +0300)]
Use local cache for tracking changes to reduce reading file

8 years agoDo not miss relkind check
Teodor Sigaev [Tue, 18 Oct 2016 07:52:20 +0000 (10:52 +0300)]
Do not miss relkind check

8 years agoTry to reduce CPU consumption
Teodor Sigaev [Mon, 17 Oct 2016 15:04:03 +0000 (18:04 +0300)]
Try to reduce CPU consumption

1 use only one hash lookup to get Relation
2 move pgstat_fetch_stat_tabentry() to the last check, because
  this call is rather expensive

8 years agocleanup formatting
Teodor Sigaev [Mon, 29 Aug 2016 14:25:16 +0000 (17:25 +0300)]
cleanup formatting

8 years agodistinguish unknown and zero number of affected rows
Teodor Sigaev [Mon, 29 Aug 2016 14:19:14 +0000 (17:19 +0300)]
distinguish unknown and zero number of affected rows

9 years agomakeRangeVar for 9.5
Teodor Sigaev [Tue, 3 Nov 2015 16:32:19 +0000 (19:32 +0300)]
makeRangeVar for 9.5

9 years agoInitial 9.5
Teodor Sigaev [Fri, 18 Sep 2015 15:47:45 +0000 (18:47 +0300)]
Initial 9.5

10 years agosupport 9.4
Teodor Sigaev [Fri, 21 Nov 2014 13:17:08 +0000 (16:17 +0300)]
support 9.4

11 years agofix docs
Teodor Sigaev [Tue, 10 Sep 2013 08:33:45 +0000 (12:33 +0400)]
fix docs

11 years agosupport of 9.3.0
Teodor Sigaev [Tue, 10 Sep 2013 08:31:55 +0000 (12:31 +0400)]
support of 9.3.0

12 years agofix custom variable
Teodor Sigaev [Tue, 25 Sep 2012 13:13:16 +0000 (17:13 +0400)]
fix custom variable

12 years agokeep compiler quiet
Teodor Sigaev [Mon, 17 Sep 2012 15:37:47 +0000 (19:37 +0400)]
keep compiler quiet

12 years agocheck relation type
Teodor Sigaev [Mon, 17 Sep 2012 14:19:41 +0000 (18:19 +0400)]
check relation type

12 years agofix MSVS2010 compile problem
Teodor Sigaev [Mon, 17 Sep 2012 08:37:50 +0000 (12:37 +0400)]
fix MSVS2010 compile problem

12 years agomake beauty
Teodor Sigaev [Thu, 13 Sep 2012 15:45:53 +0000 (19:45 +0400)]
make beauty

12 years agomake work CREATE TABLE AS/SELECT INTO in 9.2.
Teodor Sigaev [Thu, 13 Sep 2012 15:42:13 +0000 (19:42 +0400)]
make work CREATE TABLE AS/SELECT INTO in 9.2.

12 years agomake compile on 9.2, although CREATE TABLE AS/SELECT INTO is not working yet
Teodor Sigaev [Tue, 11 Sep 2012 18:27:38 +0000 (22:27 +0400)]
make compile on 9.2, although CREATE TABLE AS/SELECT INTO is not working yet

12 years agoadd .gitignore
Teodor Sigaev [Wed, 25 Apr 2012 15:00:13 +0000 (19:00 +0400)]
add .gitignore

13 years agofix typos
teodor [Mon, 3 Oct 2011 14:38:32 +0000 (14:38 +0000)]
fix typos

13 years agosupport 9.1
teodor [Mon, 3 Oct 2011 14:31:26 +0000 (14:31 +0000)]
support 9.1

13 years agonew GUC variables
teodor [Mon, 3 Oct 2011 14:22:08 +0000 (14:22 +0000)]
new GUC variables

13 years agoadd copyright
teodor [Thu, 29 Sep 2011 12:32:26 +0000 (12:32 +0000)]
add copyright

13 years agoInitial revision
teodor [Thu, 29 Sep 2011 12:26:25 +0000 (12:26 +0000)]
Initial revision