Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
3c461c83
Commit
3c461c83
authored
Apr 23, 1997
by
Vadim B. Mikheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Analyze data only if specified and specified attrs only.
parent
2fac94ec
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
230 additions
and
132 deletions
+230
-132
src/backend/commands/vacuum.c
src/backend/commands/vacuum.c
+225
-128
src/include/commands/vacuum.h
src/include/commands/vacuum.h
+5
-4
No files found.
src/backend/commands/vacuum.c
View file @
3c461c83
This diff is collapsed.
Click to expand it.
src/include/commands/vacuum.h
View file @
3c461c83
...
...
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: vacuum.h,v 1.
6 1997/02/07 16:23:57 momjian
Exp $
* $Id: vacuum.h,v 1.
7 1997/04/23 06:28:48 vadim
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -54,7 +54,8 @@ typedef struct {
int16
best_len
,
guess1_len
,
guess2_len
,
max_len
,
min_len
;
int32
best_cnt
,
guess1_cnt
,
guess1_hits
,
guess2_hits
,
null_cnt
,
nonnull_cnt
;
int32
max_cnt
,
min_cnt
;
regproc
cmpeq
,
cmplt
,
cmpgt
,
outfunc
;
func_ptr
f_cmpeq
,
f_cmplt
,
f_cmpgt
;
regproc
outfunc
;
bool
initialized
;
}
VacAttrStats
;
...
...
@@ -72,14 +73,14 @@ typedef struct VRelStats {
Size
min_tlen
;
Size
max_tlen
;
bool
hasindex
;
int
natts
;
int
va_natts
;
/* number of attrs being analyzed */
VacAttrStats
*
vacattrstats
;
}
VRelStats
;
extern
bool
VacuumRunning
;
extern
void
vc_abort
(
void
);
extern
void
vacuum
(
char
*
vacrel
,
bool
verbose
);
extern
void
vacuum
(
char
*
vacrel
,
bool
verbose
,
bool
analyze
,
List
*
va_spec
);
#define ATTNVALS_SCALE 1000000000
/* XXX so it can act as a float4 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment