Databases Reference
In-Depth Information
SELECT OBJECT_NAME, OBJECT_TYPE, COUNT(*) AS "buffers"
FROM SYS.X$BH XBH, SYS.DBA_OBJECTS OBJ
WHERE XBH.OBJ = OBJ.OBJECT_ID
AND OWNER = 'SH'
GROUP BY OBJECT_TYPE, OBJECT_NAME
ORDER BY OBJECT_TYPE, OBJECT_NAME;
CLEAR COL
14. Clean the database, moving the altered objects in the SH schema to the default
Buffer Cache:
ALTER TABLE SH.CUSTOMERS STORAGE (BUFFER_POOL DEFAULT);
ALTER INDEX SH.CUSTOMERS_YOB_BIX STORAGE
(BUFFER_POOL DEFAULT);
ALTER INDEX SH.CUSTOMERS_PK STORAGE (BUFFER_POOL DEFAULT);
How it works...
In step 2, we show the parameters related to the Buffer Cache. In our database, we
have defined only a Buffer Cache for a 16K database block size, as can be seen in the
following screenshot:
 
Search WWH ::




Custom Search