Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SchemeShard: limit & consumption metrics #13656

Closed
CyberROFL opened this issue Jan 21, 2025 · 0 comments · Fixed by #13723
Closed

SchemeShard: limit & consumption metrics #13656

CyberROFL opened this issue Jan 21, 2025 · 0 comments · Fixed by #13723
Assignees
Labels
area/core YDB Core issues good first issue Good for newcomers

Comments

@CyberROFL
Copy link
Member

CyberROFL commented Jan 21, 2025

Limits:

struct TSchemeLimits {
// Used for backward compatability in case of old databases without explicit limits
static constexpr ui64 MaxPathsCompat = 200*1000;
static constexpr ui64 MaxObjectsInBackup = 10*1000;
// path
ui64 MaxDepth = 32;
ui64 MaxPaths = MaxObjectsInBackup;
ui64 MaxChildrenInDir = 100*1000;
ui64 MaxAclBytesSize = 10 << 10;
ui64 MaxPathElementLength = 255;
TString ExtraPathSymbolsAllowed = "!\"#$%&'()*+,-.:;<=>?@[\\]^_`{|}~";
// table
ui64 MaxTableColumns = 200;
ui64 MaxColumnTableColumns = 10000;
ui64 MaxTableColumnNameLength = 255;
ui64 MaxTableKeyColumns = 20;
ui64 MaxTableIndices = 20;
ui64 MaxTableCdcStreams = 5;
ui64 MaxShards = 200*1000; // In each database
ui64 MaxShardsInPath = 35*1000; // In each path in database
ui64 MaxConsistentCopyTargets = MaxObjectsInBackup;
// pq group
ui64 MaxPQPartitions = 1000000;
// export & import
ui64 MaxExports = 10;
ui64 MaxImports = 10;
static TSchemeLimits FromProto(const NKikimrScheme::TSchemeLimits& proto);
NKikimrScheme::TSchemeLimits AsProto() const;
};

@CyberROFL CyberROFL added area/core YDB Core issues good first issue Good for newcomers and removed good first issue Good for newcomers labels Jan 21, 2025
@CyberROFL CyberROFL self-assigned this Jan 22, 2025
@CyberROFL CyberROFL linked a pull request Jan 22, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core YDB Core issues good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant