Oracle equivalent of information_schema.tables2019 Community Moderator ElectionDifference between SYS.ALL_TAB_COLUMNS and SYS.ALL_TAB_COLS in Oracle 12cGet list of all tables in Oracle?Oracle WITH CLAUSE not working?SQL Server: How to Join to first rowWhat are the options for storing hierarchical data in a relational database?SQL Server SELECT into existing tableUnable to create table oracle?Query running but, view not getting createdSelect into Table from Table2 where column in (Subquer)Error(20,28): PL/SQL: ORA-00942: table or view does not existError in Oracle SQL developer “table or view doesnot exist”

how to copy/paste a formula in Excel absolutely?

How to write ı (i without dot) character in pgf-pie

Bash script should only kill those instances of another script's that it has launched

Should I tell my boss the work he did was worthless

Was Luke Skywalker the leader of the Rebel forces on Hoth?

How can The Temple of Elementary Evil reliably protect itself against kinetic bombardment?

meaning and function of 幸 in "则幸分我一杯羹"

How is the wildcard * interpreted as a command?

How to draw cubes in a 3 dimensional plane

Why doesn't this Google Translate ad use the word "Translation" instead of "Translate"?

What are some noteworthy "mic-drop" moments in math?

List elements digit difference sort

Why does the negative sign arise in this thermodynamic relation?

Plausibility of Mushroom Buildings

Examples of a statistic that is not independent of sample's distribution?

Difference on montgomery curve equation between EFD and RFC7748

How strictly should I take "Candidates must be local"?

Why is computing ridge regression with a Cholesky decomposition much quicker than using SVD?

How do I express some one as a black person?

Intuition behind counterexample of Euler's sum of powers conjecture

Find longest word in a string: are any of these algorithms good?

Is "conspicuously missing" or "conspicuously" the subject of this sentence?

Does a warlock using the Darkness/Devil's Sight combo still have advantage on ranged attacks against a target outside the Darkness?

An alternative proof of an application of Hahn-Banach



Oracle equivalent of information_schema.tables



2019 Community Moderator ElectionDifference between SYS.ALL_TAB_COLUMNS and SYS.ALL_TAB_COLS in Oracle 12cGet list of all tables in Oracle?Oracle WITH CLAUSE not working?SQL Server: How to Join to first rowWhat are the options for storing hierarchical data in a relational database?SQL Server SELECT into existing tableUnable to create table oracle?Query running but, view not getting createdSelect into Table from Table2 where column in (Subquer)Error(20,28): PL/SQL: ORA-00942: table or view does not existError in Oracle SQL developer “table or view doesnot exist”










3















I get a "table or view does not exist" error while I try to execute the query below in Oracle:



SQL QUERY



SELECT table_type,
table_name
FROM information_schema.tables
WHERE table_rows >= 1;


ERROR




ORA-00942: table or view does not exist




How do we query metadata about tables in Oracle?










share|improve this question









New contributor




Arun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • In response to your comments, please look at this question for column data:- stackoverflow.com/questions/26790333/…

    – Lord Peter
    Mar 7 at 8:13















3















I get a "table or view does not exist" error while I try to execute the query below in Oracle:



SQL QUERY



SELECT table_type,
table_name
FROM information_schema.tables
WHERE table_rows >= 1;


ERROR




ORA-00942: table or view does not exist




How do we query metadata about tables in Oracle?










share|improve this question









New contributor




Arun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • In response to your comments, please look at this question for column data:- stackoverflow.com/questions/26790333/…

    – Lord Peter
    Mar 7 at 8:13













3












3








3








I get a "table or view does not exist" error while I try to execute the query below in Oracle:



SQL QUERY



SELECT table_type,
table_name
FROM information_schema.tables
WHERE table_rows >= 1;


ERROR




ORA-00942: table or view does not exist




How do we query metadata about tables in Oracle?










share|improve this question









New contributor




Arun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I get a "table or view does not exist" error while I try to execute the query below in Oracle:



SQL QUERY



SELECT table_type,
table_name
FROM information_schema.tables
WHERE table_rows >= 1;


ERROR




ORA-00942: table or view does not exist




How do we query metadata about tables in Oracle?







sql oracle select data-dictionary






share|improve this question









New contributor




Arun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Arun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited Mar 7 at 12:22









Mureinik

185k22136203




185k22136203






New contributor




Arun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Mar 7 at 6:35









ArunArun

184




184




New contributor




Arun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Arun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Arun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • In response to your comments, please look at this question for column data:- stackoverflow.com/questions/26790333/…

    – Lord Peter
    Mar 7 at 8:13

















  • In response to your comments, please look at this question for column data:- stackoverflow.com/questions/26790333/…

    – Lord Peter
    Mar 7 at 8:13
















In response to your comments, please look at this question for column data:- stackoverflow.com/questions/26790333/…

– Lord Peter
Mar 7 at 8:13





In response to your comments, please look at this question for column data:- stackoverflow.com/questions/26790333/…

– Lord Peter
Mar 7 at 8:13












2 Answers
2






active

oldest

votes


















1














Oracle indeed doesn't provide the information_schema views, but has its own data dictionary. You can use all_tables to create a similar query:



SELECT *
FROM all_tables
WHERE num_rows > 1





share|improve this answer























  • Note that NUM_ROWS is populated by gathering table statistics. The accuracy of the results depends on the freshness of the stats.

    – APC
    Mar 7 at 7:36











  • @APC that's true, as, AFAIK, is the case with informatio_schema.tables.table_rows in any reasonable RDBMS.

    – Mureinik
    Mar 7 at 7:38












  • column_name details is not included in all_tables and where will get it?

    – Arun
    Mar 7 at 8:11











  • @Arun from all_tab_columns

    – Mureinik
    Mar 7 at 8:13











  • @Mureinik Thanks..Its Working.

    – Arun
    Mar 7 at 11:29


















0














Closest view in Oracle is all_tables. Here's a detailed list of what each column represents. Pick the columns that are most appropriate to you to the get the details you want.



ALL_TABLES



COLUMN NAME COMMENTS
----------- ----------
OWNER Owner of the table
TABLE_NAME Name of the table
TABLESPACE_NAME Name of the tablespace containing the table
CLUSTER_NAME Name of the cluster, if any, to which the table
belongs
IOT_NAME Name of the index-only table, if any, to which the
overflow or mapping table entry belongs
STATUS Status of the table will be UNUSABLE if a previous
DROP TABLE operation failed,VALID otherwise
PCT_FREE Minimum percentage of free space in a block
PCT_USED Minimum percentage of used space in a block
INI_TRANS Initial number of transactions
MAX_TRANS Maximum number of transactions
INITIAL_EXTENT Size of the initial extent in bytes
NEXT_EXTENT Size of secondary extents in bytes
MIN_EXTENTS Minimum number of extents allowed in the segment
MAX_EXTENTS Maximum number of extents allowed in the segment
PCT_INCREASE Percentage increase in extent size
FREELISTS Number of process freelists allocated in this
segment
FREELIST_GROUPS Number of freelist groups allocated in this
segment
LOGGING Logging attribute
BACKED_UP Has table been backed up since last modification?
NUM_ROWS The number of rows in the table
BLOCKS The number of used blocks in the table
EMPTY_BLOCKS The number of empty (never used) blocks in the
table
AVG_SPACE The average available free space in the table
CHAIN_CNT The number of chained rows in the table
AVG_ROW_LEN The average row length, including row overhead
AVG_SPACE_FREELIST_BLOC The average freespace of all blocks on a freelist
NUM_FREELIST_BLOCKS The number of blocks on the freelist
DEGREE The number of threads per instance for scanning
the table
INSTANCES The number of instances across which the table is
to be scanned
CACHE Whether the table is to be cached in the buffer
cache
TABLE_LOCK Whether table locking is enabled or disabled
SAMPLE_SIZE The sample size used in analyzing this table
LAST_ANALYZED The date of the most recent time this table was
analyzed
PARTITIONED Is this table partitioned? YES or NO
IOT_TYPE If index-only table, then IOT_TYPE is IOT or
IOT_OVERFLOW or IOT_MAPPING else NULL
TEMPORARY Can the current session only see data that it
place in this object itself?
SECONDARY Is this table object created as part of icreate
for domain indexes?
NESTED Is the table a nested table?
BUFFER_POOL The default buffer pool to be used for table
blocks
FLASH_CACHE The default flash cache hint to be used for table
blocks
CELL_FLASH_CACHE The default cell flash cache hint to be used for
table blocks
ROW_MOVEMENT Whether partitioned row movement is enabled or
disabled
GLOBAL_STATS Are the statistics calculated without merging
underlying partitions?
USER_STATS Were the statistics entered directly by the user?
DURATION If temporary table, then duration is sys$session
or sys$transaction else NULL
SKIP_CORRUPT Whether skip corrupt blocks is enabled or disabled
MONITORING Should we keep track of the amount of
modification?
CLUSTER_OWNER Owner of the cluster, if any, to which the table
belongs
DEPENDENCIES Should we keep track of row level dependencies?
COMPRESSION Whether table compression is enabled or not
COMPRESS_FOR Compress what kind of operations
DROPPED Whether table is dropped and is in Recycle Bin
READ_ONLY Whether table is read only or not
SEGMENT_CREATED Whether the table segment is created or not
RESULT_CACHE The result cache mode annotation for the table
CLUSTERING Whether table has clustering clause or not
ACTIVITY_TRACKING ILM activity tracking mode
DML_TIMESTAMP ILM row modification or creation timestamp
tracking mode
HAS_IDENTITY Whether the table has an identity column
CONTAINER_DATA An indicator of whether the table contains
Container-specific data
INMEMORY Whether in-memory is enabled or not
INMEMORY_PRIORITY User defined priority in which in-memory column
store object is loaded
INMEMORY_DISTRIBUTE How the in-memory columnar store object is
distributed


For table_rows, although num_rows is the closest equivalent, it does not always provide you with accurate details unless table statistics are gathered regularly. It's always preferable to use select count(*) in most cases.






share|improve this answer

























  • Thanks.. one more query , .ALL_TABLES is not included COLUMN_NAME details and where will get COLUMN_NAME details?

    – Arun
    Mar 7 at 8:07











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






Arun is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55037468%2foracle-equivalent-of-information-schema-tables%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














Oracle indeed doesn't provide the information_schema views, but has its own data dictionary. You can use all_tables to create a similar query:



SELECT *
FROM all_tables
WHERE num_rows > 1





share|improve this answer























  • Note that NUM_ROWS is populated by gathering table statistics. The accuracy of the results depends on the freshness of the stats.

    – APC
    Mar 7 at 7:36











  • @APC that's true, as, AFAIK, is the case with informatio_schema.tables.table_rows in any reasonable RDBMS.

    – Mureinik
    Mar 7 at 7:38












  • column_name details is not included in all_tables and where will get it?

    – Arun
    Mar 7 at 8:11











  • @Arun from all_tab_columns

    – Mureinik
    Mar 7 at 8:13











  • @Mureinik Thanks..Its Working.

    – Arun
    Mar 7 at 11:29















1














Oracle indeed doesn't provide the information_schema views, but has its own data dictionary. You can use all_tables to create a similar query:



SELECT *
FROM all_tables
WHERE num_rows > 1





share|improve this answer























  • Note that NUM_ROWS is populated by gathering table statistics. The accuracy of the results depends on the freshness of the stats.

    – APC
    Mar 7 at 7:36











  • @APC that's true, as, AFAIK, is the case with informatio_schema.tables.table_rows in any reasonable RDBMS.

    – Mureinik
    Mar 7 at 7:38












  • column_name details is not included in all_tables and where will get it?

    – Arun
    Mar 7 at 8:11











  • @Arun from all_tab_columns

    – Mureinik
    Mar 7 at 8:13











  • @Mureinik Thanks..Its Working.

    – Arun
    Mar 7 at 11:29













1












1








1







Oracle indeed doesn't provide the information_schema views, but has its own data dictionary. You can use all_tables to create a similar query:



SELECT *
FROM all_tables
WHERE num_rows > 1





share|improve this answer













Oracle indeed doesn't provide the information_schema views, but has its own data dictionary. You can use all_tables to create a similar query:



SELECT *
FROM all_tables
WHERE num_rows > 1






share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 7 at 6:39









MureinikMureinik

185k22136203




185k22136203












  • Note that NUM_ROWS is populated by gathering table statistics. The accuracy of the results depends on the freshness of the stats.

    – APC
    Mar 7 at 7:36











  • @APC that's true, as, AFAIK, is the case with informatio_schema.tables.table_rows in any reasonable RDBMS.

    – Mureinik
    Mar 7 at 7:38












  • column_name details is not included in all_tables and where will get it?

    – Arun
    Mar 7 at 8:11











  • @Arun from all_tab_columns

    – Mureinik
    Mar 7 at 8:13











  • @Mureinik Thanks..Its Working.

    – Arun
    Mar 7 at 11:29

















  • Note that NUM_ROWS is populated by gathering table statistics. The accuracy of the results depends on the freshness of the stats.

    – APC
    Mar 7 at 7:36











  • @APC that's true, as, AFAIK, is the case with informatio_schema.tables.table_rows in any reasonable RDBMS.

    – Mureinik
    Mar 7 at 7:38












  • column_name details is not included in all_tables and where will get it?

    – Arun
    Mar 7 at 8:11











  • @Arun from all_tab_columns

    – Mureinik
    Mar 7 at 8:13











  • @Mureinik Thanks..Its Working.

    – Arun
    Mar 7 at 11:29
















Note that NUM_ROWS is populated by gathering table statistics. The accuracy of the results depends on the freshness of the stats.

– APC
Mar 7 at 7:36





Note that NUM_ROWS is populated by gathering table statistics. The accuracy of the results depends on the freshness of the stats.

– APC
Mar 7 at 7:36













@APC that's true, as, AFAIK, is the case with informatio_schema.tables.table_rows in any reasonable RDBMS.

– Mureinik
Mar 7 at 7:38






@APC that's true, as, AFAIK, is the case with informatio_schema.tables.table_rows in any reasonable RDBMS.

– Mureinik
Mar 7 at 7:38














column_name details is not included in all_tables and where will get it?

– Arun
Mar 7 at 8:11





column_name details is not included in all_tables and where will get it?

– Arun
Mar 7 at 8:11













@Arun from all_tab_columns

– Mureinik
Mar 7 at 8:13





@Arun from all_tab_columns

– Mureinik
Mar 7 at 8:13













@Mureinik Thanks..Its Working.

– Arun
Mar 7 at 11:29





@Mureinik Thanks..Its Working.

– Arun
Mar 7 at 11:29













0














Closest view in Oracle is all_tables. Here's a detailed list of what each column represents. Pick the columns that are most appropriate to you to the get the details you want.



ALL_TABLES



COLUMN NAME COMMENTS
----------- ----------
OWNER Owner of the table
TABLE_NAME Name of the table
TABLESPACE_NAME Name of the tablespace containing the table
CLUSTER_NAME Name of the cluster, if any, to which the table
belongs
IOT_NAME Name of the index-only table, if any, to which the
overflow or mapping table entry belongs
STATUS Status of the table will be UNUSABLE if a previous
DROP TABLE operation failed,VALID otherwise
PCT_FREE Minimum percentage of free space in a block
PCT_USED Minimum percentage of used space in a block
INI_TRANS Initial number of transactions
MAX_TRANS Maximum number of transactions
INITIAL_EXTENT Size of the initial extent in bytes
NEXT_EXTENT Size of secondary extents in bytes
MIN_EXTENTS Minimum number of extents allowed in the segment
MAX_EXTENTS Maximum number of extents allowed in the segment
PCT_INCREASE Percentage increase in extent size
FREELISTS Number of process freelists allocated in this
segment
FREELIST_GROUPS Number of freelist groups allocated in this
segment
LOGGING Logging attribute
BACKED_UP Has table been backed up since last modification?
NUM_ROWS The number of rows in the table
BLOCKS The number of used blocks in the table
EMPTY_BLOCKS The number of empty (never used) blocks in the
table
AVG_SPACE The average available free space in the table
CHAIN_CNT The number of chained rows in the table
AVG_ROW_LEN The average row length, including row overhead
AVG_SPACE_FREELIST_BLOC The average freespace of all blocks on a freelist
NUM_FREELIST_BLOCKS The number of blocks on the freelist
DEGREE The number of threads per instance for scanning
the table
INSTANCES The number of instances across which the table is
to be scanned
CACHE Whether the table is to be cached in the buffer
cache
TABLE_LOCK Whether table locking is enabled or disabled
SAMPLE_SIZE The sample size used in analyzing this table
LAST_ANALYZED The date of the most recent time this table was
analyzed
PARTITIONED Is this table partitioned? YES or NO
IOT_TYPE If index-only table, then IOT_TYPE is IOT or
IOT_OVERFLOW or IOT_MAPPING else NULL
TEMPORARY Can the current session only see data that it
place in this object itself?
SECONDARY Is this table object created as part of icreate
for domain indexes?
NESTED Is the table a nested table?
BUFFER_POOL The default buffer pool to be used for table
blocks
FLASH_CACHE The default flash cache hint to be used for table
blocks
CELL_FLASH_CACHE The default cell flash cache hint to be used for
table blocks
ROW_MOVEMENT Whether partitioned row movement is enabled or
disabled
GLOBAL_STATS Are the statistics calculated without merging
underlying partitions?
USER_STATS Were the statistics entered directly by the user?
DURATION If temporary table, then duration is sys$session
or sys$transaction else NULL
SKIP_CORRUPT Whether skip corrupt blocks is enabled or disabled
MONITORING Should we keep track of the amount of
modification?
CLUSTER_OWNER Owner of the cluster, if any, to which the table
belongs
DEPENDENCIES Should we keep track of row level dependencies?
COMPRESSION Whether table compression is enabled or not
COMPRESS_FOR Compress what kind of operations
DROPPED Whether table is dropped and is in Recycle Bin
READ_ONLY Whether table is read only or not
SEGMENT_CREATED Whether the table segment is created or not
RESULT_CACHE The result cache mode annotation for the table
CLUSTERING Whether table has clustering clause or not
ACTIVITY_TRACKING ILM activity tracking mode
DML_TIMESTAMP ILM row modification or creation timestamp
tracking mode
HAS_IDENTITY Whether the table has an identity column
CONTAINER_DATA An indicator of whether the table contains
Container-specific data
INMEMORY Whether in-memory is enabled or not
INMEMORY_PRIORITY User defined priority in which in-memory column
store object is loaded
INMEMORY_DISTRIBUTE How the in-memory columnar store object is
distributed


For table_rows, although num_rows is the closest equivalent, it does not always provide you with accurate details unless table statistics are gathered regularly. It's always preferable to use select count(*) in most cases.






share|improve this answer

























  • Thanks.. one more query , .ALL_TABLES is not included COLUMN_NAME details and where will get COLUMN_NAME details?

    – Arun
    Mar 7 at 8:07
















0














Closest view in Oracle is all_tables. Here's a detailed list of what each column represents. Pick the columns that are most appropriate to you to the get the details you want.



ALL_TABLES



COLUMN NAME COMMENTS
----------- ----------
OWNER Owner of the table
TABLE_NAME Name of the table
TABLESPACE_NAME Name of the tablespace containing the table
CLUSTER_NAME Name of the cluster, if any, to which the table
belongs
IOT_NAME Name of the index-only table, if any, to which the
overflow or mapping table entry belongs
STATUS Status of the table will be UNUSABLE if a previous
DROP TABLE operation failed,VALID otherwise
PCT_FREE Minimum percentage of free space in a block
PCT_USED Minimum percentage of used space in a block
INI_TRANS Initial number of transactions
MAX_TRANS Maximum number of transactions
INITIAL_EXTENT Size of the initial extent in bytes
NEXT_EXTENT Size of secondary extents in bytes
MIN_EXTENTS Minimum number of extents allowed in the segment
MAX_EXTENTS Maximum number of extents allowed in the segment
PCT_INCREASE Percentage increase in extent size
FREELISTS Number of process freelists allocated in this
segment
FREELIST_GROUPS Number of freelist groups allocated in this
segment
LOGGING Logging attribute
BACKED_UP Has table been backed up since last modification?
NUM_ROWS The number of rows in the table
BLOCKS The number of used blocks in the table
EMPTY_BLOCKS The number of empty (never used) blocks in the
table
AVG_SPACE The average available free space in the table
CHAIN_CNT The number of chained rows in the table
AVG_ROW_LEN The average row length, including row overhead
AVG_SPACE_FREELIST_BLOC The average freespace of all blocks on a freelist
NUM_FREELIST_BLOCKS The number of blocks on the freelist
DEGREE The number of threads per instance for scanning
the table
INSTANCES The number of instances across which the table is
to be scanned
CACHE Whether the table is to be cached in the buffer
cache
TABLE_LOCK Whether table locking is enabled or disabled
SAMPLE_SIZE The sample size used in analyzing this table
LAST_ANALYZED The date of the most recent time this table was
analyzed
PARTITIONED Is this table partitioned? YES or NO
IOT_TYPE If index-only table, then IOT_TYPE is IOT or
IOT_OVERFLOW or IOT_MAPPING else NULL
TEMPORARY Can the current session only see data that it
place in this object itself?
SECONDARY Is this table object created as part of icreate
for domain indexes?
NESTED Is the table a nested table?
BUFFER_POOL The default buffer pool to be used for table
blocks
FLASH_CACHE The default flash cache hint to be used for table
blocks
CELL_FLASH_CACHE The default cell flash cache hint to be used for
table blocks
ROW_MOVEMENT Whether partitioned row movement is enabled or
disabled
GLOBAL_STATS Are the statistics calculated without merging
underlying partitions?
USER_STATS Were the statistics entered directly by the user?
DURATION If temporary table, then duration is sys$session
or sys$transaction else NULL
SKIP_CORRUPT Whether skip corrupt blocks is enabled or disabled
MONITORING Should we keep track of the amount of
modification?
CLUSTER_OWNER Owner of the cluster, if any, to which the table
belongs
DEPENDENCIES Should we keep track of row level dependencies?
COMPRESSION Whether table compression is enabled or not
COMPRESS_FOR Compress what kind of operations
DROPPED Whether table is dropped and is in Recycle Bin
READ_ONLY Whether table is read only or not
SEGMENT_CREATED Whether the table segment is created or not
RESULT_CACHE The result cache mode annotation for the table
CLUSTERING Whether table has clustering clause or not
ACTIVITY_TRACKING ILM activity tracking mode
DML_TIMESTAMP ILM row modification or creation timestamp
tracking mode
HAS_IDENTITY Whether the table has an identity column
CONTAINER_DATA An indicator of whether the table contains
Container-specific data
INMEMORY Whether in-memory is enabled or not
INMEMORY_PRIORITY User defined priority in which in-memory column
store object is loaded
INMEMORY_DISTRIBUTE How the in-memory columnar store object is
distributed


For table_rows, although num_rows is the closest equivalent, it does not always provide you with accurate details unless table statistics are gathered regularly. It's always preferable to use select count(*) in most cases.






share|improve this answer

























  • Thanks.. one more query , .ALL_TABLES is not included COLUMN_NAME details and where will get COLUMN_NAME details?

    – Arun
    Mar 7 at 8:07














0












0








0







Closest view in Oracle is all_tables. Here's a detailed list of what each column represents. Pick the columns that are most appropriate to you to the get the details you want.



ALL_TABLES



COLUMN NAME COMMENTS
----------- ----------
OWNER Owner of the table
TABLE_NAME Name of the table
TABLESPACE_NAME Name of the tablespace containing the table
CLUSTER_NAME Name of the cluster, if any, to which the table
belongs
IOT_NAME Name of the index-only table, if any, to which the
overflow or mapping table entry belongs
STATUS Status of the table will be UNUSABLE if a previous
DROP TABLE operation failed,VALID otherwise
PCT_FREE Minimum percentage of free space in a block
PCT_USED Minimum percentage of used space in a block
INI_TRANS Initial number of transactions
MAX_TRANS Maximum number of transactions
INITIAL_EXTENT Size of the initial extent in bytes
NEXT_EXTENT Size of secondary extents in bytes
MIN_EXTENTS Minimum number of extents allowed in the segment
MAX_EXTENTS Maximum number of extents allowed in the segment
PCT_INCREASE Percentage increase in extent size
FREELISTS Number of process freelists allocated in this
segment
FREELIST_GROUPS Number of freelist groups allocated in this
segment
LOGGING Logging attribute
BACKED_UP Has table been backed up since last modification?
NUM_ROWS The number of rows in the table
BLOCKS The number of used blocks in the table
EMPTY_BLOCKS The number of empty (never used) blocks in the
table
AVG_SPACE The average available free space in the table
CHAIN_CNT The number of chained rows in the table
AVG_ROW_LEN The average row length, including row overhead
AVG_SPACE_FREELIST_BLOC The average freespace of all blocks on a freelist
NUM_FREELIST_BLOCKS The number of blocks on the freelist
DEGREE The number of threads per instance for scanning
the table
INSTANCES The number of instances across which the table is
to be scanned
CACHE Whether the table is to be cached in the buffer
cache
TABLE_LOCK Whether table locking is enabled or disabled
SAMPLE_SIZE The sample size used in analyzing this table
LAST_ANALYZED The date of the most recent time this table was
analyzed
PARTITIONED Is this table partitioned? YES or NO
IOT_TYPE If index-only table, then IOT_TYPE is IOT or
IOT_OVERFLOW or IOT_MAPPING else NULL
TEMPORARY Can the current session only see data that it
place in this object itself?
SECONDARY Is this table object created as part of icreate
for domain indexes?
NESTED Is the table a nested table?
BUFFER_POOL The default buffer pool to be used for table
blocks
FLASH_CACHE The default flash cache hint to be used for table
blocks
CELL_FLASH_CACHE The default cell flash cache hint to be used for
table blocks
ROW_MOVEMENT Whether partitioned row movement is enabled or
disabled
GLOBAL_STATS Are the statistics calculated without merging
underlying partitions?
USER_STATS Were the statistics entered directly by the user?
DURATION If temporary table, then duration is sys$session
or sys$transaction else NULL
SKIP_CORRUPT Whether skip corrupt blocks is enabled or disabled
MONITORING Should we keep track of the amount of
modification?
CLUSTER_OWNER Owner of the cluster, if any, to which the table
belongs
DEPENDENCIES Should we keep track of row level dependencies?
COMPRESSION Whether table compression is enabled or not
COMPRESS_FOR Compress what kind of operations
DROPPED Whether table is dropped and is in Recycle Bin
READ_ONLY Whether table is read only or not
SEGMENT_CREATED Whether the table segment is created or not
RESULT_CACHE The result cache mode annotation for the table
CLUSTERING Whether table has clustering clause or not
ACTIVITY_TRACKING ILM activity tracking mode
DML_TIMESTAMP ILM row modification or creation timestamp
tracking mode
HAS_IDENTITY Whether the table has an identity column
CONTAINER_DATA An indicator of whether the table contains
Container-specific data
INMEMORY Whether in-memory is enabled or not
INMEMORY_PRIORITY User defined priority in which in-memory column
store object is loaded
INMEMORY_DISTRIBUTE How the in-memory columnar store object is
distributed


For table_rows, although num_rows is the closest equivalent, it does not always provide you with accurate details unless table statistics are gathered regularly. It's always preferable to use select count(*) in most cases.






share|improve this answer















Closest view in Oracle is all_tables. Here's a detailed list of what each column represents. Pick the columns that are most appropriate to you to the get the details you want.



ALL_TABLES



COLUMN NAME COMMENTS
----------- ----------
OWNER Owner of the table
TABLE_NAME Name of the table
TABLESPACE_NAME Name of the tablespace containing the table
CLUSTER_NAME Name of the cluster, if any, to which the table
belongs
IOT_NAME Name of the index-only table, if any, to which the
overflow or mapping table entry belongs
STATUS Status of the table will be UNUSABLE if a previous
DROP TABLE operation failed,VALID otherwise
PCT_FREE Minimum percentage of free space in a block
PCT_USED Minimum percentage of used space in a block
INI_TRANS Initial number of transactions
MAX_TRANS Maximum number of transactions
INITIAL_EXTENT Size of the initial extent in bytes
NEXT_EXTENT Size of secondary extents in bytes
MIN_EXTENTS Minimum number of extents allowed in the segment
MAX_EXTENTS Maximum number of extents allowed in the segment
PCT_INCREASE Percentage increase in extent size
FREELISTS Number of process freelists allocated in this
segment
FREELIST_GROUPS Number of freelist groups allocated in this
segment
LOGGING Logging attribute
BACKED_UP Has table been backed up since last modification?
NUM_ROWS The number of rows in the table
BLOCKS The number of used blocks in the table
EMPTY_BLOCKS The number of empty (never used) blocks in the
table
AVG_SPACE The average available free space in the table
CHAIN_CNT The number of chained rows in the table
AVG_ROW_LEN The average row length, including row overhead
AVG_SPACE_FREELIST_BLOC The average freespace of all blocks on a freelist
NUM_FREELIST_BLOCKS The number of blocks on the freelist
DEGREE The number of threads per instance for scanning
the table
INSTANCES The number of instances across which the table is
to be scanned
CACHE Whether the table is to be cached in the buffer
cache
TABLE_LOCK Whether table locking is enabled or disabled
SAMPLE_SIZE The sample size used in analyzing this table
LAST_ANALYZED The date of the most recent time this table was
analyzed
PARTITIONED Is this table partitioned? YES or NO
IOT_TYPE If index-only table, then IOT_TYPE is IOT or
IOT_OVERFLOW or IOT_MAPPING else NULL
TEMPORARY Can the current session only see data that it
place in this object itself?
SECONDARY Is this table object created as part of icreate
for domain indexes?
NESTED Is the table a nested table?
BUFFER_POOL The default buffer pool to be used for table
blocks
FLASH_CACHE The default flash cache hint to be used for table
blocks
CELL_FLASH_CACHE The default cell flash cache hint to be used for
table blocks
ROW_MOVEMENT Whether partitioned row movement is enabled or
disabled
GLOBAL_STATS Are the statistics calculated without merging
underlying partitions?
USER_STATS Were the statistics entered directly by the user?
DURATION If temporary table, then duration is sys$session
or sys$transaction else NULL
SKIP_CORRUPT Whether skip corrupt blocks is enabled or disabled
MONITORING Should we keep track of the amount of
modification?
CLUSTER_OWNER Owner of the cluster, if any, to which the table
belongs
DEPENDENCIES Should we keep track of row level dependencies?
COMPRESSION Whether table compression is enabled or not
COMPRESS_FOR Compress what kind of operations
DROPPED Whether table is dropped and is in Recycle Bin
READ_ONLY Whether table is read only or not
SEGMENT_CREATED Whether the table segment is created or not
RESULT_CACHE The result cache mode annotation for the table
CLUSTERING Whether table has clustering clause or not
ACTIVITY_TRACKING ILM activity tracking mode
DML_TIMESTAMP ILM row modification or creation timestamp
tracking mode
HAS_IDENTITY Whether the table has an identity column
CONTAINER_DATA An indicator of whether the table contains
Container-specific data
INMEMORY Whether in-memory is enabled or not
INMEMORY_PRIORITY User defined priority in which in-memory column
store object is loaded
INMEMORY_DISTRIBUTE How the in-memory columnar store object is
distributed


For table_rows, although num_rows is the closest equivalent, it does not always provide you with accurate details unless table statistics are gathered regularly. It's always preferable to use select count(*) in most cases.







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 7 at 8:14









a_horse_with_no_name

303k46463559




303k46463559










answered Mar 7 at 6:46









Kaushik NayakKaushik Nayak

20.3k41332




20.3k41332












  • Thanks.. one more query , .ALL_TABLES is not included COLUMN_NAME details and where will get COLUMN_NAME details?

    – Arun
    Mar 7 at 8:07


















  • Thanks.. one more query , .ALL_TABLES is not included COLUMN_NAME details and where will get COLUMN_NAME details?

    – Arun
    Mar 7 at 8:07

















Thanks.. one more query , .ALL_TABLES is not included COLUMN_NAME details and where will get COLUMN_NAME details?

– Arun
Mar 7 at 8:07






Thanks.. one more query , .ALL_TABLES is not included COLUMN_NAME details and where will get COLUMN_NAME details?

– Arun
Mar 7 at 8:07











Arun is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















Arun is a new contributor. Be nice, and check out our Code of Conduct.












Arun is a new contributor. Be nice, and check out our Code of Conduct.











Arun is a new contributor. Be nice, and check out our Code of Conduct.














Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55037468%2foracle-equivalent-of-information-schema-tables%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived

Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme