24.12.2012 Views

Backing Up Oracle - Computing at Cornell

Backing Up Oracle - Computing at Cornell

Backing Up Oracle - Computing at Cornell

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Table A Table B<br />

Tablespace 1<br />

d<strong>at</strong>a file or<br />

directories<br />

on file<br />

systems<br />

Figure 3. Tables, tablespaces, and d<strong>at</strong>a storage<br />

Tablespaces are simply logical concepts utilized by RDBMSs. They provide a<br />

convenient way of separ<strong>at</strong>ing the user's view of d<strong>at</strong>a from some of the<br />

practical consider<strong>at</strong>ions associ<strong>at</strong>ed with storing th<strong>at</strong> d<strong>at</strong>a on disk. For<br />

example, a d<strong>at</strong>abase administr<strong>at</strong>or can make more disk space available to<br />

several tables by adding disk space to the appropri<strong>at</strong>e tablespace, thus<br />

ensuring th<strong>at</strong> tables do not run out of space and th<strong>at</strong> disk space is used<br />

efficiently. Furthermore, the tablespace concept means th<strong>at</strong> neither users nor<br />

applic<strong>at</strong>ion programs need to be aware of the fact th<strong>at</strong> the d<strong>at</strong>abase<br />

administr<strong>at</strong>or has made more disk space available.<br />

D<strong>at</strong>a storage in tablespaces can be implemented using either d<strong>at</strong>a files or<br />

directories on files systems or raw devices. (For inform<strong>at</strong>ion on file systems<br />

and raw devices, please see your oper<strong>at</strong>ing system document<strong>at</strong>ion.)<br />

Tablespaces provides the link between logical views and d<strong>at</strong>a storage. Here<br />

are some points to note:<br />

The d<strong>at</strong>a for a table or index may be contained in only one d<strong>at</strong>a storage.<br />

Altern<strong>at</strong>ively, the d<strong>at</strong>a for a table or index may be spread over several d<strong>at</strong>a<br />

storage.<br />

Each of the d<strong>at</strong>a storage may contain d<strong>at</strong>a for one or more tables in the<br />

tablespace.<br />

Each d<strong>at</strong>a file or directory may reside in a separ<strong>at</strong>e file system.<br />

The significance of these altern<strong>at</strong>ives is th<strong>at</strong> the only way to back up or<br />

recover individual tables is by using the facilities th<strong>at</strong> the RDBMS provides.<br />

12 <strong>Backing</strong> <strong>Up</strong> <strong>Oracle</strong> using Tivoli Storage Management<br />

Index B<br />

Tablespace 2<br />

raw devices raw devices<br />

D<strong>at</strong>a Storage (Disks)<br />

System<br />

Tables<br />

System<br />

Tablespace<br />

d<strong>at</strong>a file or<br />

directories<br />

on file<br />

systems

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

Saved successfully!

Ooh no, something went wrong!