[Bug] pgdump/pg_dumpall schema-only - out of memory problem after upgrade from CBDB 2.1.0 to CBDB 2.2.0 found

Đang mở
#2,330 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
43/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
c, postgresql
Lĩnh vực
databases

Hướng nghiên cứu

The failure occurs in pg_dump while reading column information for interesting tables; the payload does not identify a source file or test. Start by tracing that step in the pg_dump code and find how the reported database schema triggers the out-of-memory error. Done means pg_dump -s and pg_dumpall -s complete on the reporter’s DWH database after upgrading from CBDB 2.1.0 to 2.2.0.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

type: Bug
Apache Cloudberry version

PostgreSQL 14.10 (Apache Cloudberry 2.2.0-incubating build dev) on x86_64-pc-linux-gnu, compiled by gcc (Astra 1.8.2)

What happened

Hi,

After upgrade from CBDB 2.1.0 to CBDB 2.2.0 we found pgdump/pg_dumpall schema-only - out of memory problem

Details the next:

gpadmin@qc1:~$ /usr/cloudberry-db/bin/pg_dump -v -s -f /tmp/qwe1.sql --no-blobs ' dbname=dwh'
pg_dump: last built-in OID is 16383
pg_dump: reading extensions
pg_dump: identifying extension members
pg_dump: reading schemas
pg_dump: reading user-defined tables
pg_dump: reading user-defined functions
pg_dump: reading user-defined types
pg_dump: reading procedural languages
pg_dump: reading user-defined aggregate functions
pg_dump: reading user-defined operators
pg_dump: reading user-defined external protocols
pg_dump: reading user-defined access methods
pg_dump: reading user-defined operator classes
pg_dump: reading user-defined operator families
pg_dump: reading user-defined text search parsers
pg_dump: reading user-defined text search templates
pg_dump: reading user-defined text search dictionaries
pg_dump: reading user-defined text search configurations
pg_dump: reading user-defined foreign-data wrappers
pg_dump: reading user-defined foreign servers
pg_dump: reading default privileges
pg_dump: reading user-defined collations
pg_dump: reading user-defined conversions
pg_dump: reading type casts
pg_dump: reading transforms
pg_dump: reading table inheritance information
pg_dump: reading event triggers
pg_dump: finding extension tables
pg_dump: finding inheritance relationships
pg_dump: reading column info for interesting tables
out of memory

What you think should happen instead

No response

How to reproduce

Run pgdump -s or pg_dumpall -s on our database DWH

Operating System

Astra Linux 1.8.2 analog Debian 12

Anything else

No response

Are you willing to submit PR?
  • Yes, I am willing to submit a PR!
Code of Conduct
Ngôn ngữ chính
C
Star
1.4k
Fork
273
Merge trung bình
4 ngày 6 giờ
Pull request đã merge (30 ngày)
105

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của apache/cloudberry

Tất cả issue của apache/cloudberry

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.