Re: Specify tablespace for primary key

From: William Robertson <william_at_williamrobertson.net>
Date: Wed, 23 Mar 2016 10:33:16 +0000
Message-Id: <789052E8-8FCA-4D95-A8D1-82A342811CAC_at_williamrobertson.net>



Have a look at the USING INDEX clause.

https://docs.oracle.com/cd/B28359_01/server.111/b28310/indexes003.htm

Personally I think it's more convenient to leave them in the same tablespace, but that's a whole other issue.

William Robertson

Sent from my iPhone

On 23 Mar 2016, at 09:25, John Dunn <JDunn_at_sefas.com> wrote:

When creating a table, can I specify a tablespace for the table and a different tablespace for the index created for the primary key?  

If so, what is the syntax?

I am using Oracle 11G    

John Dunn
Product Consultant
Sefas Innovation Limited.
Tel: + 44 (0) 117 910 0529
www.sefas.com  

P Please consider the environment before printing this email Sefas Innovation Limited,
Floor 3, Whitefriars, Lewins Mead,
Bristol BS1 2NT, UK.
Tel: +44 (0) 117 906 9920  

Registered No: 3769761 England.
Registered Office: One New Street, Wells, Somerset, BA5 2LA, United Kingdom. VAT Registration No: GB 741 5377 32

Unless stated to be non-confidential, this email and any attachments are private and confidential and are for the addressee only. Sefas monitors e-mails to ensure its systems operate effectively and to minimize the risk of viruses. Whilst Sefas has taken reasonable steps to scan this email, it does not accept liability for any virus that may be contained in it.

Internet communications are not 100% secure and as such Sefas is not responsible for their abuse by 3rd parties, nor for any alteration or corruption in transmission.    

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Mar 23 2016 - 11:33:16 CET

Original text of this message