01.09.2016 Views

Beginning Oracle Database 11g Administration From Novice to Professional

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

208<br />

CHAPTER 10 MONITORING<br />

Listing 10-6. Using the View <strong>to</strong> Moni<strong>to</strong>r the Size of the <strong>Database</strong><br />

<br />

<br />

<br />

<br />

<br />

You can incorporate the query in Listing 10-6 in<strong>to</strong> a batch report with the SQL*Plus<br />

command- line <strong>to</strong>ol, or you can execute it interactively with SQL Developer. Alternatively,<br />

as illustrated in Figure 10-1, Enterprise Manager offers a visual representation of space<br />

usage.<br />

Figure 10-1. <strong>Database</strong> size report in Enterprise Manager<br />

Table sizes can be moni<strong>to</strong>red using the view. The query in Listing 10-7<br />

displays table sizes in megabytes; it uses the function <strong>to</strong> limit the list <strong>to</strong> the ten biggest<br />

tables.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!