Exadata – Flashcache Contents/objectNumber

This is a quick post about a question that I got about the objectNumber in the “list flashcachecontent” output, is it the same as object_id in the dba_objects in the database?

Answer:

No, objectNumber is not the same as object_id in dba_objects, actually it maps to the “data_object_id” not the “object_id”

Example:

Also, the tablespaceNumber is equivalent to TS# in the v$tablespace:

So, it very simple to know if a specific object is in the flashcache or not. You just need to get the data_object_id of this object from dba_objects, then query the flashcashe as follows:

list flashcachecontent where objectNumber=<your_data_object_id>

Donate to support our blogging work

$1.00

Thanks

Ahmed

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s