Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
None
Description
We can fetch table's metadata using INFORMATION_SCHEMA.TABLES.
Now I want to do something similar for SEQUENCES.
I have been able get list of sequence names using the TABLE_TYPE = SEQUENCE filter in INFORMATION_SCHEMA.TABLES and I can get individual sequence information i.e max_value, min_value etc using
SELECT * FROM sequenceName;
But this creates difficulty since its difficult get all info at once. My present application design needs to get the information in bulk.
Would it be possible to know in which server table is the sequence metadata stored and whether its accessible or not?
Attachments
Issue Links
- relates to
-
MDEV-28152 Features for sequence
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Description |
We can fetch table's metadata using INFORMATION_SCHEMA.TABLES.
Now I want to do something similar for SEQUENCES. I have been able get list of sequence names using the TABLE_TYPE = SEQUENCE filter in INFORMATION_SCHEMA.TABLES and I can get individual sequence information i.e max_value, min_value etc using SELECT * FROM _schemaName_; But this creates difficulty since its difficult get all info at once. My present application design needs to get the information in bulk. Would it be possible to know in which server table is the sequence metadata stored and whether its accessible or not? |
We can fetch table's metadata using INFORMATION_SCHEMA.TABLES.
Now I want to do something similar for SEQUENCES. I have been able get list of sequence names using the TABLE_TYPE = SEQUENCE filter in INFORMATION_SCHEMA.TABLES and I can get individual sequence information i.e max_value, min_value etc using SELECT * FROM _sequenceName_; But this creates difficulty since its difficult get all info at once. My present application design needs to get the information in bulk. Would it be possible to know in which server table is the sequence metadata stored and whether its accessible or not? |
Priority | Minor [ 4 ] | Major [ 3 ] |
Workflow | MariaDB v3 [ 121988 ] | MariaDB v4 [ 131500 ] |
Link |
This issue relates to |
Fix Version/s | N/A [ 14700 ] | |
Resolution | Duplicate [ 3 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Fix Version/s | 11.0 [ 28320 ] | |
Fix Version/s | N/A [ 14700 ] |
Fix Version/s | N/A [ 14700 ] | |
Fix Version/s | 11.0(EOL) [ 28320 ] |
In the standard there is INFORMATION_SCHEMA.SEQUENCES view. We should implement it