[10g XE] ORA-01652... Can I change the tablespace?

My apologies if the questions to ask to seem silly... I'm not used to manage a database; I'm really only familiar with a database query, but I XE (10g) installed on my local machine as my test environment, and I came across a problem today that I have not been able to understand yet on my own like...

There, I created a username for me to use, so I wasn't just connecting as sys all the time. (I hear this is a bad thing, but for a small test environment of XE, I don't know how important that is.) Earlier this morning, I tried to create a table such as selecting a remote (via a database link) when I got an ORA-01652 error. He said, 'impossible to extend segment by 1028 temp in the SYSTEM tablespace. I didn't know why he tried to use the SYSTEM tablespace, but I took a peek, and it turns out that all the tables I have create under my username gets stuck in the SYSTEM tablespace.

I did some research and found:
CREATE TABLESPACE mytbs1
DATAFILE '/u01/oracle/data/mytbs01.dbf' SIZE 500M
EXTENT MANAGEMENT LOCAL
SEGMENT SPACE MANAGEMENT AUTO;
to create a tablespace, so I did that, it's 1 GB, but then I couldn't figure out how to make my username use always this tablespace.

Also, I saw that I have a file temp.dbf, which is only 20 MB, and I wanted to make sure that my user name that was used as its temp tablespace, so I found this piece of code:
ALTER USER <user_account> SET TEMPORARY TABLESPACE <temp_tbsp>
and tried to use it for my temp temp tablespace, but I got ORA-00922: missing or invalid option (with SET indicated that the problem).

In addition, moreover, if I find that 20 MB is not big enough for my temp space, how to extend that?


Thanks in advance!

Hello

user11033437 wrote:


SYS@XE 09-23-2010 09:08:01> alter user myusername set temporary tablespace temp;
alter user myusername set temporary tablespace temp
*
ERROR at line 1:
ORA-00922: missing or invalid option

Search for the correct syntax in the SQL reference manual. (Lose 'SET').

Get used to using textbooks.
You can memorize the syntax for the commands and features that you use every day, but there's always a lot of things you do only from time to time. (You'll probably be creating or editing users only from time to time.)

Tags: Database

Similar Questions

  • ORA-14456: can not rebuild the index on a temporary table

    change the IND_DEBITDOCUMENT TABLESPACE INDEXDATA index rebuild
    *
    ERROR on line 1:
    ORA-14456: can not rebuild the index on a temporary table


    why it is given such error?

    Thanks in advance.

    This information is always kept to user_ | all_ | dba_ tables, in this case in the temporary column.

    Obvious, isn't it?

    ---------
    Sybrand Bakker
    Senior Oracle DBA

  • How can I change the text in the Messages to the vertical?

    How can I change the text in the Messages to the vertical?

    If you mean change the orientation, simply turn the phone. If this does not work, close Messages and then run again.

    To close the Messages, press the Home button twice quickly. You will see small glimpses of your applications recently used. Drag to the left to find the application you want to close. Swipe up on the preview of the application to close.

    If it does not, the strength to restart the phone. No data is affected by this. To force the reboot your device, press and hold the two buttons of sleep/wake and home for at least ten seconds, until you see the Apple logo.

  • How can I change the title of the folder?

    Im trying to organize my notes and consolidate a bit, but I need different titles. I can't change the title even with edit. Also, is it possible to pass information from one folder to another?

    To change the title of the file, switch to the folder view (who has the list of places, your notes are kept: all iCloud, Notes, file, folder, deleted recently) and press the button change. While in editing, tap the folder you want to change the name to once and it will display a window where you can change it.

    You can move the notes of any place anywhere. Switch to the folder view and click the folder you want to move the notes of. Click on edit, select the notes that you want to move, click on move and then select the folder you want to move.

    See you soon,.

    GB

  • Can I change the band on the watch for the ceramic version?

    Can I change the band on the watch for the ceramic version?

    Hello

    Yes - all Apple Watch bands will be adapted to any Apple Watch of the same size of the case (42mm or 38 mm).

  • I changed my email address of my ID Apple online, but my iphone still ask again me for my old email password, which no longer exists, how can I change the email to my new on my iPhone

    I changed my email address of my ID Apple online, but my iphone still ask again me for my old email password, which no longer exists, how can I change the email to my new on my iPhone

    Go to settings | Mail, Contacts, calendars and change e-mail account information.

    T.

  • How can I change the black background of iTunes 12.4.1.1

    I am running iTunes 12.4.1.1 on OS 10.8.5 on a Macbook Pro. How can I change the black background on iTunes to simple white.

    Thanks for any help

    Savewolves

    Where do you see a "black background" in iTunes?  You can include a screenshot?

    Command-shift-4 to take a screenshot of the portion of the screen showing the problem.  Then drag the files to screenshot (which appears on the desktop of your Mac) in your reply in the Safari window message.

  • How can I change the ORDER of my 5 email accounts to my default at the top

    How can I change the order of my 5 email accounts to my default at the top? Currently using any option to e-mail browser (Chrome Firfox IE) sends using one upstairs that is one that I never use. I specifically put by default in the settings option and figure that he took over the top NOT the default. This question never used to cultures upward, but since a recent update for Thunderbird, he chooses the top of the list only Preferred not on the list.
    Thank you I could delete the account then add it to the bottom (tedious), but there must be a way for a) restore order and b) to stop the email add on picking at the top

    Two things.

    You have defined the default value in the menu (alt + T) tools > account settings > outgoing (SMTP) Server?

    Second, try this add-on https://addons.mozilla.org/en-US/thunderbird/addon/manually-sort-folders/?src=ss

  • TB 31.7 W7, how can I change the police in the "all folders" list on the left?

    TB 31.7 on W7
    How can I change the police in the "all folders" list on the left?

    I was also unable to change the position of the icons on the e-mail toolbar in a message window. When I try to drag a box icon from the tool bar customize I get a symbol of the circle with a line through it, rather than the vertical bar I expect.

    Something like that?

    http://forums.mozillazine.org/viewtopic.php?f=30 & t = 2834207

    Note that the name of the folder and the name are case-sensitive. It must be userChrome.css and it must be placed in a folder named chrome.

    Finittary poster regularly wrote something about this recently. It may be possible to find this thread on this forum.

    The inability to drag or move a button usually means that you have opened the pane customization evil.

  • How can I change the sequence of displayed in Thunderbird mail accounts?

    I need to set up a laptop computer to take on the go. How can I change the sequence (list) of e-mail accounts in the vertical pane to match my office?

    Install this add-on.
    https://addons.Mozilla.org/en-us/Thunderbird/addon/manually-sort-folders/

  • How can I change the order of photos in the shared album?

    Hello

    I have pictures from multiple sources in a single shared album. Photos are not in order (each device had date and different time). I can change something order these photos? I even tried to delete the shared album, rearrange photos in my album, I shared this album published, but the photos are still in the wrong order.

    Thank you

    Petr

    Shared albums the photo order depending on how they are added, you can not change the order later.

  • Response of local folders looks like the answer to the discussion group. No signature or formatting options. How can I change the local folders meets regularly?

    Please see image attached. Responses from the eyes of local folders as responses to the discussion groups. No signature or formatting options. How can I change the local folders meets regularly, as they are in the Inbox?

    I don't think that the format of replies to the messages in the local folders are linked with focus groups or to individual account settings. As local folders can contain messages between several accounts or identities, it is more likely that formatting uses the setting of the account or identity appearing in the: field when you reply.

    This is how I think it should work. How this works in practice may be different.

  • How can I change the security questions?

    Hello

    I forgot the answers to security questions, I tried to change the questions of security, they send me emails, but she never shows! My account has been locked for a day and now it's open I try to change the SQ but still the same! What I've done, I put the rescu email is the same of my Apple ID and I can't change the email too! Plllleeeeeaaase help

    Unless the reset email is in a spam filter, you must ask security team account Apple to reset your security questions. To contact them, click here and choose a method; If this page does not list one for your country or if you are unable to call, complete and submit this form.

    (143472)

  • Can I change the theme of the bookmarks menu?

    Can I change the theme of the dull grey bookmarks menu? How?

    I had a small image of the menu booksmarks, but it will not load your server.

         Thanks
    

    This thread shows how you can style the highlighter that shows the current selection: How to change the color used to highlight menu options?

  • How can I change the name of the user on my iMac?

    How can I change the name of the user on my iMac?

    System Preferences > users and groups, and then ctrl - click on the user (user left-current) and select 'Advanced Options', you can change the "display name" in the settings that are displayed.

Maybe you are looking for