PK constraint using specific tablespace

How do I create primary key constraint using specific tablespace?
I looked at PK properties in physical model but ‘Tablespace’ option under ‘Using Index’ tab is disabled.
Thanks,
Vikas

Hi Vikas,
The Tablespace property is disabled if the Using Index property on the General Tab of the Primary Key Property dialog is NO.
So you first need to set the Using Index property to the relevant option.
David

Similar Messages

  • Duplicate of Database - Restore of Specific Tablespaces using RMAN

    Hi, is it possible to perform a duplicate of a large database to a point in time (from tape) but only restore specific tablespaces, this database uses partitioned tables for a week of data, each set of partitions have their own tablespace.
    Thanks.

    Use can use the “SKIP TABLESPACE” option of RMAN DUPLICATE to bring only the tablespaces you want.
    Iordan Iotzov
    http://iiotzov.wordpress.com/

  • Email notification doesn't work in a specific tablespace.

    Hello,
    I have a Oracle 10gR2 Version: 10.2.0.5.0. I'm having problems to receive emails notifications in a specific tablespace. I created a Rule Notification for "Tablespace Space Used (%)". I know the rule and metrics are ok. How?
    1)  At another tablespace, I create a specific Threshold for Tablespace Space Used (%) and I set the Warning Threshold to 1%, and Critical Threshold to 2%. After some minutes, I receive an email with the Critical message because the tablespace have a 60% of space used. I do the same test with the other tablespace and no email received.
    2) I have two servers with the same database (only data changes) and in one server its works , not in the other server.
    This is the information for the "bad" tablespace:
    Name
    BAD_TABLESPACE
    Bigfile tablespace
    No
    Status
    ReadWrite
    Type
    Permanent
    Extent Management
    local
    Storage
    Allocation Type
    Automatic
    Segment Space Management
    Automatic
    Enable logging
    Yes
    Block Size (B)
    8192
    It have 45 .dbf datafiles. Almost all of them are 100% full (32GB max)
    Locally Managed, Permanent, Read Write mode. an Logging enabled.
    Any ideas? suggestions or miracles?
    Thanks!

    Then it should do the same in all tablespaces isn't it? Like sb92075 said: "different results occur when something is different.". The only thing different between the tablespaces is the process running on it. I have some process running in my "bad_tablespace" that it load a big amount of data. I detected when I stop all the process, I start again to receive the emails. I can't find information about that.
    Could be possible the high data load of a tablespace might affect to notification emails?

  • How to move a specific tablespace datafile from one directory to another

    Database: 10.2.0.1
    OS : Generic
    Problem Description : How to move a specific tablespace datafile from one directory to another considering that the database is on Oracle Dataguard setup
    ** Oracle is working on this issue, but in parallel is opening the topic to the Community so that Community members can add their perspective, experience or knowledge. This will further enhance all knowledge bases including My Oracle Support and My Oracle Support Communities **
    Edited by: ram_orcl on 16-Aug-2010 21:21

    Dear ram_orcl,
    Please follow the procedures here;
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14239/manage_ps.htm#i1034172
    8.3.4 Renaming a Datafile in the Primary Database
    When you rename one or more datafiles in the primary database, the change is not propagated to the standby database. Therefore, if you want to rename the same datafiles on the standby database, you must manually make the equivalent modifications on the standby database because the modifications are not performed automatically, even if the STANDBY_FILE_MANAGEMENT initialization parameter is set to AUTO.
    The following steps describe how to rename a datafile in the primary database and manually propagate the changes to the standby database.
       1.
          To rename the datafile in the primary database, take the tablespace offline:
          SQL> ALTER TABLESPACE tbs_4 OFFLINE;
       2.
          Exit from the SQL prompt and issue an operating system command, such as the following UNIX mv command, to rename the datafile on the primary system:
          % mv /disk1/oracle/oradata/payroll/tbs_4.dbf
          /disk1/oracle/oradata/payroll/tbs_x.dbf
       3.
          Rename the datafile in the primary database and bring the tablespace back online:
          SQL> ALTER TABLESPACE tbs_4 RENAME DATAFILE      2> '/disk1/oracle/oradata/payroll/tbs_4.dbf'
            3>  TO '/disk1/oracle/oradata/payroll/tbs_x.dbf';
          SQL> ALTER TABLESPACE tbs_4 ONLINE;
       4.
          Connect to the standby database, query the V$ARCHIVED_LOG view to verify all of the archived redo log files are applied, and then stop Redo Apply:
          SQL> SELECT SEQUENCE#,APPLIED FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#;
          SEQUENCE# APP
          8 YES
          9 YES
          10 YES
          11 YES
          4 rows selected.
          SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
       5.
          Shut down the standby database:
          SQL> SHUTDOWN;
       6.
          Rename the datafile at the standby site using an operating system command, such as the UNIX mv command:
          % mv /disk1/oracle/oradata/payroll/tbs_4.dbf /disk1/oracle/oradata/payroll/tbs_x.dbf
       7.
          Start and mount the standby database:
          SQL> STARTUP MOUNT;
       8.
          Rename the datafile in the standby control file. Note that the STANDBY_FILE_MANAGEMENT initialization parameter must be set to MANUAL.
          SQL> ALTER DATABASE RENAME FILE '/disk1/oracle/oradata/payroll/tbs_4.dbf'
            2> TO '/disk1/oracle/oradata/payroll/tbs_x.dbf';
       9.
          On the standby database, restart Redo Apply:
          SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE
            2> DISCONNECT FROM SESSION;
    If you do not rename the corresponding datafile at the standby system, and then try to refresh the standby database control file, the standby database will attempt to use the renamed datafile, but it will not find it. Consequently, you will see error messages similar to the following in the alert log:
    ORA-00283: recovery session canceled due to errors
    ORA-01157: cannot identify/lock datafile 4 - see DBWR trace file
    ORA-01110: datafile 4: '/Disk1/oracle/oradata/payroll/tbs_x.dbf'Hope That Helps.
    Ogan

  • Rollback segments using UNDO Tablespace?

    First, I created a database for a vendor with an Undo Tablespace UNDOTBS. Then the vendor requested me to create rollback segments instead. So I created a new tablespace RBSTBS just to hold these segments. When I tried to create the rollback segment using the newly created tablespace RBSTBS, it complained that I am not allowed to use non-system tablespaces.
    So instead, I used the Undo tablespace UNDOTBS to hold the rollback segment. It worked.
    Am I really allowed to use the UNDO tablespace to hold rollback segments? Can't I use normal tablespaces for rollback segments?
    Another thing, the vendor wanted me to create rollback segments of 200MB each. Where do I set this while creating the rollback segment? Is this the INITIAL, NEXT, or OPTIMAL size?
    I know that Oracle recommends using UNDO rather than rollback segments. Is there any advantage in using traditional rollback segments?
    Thanks for any help!

    Advantage with rollback segment is you can force your transaction to use any specific rollback segment, where as with undo you don't have any control. Oracle does it for us.
    Thanks and Regards,
    Satheesh Babu.S
    Bangalore.

  • JCP4XDOBurstingEngine.java  BURSTING - UNABLE TO USE SPECIFIC FILENAME MORE

    Hello
    I am getting Bursting Issue duplicate entry: /XXXXXX.pdf issue in Oracle XML Publisher, I think I have same issue what is explain in ML#1109893.1 and I am thinking to apply the Patch.
    I NEED to Know the File location and version of JCP4XDOBurstingEngine.java in UNIX
    Can Any body tell me please?
    -------------Issue listed in Meta Link------
    Concurrent Job Getting Java.Util.Zip.Zipexception When Bursting From Xml Publisher Report [ID 1109893.1]
    Bursting code is not allowing to send mail having the same filename in attachment for multiple recipients
    This is due to
    Bug 8937963 - BURSTING - UNABLE TO USE SPECIFIC FILENAME MORE THAN ONCE CAUSING ZIPEXCEPTION
    Thanks
    Ed

    Under Network Adapter -> Advanced Features. I read there
    Enable MAC Address Spoofing (not checked)
    Enable DHCP Guard (not checked)
    Enable router advertisement guard (not checked)
    At all VM states (install, copy, clone, export, import) I never touched the advanced network settings. Only the necessary changes to have networking up (aka attach to the correct, working network switch).
    Also made some extra tests involving attaching / detaching a legacy network adapter (just in case) and checking the MAC Addresses on all VM's (active / inactive).
    Did not figured out a MAC Address issue, all VM's had got their MAC from the pool and were different. Also the MAC address pool between 2 Hyper-V Servers was different (as expected since they have different "real" IP addressee but you never know)

  • I re-set password using specific user ID but when I put new password in it does not say incorrect password  it just spins and spins never accepting it.  What is the problem?

    I re-set password using specific user ID but when I put new password in it does not say incorrect password  it just spins and spins never accepting it.  What is the problem?

    Update on my problem connecting in Itunes with my Airport Express. Not sure if anything I tried made a difference
    but I finally got the Pop up window saying this device requires a Password. I entered the password and I can once again use the Airport Express as a remote speaker.

  • Do I need to use specific printers with Macbook Pro?

    Do I need to use specific printers with Mac?

    Only those that provide compatible printer drivers.
    OS X- Printer and scanner software available for download
    OS X Mavericks- Set up a printer

  • Import to a specific tablespace

    Is there any method to import data to a specific tablespace?
    Scenario
    - have an exported dump of schemaA.tableA from databaseA
    - want to import above table as schemaB.tableB in tablespaceB[b] in databaseB

    well i don't understand your problem but try
    export file from
    Database Schema/User Tablespace Name
    catdb ----------------------->SCOTT---------------------------->MAKE
    above is your export file now you want to import
    orcl1----------------------------->HR-------------------------------------->USERS
    SQL> conn scott/tiger@catdb
    Connected.
    SQL> host exp file=e:\scott.dmp tables=EXPORT
    Export: Release 10.1.0.2.0 - Production on Sun Jan 7 12:00:00 2007
    Copyright (c) 1982, 2004, Oracle.  All rights reserved.
    Username: scott@catdb
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    About to export specified tables via Conventional Path ...
    . . exporting table                         EXPORT          1 rows exported
    Export terminated successfully without warnings.
    SQL> select property_value
      2  from database_properties
      3  where property_name = 'DEFAULT_PERMANENT_TABLESPACE';
    PROPERTY_VALUE
    TEST
    SQL> select username, default_tablespace from dba_users where username = 'HR';
    USERNAME                       DEFAULT_TABLESPACE
    HR                             DENI
    Now database default tablespace is 'USERS' and schema default tablespace is "DENI".
    SQL> host imp hr/hr@orcl1 file=e:\scott.dmp fromuser=scott touser=hr
    Import: Release 10.1.0.2.0 - Production on Sun Jan 7 12:00:45 2007
    Copyright (c) 1982, 2004, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    Export file created by EXPORT:V10.01.00 via conventional path
    Warning: the objects were exported by SCOTT, not by you
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    . . importing table                       "EXPORT"          1 rows imported
    Import terminated successfully without warnings.
    SQL> select segment_name, tablespace_name
      2  from user_segments where segment_name = 'EXPORT';
    SEGMENT_NAME                   TABLESPACE_NAME
    EXPORT                         DENI
    Note : user HR having "RESOURCE" privs. so HR user having unlimited tablespace space on default tablespace.
    and user default tablespace is "DENI".                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Cloning a schema using transportable tablespace in same database?

    In 10g r2, is it possible to clone the schema in same database using transport tablespace?
    sample syntax
    impdp USERID=<TargetConnection> DIRECTORY=NHS_DIR Remap_Schema=TESTA:TESTB
    TRANSPORT_DATAFILES='<TargetDataFile>' DumpFile=<DumpFileName> logfile=<LogFileName>

    >
    In 10g r2, is it possible to clone the schema in same database using transport tablespace?
    sample syntax
    impdp USERID=<TargetConnection> DIRECTORY=NHS_DIR Remap_Schema=TESTA:TESTB
    TRANSPORT_DATAFILES='<TargetDataFile>' DumpFile=<DumpFileName> logfile=<LogFileName>
    >
    Well, why not simply test that yourself? You seem to know the command already. It is possible but with some effort:
    You have to rename the original tablespace before importing it back. Also, you have to create the user testb with the appropriate privileges. The datafile that you import has to be renamed also, because a file with that name already belongs to the database.
    Kind regards
    Uwe
    http://uhesse.wordpress.com

  • How/can I use boe search 4 all reports that use specific tables

    How/can I use boe search 4 all reports that use specific tables
    can this be done with query builder
    or
    is there a way to search all sql of all reports for specific strings and report names so that I can find all report sql that uses table1  for example?

    Hi Bart!
    You can use VBScript to extract the dataprovider within the reports (Search for SDK Desktop Intelligence).
    If you can wait a few days longer, I can provide my script.
    ciao Hakan

  • Need information about upgrading 9iR2 DB to 10gR2 using Trans Tablespaces

    Hello All,
    Does anyone mig/upgraded db using via transportable tablespaces? if so 9i ===> 10gR2
    1. Exp/Imp: Too large to move
    2. impdp does exist in 9iR2
    3. version are 9ir2 to 10gR2
    Size is 5TB
    Thanks,
    A

    Migration 9i to 10g release 2 requires you to upgrade the 9i release db to 10g r2 and use Transportable Tablespaces to migrate the DB's or do a refresh of the database using RMAN backups or Hotbackup refresh...

  • Does rebuild of indexes uses temp tablespace or system tablespace?

    Does rebuild of indexes uses temp tablespace or system tablespace?
    If so why?

    If you combine the answers from Aman and Burleson, they cover most of the picture.
    When rebuilding an index, you may end up sorting a large amount of information. The sort may spill into the temporary tablespace - if you haven't configured your database and users properly, it is possible that the SYSTEM tablespace may be used for the temporary tablespace.
    As the new copy of the index is built, it has to be built in the right place (tablespace), and the space used to build it will be marked as a temporary segment as the build takes place. When the build is complete, this temporary segment will take on the name of the origrinal index, and the original index will be re-badged as a temporary segment and dropped. (Again, you might see temporary segments in the SYSTEM tablespace if the index was originally in, or was rebuilt into, the SYSTEM tablespace).
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk

  • Creating a custom dictionary so I can use specific spellings and characters

    How can I create a dictionary so I can use specific spellings and characters in my document? Example: we spell numbers from one - nine instead of using the actual number 1-9. We also use uppercase ins one words always etc. Please advise, Thanks.

    Just Big rules we have, this is just a small example of the big rules with in other examples below with uppercase first letter and in some cases all letters in names:
    Plus Sizes
    Cold Weather Accessories
    Swimwear
    Clearance
    Sleepwear
    Apparel
    Accessories
    Key Collection Statement
    Key Item
    Collection Group
    Collection
    Week
    Event Planner
    Subdivision
    Catalog Outpost
    Seasons
    Spring
    Summer
    Fall
    Winter
    Cold
    Cool
    Warm
    Resort
    Royal Velvet Fashion Bedding
    Bedding Collection
    Two-Way Communication
    Dress Shirts
    Ties
    Panties
    Bras
    Sweaters
    Earrings
    Watches
    IZOD
    MY COMPASS
    BEST PRACTICE

  • Need SP_TN for specific user must use specific document series and warehouse in Marketing Documents

    Hi experts,
       I need SP_TN for specific user must use specific document series and warehouses in Marketing Documents SAP B1.
       Kindly give solution ASAP.
    Thanks in advance

    Hi Nagarajan,
       It show (1) Not allowed to add PO.
       I used the following SP
    IF  @object_type = '22' AND @transaction_type IN (N'A',N'U')
    BEGIN
    IF Exists
    (SELECT T0.DocEntry FROM POR1 T0 INNER JOIN OPOR T1 ON T0.DocEntry = T1.DocEntry
    WHERE  T1.DocType = 'I' AND T1.Series = '142' OR T1.Series = '145' AND T0.[WhsCode] = 'STEX-01'
    or T0.[WhsCode] = 'STNEX-01' and T1.[UserSign] ='1'
    and T1.docentry = @list_of_cols_val_tab_del)
    BEGIN
    SELECT @error = 1
    SELECT @error_message = 'Not allowed to add PO'
    END
    END
    warm regards,
    Guhan

Maybe you are looking for