Skip to content

Add SHOW STORAGE INFO and SHOW BUILD INFO query methods - #374

Merged
antejavor merged 3 commits into
memgraph:mainfrom
rahuld109:feature/show-info-queries
Dec 16, 2025
Merged

Add SHOW STORAGE INFO and SHOW BUILD INFO query methods#374
antejavor merged 3 commits into
memgraph:mainfrom
rahuld109:feature/show-info-queries

Conversation

@rahuld109

Copy link
Copy Markdown
Contributor

Description

Add get_storage_info() and get_build_info() methods to the Memgraph class for retrieving storage and build information.

Usage:

from gqlalchemy import Memgraph

memgraph = Memgraph()

# Get storage information
storage_info = memgraph.get_storage_info()
# Returns: [{"storage info": "vertex_count", "value": 100}, ...]

# Get build information
build_info = memgraph.get_build_info()
# Returns: [{"build info": "build_type", "value": "Release"}]

Pull request type

  • Feature

Related issues

Closes #254
Closes #255

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Add get_storage_info() and get_build_info() methods to the Memgraph
class for retrieving storage and build information.

- get_storage_info(): Returns storage metrics (vertex_count, edge_count, etc.)
- get_build_info(): Returns build information (build_type)

Closes memgraph#254
Closes memgraph#255
@CLAassistant

CLAassistant commented Dec 14, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@antejavor antejavor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good, let's wait for CI.

@antejavor
antejavor merged commit 78aafd8 into memgraph:main Dec 16, 2025
5 of 6 checks passed
@antejavor antejavor mentioned this pull request Apr 1, 2026
18 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add SHOW BUILD INFO query to query builder Add SHOW STORAGE INFO query to query builder

4 participants