0

I wanted to check the allocated in-memory size of my oracle database. I tried with the query below, but it is not working

SELECT pool,alloc_bytes,used_bytes,populate_status FROM V$INMEMOTY_AREA;

Error- ORA-00942: table or view does not exist

1 Answer 1

1

That's because you have a typo in the view name. Instead of the word memory you mistyped memoty.

And here's a proof:

Your query

SQL> 
SQL> SELECT pool,alloc_bytes,used_bytes,populate_status FROM V$INMEMOTY_AREA;
SELECT pool,alloc_bytes,used_bytes,populate_status FROM V$INMEMOTY_AREA
                                                        *
ERROR at line 1:
ORA-00942: table or view does not exist

SQL> 

My query

SQL> 
SQL> SELECT pool,alloc_bytes,used_bytes,populate_status FROM V$INMEMORY_AREA;

POOL                                                                           ALLOC_BYTES USED_BYTES POPULATE_STATUS
------------------------------------------------------------------------------ ----------- ---------- ------------------------------------------------------------------------------
1MB POOL                                                                                 0          0 OUT OF MEMORY
64KB POOL                                                                                0          0 OUT OF MEMORY

SQL> 

Enjoy!

Sign up to request clarification or add additional context in comments.

2 Comments

your answer does not give any value to me. you have typed the same query again instead of giving a correct one.
@Dinidu, are you sure? :-) You have "v$inmemoTy_area" in your query, whereas I have "v$inmemoRy_area" in my query. (Please note the bold uppercase letters in this comment.) Read my answer once again and more thoroughly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.