Comments (4)
I believe you are reading the comment wrong on #11163 (comment). The comment says either copy the full data directory from mirror or copy full files related to a particular affected table from mirror. It's not saying copy part of data from a file. That's too much unnecessary aspect and no plans. If file on primary can't be trusted just throw it away and see if mirror file is intact and use it. No point try to extract some portion of data from mirror file to fix things.
from gpdb.
Sorry to bother you again. Currently, both the primary and mirror segment have issues reading a certain table. Under these circumstances, I just hope to recover as much data as possible.
Could the operations on AO table files be encapsulated into a library that would be convenient to call?
from gpdb.
recover as much data as possible
Maximum possibility I sense to recover data is from blocks which are before the block with checksum error. As all blocks following it we don't even know where they start can't retrieve anything beyond bad block.
Could the operations on AO table files be encapsulated into a library that would be convenient to call?
I don't understand the requirement. https://github.com/greenplum-db/filedump uses AO headers and can dump similar to heap the metadata portion. You can always build more tools using the header files of AO, unclear why a library is required or will do.
from gpdb.
https://github.com/greenplum-db/filedump uses AO headers and can dump similar to heap the metadata portion
If filedump could parse the data from the AO table file, that would be sufficient to meet the requirements.
Maximum possibility I sense to recover data is from blocks which are before the block with checksum error. As all blocks following it we don't even know where they start can't retrieve anything beyond bad block.
That's enough.
from gpdb.
Related Issues (20)
- installation package not working HOT 2
- Missing additional HashAggregate in query plan HOT 3
- compile plpython3 in an exist greenplum6, error HOT 5
- use plpython3u write gp7 will lock HOT 9
- SplitUpdate set wrong target list reference
- ERROR: set-returning functions are not allowed in CASE in gp7 HOT 2
- External writable table - one target file instead of file per segment
- Find bug "ERROR: token for user id: 10, session: 11 doesn't exist (cdbendpoint.c:942)" when I use PARALLEL RETRIEVE CURSOR HOT 1
- gppkg in version 7 issues HOT 4
- Madlib packaging issue in Greenplum 7 for madlib 2.1.0 rhel8 HOT 2
- REGRESSION: Queries that works in releases prior to 7, fails in 7 HOT 6
- EXCEPT over no columns reports ERROR: unexpected gang size HOT 1
- Maybe we should not cancel unfinished parallel retrieve cursor when retrieve connection exiting? HOT 3
- GPDB7 gp_toolkit.gp_partitions partition_level differs from GPDB6 pg_partitions partition_level HOT 2
- GPDB7 REGRESSION: Removal of appendonly from reloptions, how to tell now that a parent table of a partitioned table was created with appendonly? HOT 7
- GPDB7 REGRESSION: pg_partition_columns "comparable view" in documentation is not comparable HOT 5
- ERROR: variable not found in subplan target list (setrefs.c:2555) HOT 1
- Memory pool is necessary! HOT 3
- The global deadlock detected process of the greenplum master node has abnormal RSS memory usage. HOT 29
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpdb.