Пост #129150

     
сохранен 10.11.2019 03:33
  • Редактировать пост
  • Печать
  • Скачать
  • Посты-ответы на этот пост:  # 185109 # 211387 # 275085
  • Посмотреть дерево постов
  • Сравнить с постом
    #  
  • Нумерация строк
  • Подсветка синтаксиса  
Текст поста
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
SELECT COUNT(*) FROM all_domains;
  count
---------
 4285115
(1 row)

DELETE FROM all_domains WHERE id_domains IN (SELECT id_domains  FROM all_domains WHERE real_true = false AND proverka_true = true LIMIT 10000);
(тут для теста ставил 100 записей, они удалились, сколько надо ставить?)
VACUUM ANALYZE;
WARNING:  skipping "pg_statistic" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_foreign_table" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_authid" --- only superuser can vacuum it
WARNING:  skipping "pg_user_mapping" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_subscription" --- only superuser can vacuum it
WARNING:  skipping "pg_largeobject" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_type" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_attribute" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_proc" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_class" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_attrdef" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_constraint" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_inherits" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_index" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_operator" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_opfamily" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_opclass" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_am" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_amop" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_amproc" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_language" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_largeobject_metadata" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_aggregate" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_statistic_ext" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_rewrite" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_trigger" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_event_trigger" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_description" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_cast" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_enum" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_namespace" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_conversion" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_depend" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_database" --- only superuser can vacuum it
WARNING:  skipping "pg_db_role_setting" --- only superuser can vacuum it
WARNING:  skipping "pg_tablespace" --- only superuser can vacuum it
WARNING:  skipping "pg_pltemplate" --- only superuser can vacuum it
WARNING:  skipping "pg_auth_members" --- only superuser can vacuum it
WARNING:  skipping "pg_shdepend" --- only superuser can vacuum it
WARNING:  skipping "pg_shdescription" --- only superuser can vacuum it
WARNING:  skipping "pg_ts_config" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_ts_config_map" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_ts_dict" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_ts_parser" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_ts_template" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_extension" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_foreign_data_wrapper" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_foreign_server" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_policy" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_replication_origin" --- only superuser can vacuum it
WARNING:  skipping "pg_default_acl" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_init_privs" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_seclabel" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_shseclabel" --- only superuser can vacuum it
WARNING:  skipping "pg_collation" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_partitioned_table" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_range" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_transform" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_sequence" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_publication" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_publication_rel" --- only superuser or database owner can vacuum it
WARNING:  skipping "pg_subscription_rel" --- only superuser or database owner can vacuum it
WARNING:  skipping "sql_features" --- only table or database owner can vacuum it
WARNING:  skipping "sql_implementation_info" --- only table or database owner can vacuum it
WARNING:  skipping "sql_languages" --- only table or database owner can vacuum it
WARNING:  skipping "sql_packages" --- only table or database owner can vacuum it
WARNING:  skipping "sql_parts" --- only table or database owner can vacuum it
WARNING:  skipping "sql_sizing" --- only table or database owner can vacuum it
WARNING:  skipping "sql_sizing_profiles" --- only table or database owner can vacuum it
VACUUM
Добавить комментарий
Автор