R
R
Roman_ Outside2015-04-14 15:10:28
Oracle
Roman_ Outside, 2015-04-14 15:10:28

How to add a file to a tablespace?

The file space has run out - 31.9 GB. How to register automatic creation of a file on overflow for a table space?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Swartalf, 2015-04-14
@new_Roman

As far as I know, you can only automatically expand the size of the datafile.
If you want to add automatically, you can hang up a job that will check the occupied table space every N hours/minutes and, according to a certain condition, execute
alter system add datafile ...
You can read more here docs.oracle.com/cd/B19306_01/server .102/b14231/dfi...

V
Vapaamies, 2015-04-14
@vapaamies

It is better, if there are no contraindications, to immediately create single-file tablespaces -- bigfile tablespace , leaving hardware load balancing (RAID). The Bigfile tablespace has a 64-bit size field, which gives 2 64 * blocksize per file.
Multifile tablespaces have been in Oracle since the days when hardware RAID was expensive. In new databases, I try not to use them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question