Creating new Tablespace in 10g XE using Database Home Page
How can I add a Tablespace using the "Database home Page" GUI? I've done this before, but now do not see a link for "Create Tablespace" under the Administration -> Storage icon. I'm logged in as sys.
use sqlplus to create a new tablespace
(set your XE environment first)
(for Linux)
the environment file envOraXEclient for example) -- modify for your env and different shell, and source the file
export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
export TNS_ADMIN=/home/mytnsdirectory
export TWO_TASK=XE
export LD_LIBRARY_PATH=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib
export PATH=$ORACLE_HOME/bin:${PATH}
by using sqlplus, create the tablespace (use different size if you want, up to 4gb, you can create smaller, more than one tablespace, etc - this is just an example)
CREATE SMALLFILE
TABLESPACE "MYTBLSPC1"
DATAFILE '/usr/lib/oracle/xe/oradata/XE/mytblspc1.dbf'
SIZE 2G REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED
LOGGING EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO
if you want, create a dedicated temporary tablespace for your user/s as well (here is an example)
CREATE SMALLFILE TEMPORARY TABLESPACE "MYTEMP"
TEMPFILE '/usr/lib/oracle/xe/oradata/XE/mytemp.dbf'
SIZE 100M REUSE EXTENT MANAGEMENT LOCAL UNIFORM SIZE 1024K
turn the recyclebin off if you want/need to (I do ;)
alter system set recyclebin=off;
change the open_cursors if you want/need to (I do ;)
ALTER SYSTEM SET open_cursors = 5000 SCOPE=MEMORY;
ALTER SYSTEM SET open_cursors = 5000 SCOPE=SPFILE;
ALTER SYSTEM SET session_cached_cursors = 50 SCOPE=SPFILE;
create a specific user utilizing the tablespaces you created earlier
CREATE USER "ZAFER" PROFILE "DEFAULT"
IDENTIFIED BY "zafer" DEFAULT TABLESPACE "MYTBLSPC1"
TEMPORARY TABLESPACE "MYTEMP"
ACCOUNT UNLOCK;
(grants are up to you - and your development / deployment environment)
GRANT UNLIMITED TABLESPACE TO "ZAFER";
GRANT "CONNECT" TO "ZAFER";
GRANT "RESOURCE" TO "ZAFER";
Edited by: zaferaktan on Sep 4, 2009 10:09 AM
Similar Messages
-
Error in Oracle 10g "Go To Database Home Page"
I just downloaded the Oracle Database 10g Express Edition and successfully installed it. But when I click on the "Go to Database Home Page" from the start menu, a new browser window opens up but nothing actually loads on the page. The browser seems to be trying to load the page forever. The URL that is being tried to load seems to be correct: http://127.0.0.1:8080/apex. I am using IE version 6.0 on Windows XP. Can somebody help me what I am doing wrong?
Before you proceed with this troubleshooting tecnique, verify the contents of the alertXE.log file, if some issues are reported there, to make you think it is a lack of temporary tablespaces, then proceed as follows:
This alter tablespace command is issued from a sqlplus prompt.
Once you have installed your OracleXE it starts your database and listner processes. Before accessing sqlpus, ensure you have properly defined environment variables:
ORACLE_HOME
ORACLE_SID
PATH
Once you have ensured your environment is properly configured, connect as sysdba
sqlplus / as sysdba
This will open your SQL prompt, from there you can issue the commands.
~ Madrid. -
Oracle database 10g express edition-database home page problem.
I've installed Oracle database 10g express edition.
When I try to launch to the database home page,a login pops up saying "connecting to 127.0.0.1" expecting an user and password.
I tried my system and sys login,but both were unsuccessful.
Could someone help me please.?
Thanks,
BhagatFeel free to join us in the XE forum at Oracle Database Express Edition (XE)
If you're not registered there, do so using http://www.oracle.com/technology/xe/registration
Also feel free to use the documentation at http://www.oracle.com/pls/xe102/homepage, specifically the "Getting Started Guide"
You need to log in using SYSTEM and the password you supplied during install. -
How to create TABLE using "Go To Database Home Page"
I installed Oracle 10g Express
The Database Home page is working fine using sys/system user name
I understand that this is also an APEX INTERNAL Application.
Now I installed APEX 3...latest version , the database page has now changed to APEX , Oracle Application Express page.
Also the http://.../apex/apex_admin .. is working, but I dont know where to find the Administration page of Database , which lets creation of database users & tablesHi
If I understand you problem correctly then you go to Database Homepage, and login using sys/system you can see the homepage with the icons for 'Application Builder', 'SQL Workshop', 'Utilities'.
Here clicking on 'SQL Workshop' you will find 'Object Browser', 'Sql Commands', 'SQL Scripts' and 'Query Builder'.
You can create database objects by entering sql commands in 'Sql Commands' or from the 'Object Browser'->[Create] button.
-Priyanka -
XE Database home page gone after APEX 3.2 upgrade
I just upgraded the version of HTMLDB/APEX on my XE database from 2.0 to APEX 3.2. All went well, however, the database home page seems to have disappeared. When I go to Start|Programs|Oracle Database 10g Express Edition|Database home page, I now get the APEX start page. Does the upgrade blow away the Database Home Page?
Hello:
This is expected. If you decide to upgrade the Application Express within your Oracle Database XE, you will lose the Oracle APEX interface to perform some of your database management functions. This includes the ability to create and alter users, set database parameters, etc. To perform these functions, you will need to use either SQL Developer or SQL*Plus.http://www.oracle.com/technology/products/database/application_express/html/3.0.1_and_xe.html
varad -
Can we create new tablespace in Oracle Database 10g Express Edition?
Hi,
Can we create new tablespace in Oracle Database 10g Express Edition instead of using the default "users" tablespace provided?
Please advise.
Thank you.Correct. The sum of all user tablespaces is not allowed to exceed 4 GIG.
You could try shrinking your tablespaces. Theres a script called maxshrink on http://asktom.oracle.com which is useful for this.
You could compress your tables.
If you are storing lobs, you could consider storing them as bfiles.
Or upgrade to Oracle Standard Edition 1. Its not that expensive. -
BRSPACE create new tablespace for compressed table
Dear expert,
I'm plannng to create new tablespace PSAPCOMP for compressed table by brspace.
the current total size of the tables that i want to compression is 1T.
Now i have 2 question about the brspace script
1.How big size should the PSAPCOMP be , let's say 500G?
2. i'm confused about the datafile_dir value i should put (please refer to the attachment for current datafile_dir design)
Could you help to correct/improve the scritpts as following?
scriptA : brspace -f tscreate -t PSAPCOMP -s 5120 -a yes -i 100 -m 15360 -f sapdata4 -l 2 --> assign to sapdata4
repeat scriptB for 20 times
scriptB : brspace -f tsextend -t PSAPCOMP -s 5120 -a yes -i 100 -m 15360 -f sapdata4 -l 2 -f1 4 -f2 4 -f3 4 -f4 4 -f5 4 --> extend 25G in one run
Qestion: is it OK to assign the PSAPCOMP only to "sapdata4"? or i should specify "-f sapdata1 sapdata2 sapdata3 sapdata4" so the table data can distribute among different sapdata_dir?
Thank you!hi Kate,
some of the questions depend on the "customer" decision.
is it OK to assign the PSAPCOMP only to "sapdata4"?
how much space is available? what kind of storage do they have? is totally stripped or not? is there "free" space on the other filesystems?
1.How big size should the PSAPCOMP be , let's say 500G?
as I explained to you already, it is expected that applying all compressions you can save 1/2 of the space but you have to test this as it depends on the content of the tables and selectivity of the indexes. Use the oracle package to simulate the savings for the tables you are going to compress.
do you want the scripts interactive (option -c) or not?
The SAP Database Guide: Oracle has all possible options so you only have to check them
brspace -f tscreate -t PSAPCOMP -s 5120 -a yes -i 100 -m 15360 -f sapdata4 -l 2 --> assign to sapdata4
if you want to create a 500 GB, why you limit the maximum size to 15360? -
Not able to create new e-mail on N8 using Mail for...
Not able to create new e-mail on N8 using Mail for Exchange.
Currently using google for my domain, but settings are the same as explained on the google Sync webpage: http://www.google.com/support/mobile/bin/answer.py?hl=en&answer=147951
When creating reply on mail the application crashes. When creating new mail it says "Kan bewerking niet uitvoeren" in english: "Unable to execute action".
Any idea why creating mail is not possible?
Regards,
Jorisproblem is known
more info there:
/t5/Nseries-and-S60-Smartphones/N8-syncing-with-Google-contacts-amp-calendar/td-p/772020
there is little workaround aslo. -
How to create new Custom XML Report without using Form Builder
Hi,
What are the steps to create new Custom XML Report without using Report Builder ?
Thanks and Regards,
AbhiHi,
Steps we now follow
1)Create Data Model in Reports Builder
2)Create xml
3)Insert xml in Publisher to build Fomat
4)FTp rdf
5)Create Data Definition and Template
6)Create executable and Concurrent Program
Is there any way we can build reports without use of Report Builder ? By writing PL SQL Package for Before Report and After Report etc ...
Thanks and Regards,
Abhijit Rode -
Problem in creating new versions for existing DIR using CV01N
I am working in SAP ERP 6.0 EHP 4.0 system.
I have problem in creating new versions for existing DIR using CV01N
I create a DIR version 00 with functional location and mpd cycles. Then when i try to create a new version by copying the contents created from already created document.I change the MPD cycles in the new version and save it.
once when i display the first document created the mpdcycle specified in version 01 is copied to the 00 version.
The document is inconsistent where versioning of document doesnot work properly wrt MPDCYCLE and MP HEADER.
The problem which i found was the document identification guid remains the same for all the document versions getting created.
The same is working fine in SAP ERP6.0 EHP3.0 sytem.
Please someone help me in resolving the above issue.
Regards,
Prasad.BThere is a change in the standard code.The reason for the above problem was because of a missing Enhancemnet point in a standard function module 'CV110_DOC_CREATE_WITH_TEMPLATE'.
IS-ADEC-MPD - Enhancement to copy MPD data
ENHANCEMENT-POINT CV110_DOC_CREATE_WTEMPL_01 SPOTS ES_SAPLCV110.
+*$*$-Start: CV110_DOC_CREATE_WTEMPL_01----------------------------------------------------------$*$*+
+**ENHANCEMENT 1 ZSF_AD_MPD_SAPLCV110. "active version**+
+*** copy MPD relevant data from templ. doc to current doc**+
+**CALL FUNCTION 'MPD02_COPY_MPD_DATA'**+
+**EXPORTING**+
+**is_draw = ls_draw**+
+**TABLES**+
+**ct_drad = lt_drad.**+
+*ENDENHANCEMENT.**$*$-End: CV110_DOC_CREATE_WTEMPL_01----------------------------------------------------------$*$*+
Created a custom enhancement point similar to SAP ECC6.0 EHP 3.0 system.
The reason was the buffer was not getting cleared previously.After inserting the above code the DIR's are getting created withot any issues.
Regards,
Prasad.B -
Not able to access Oracle 10g XE database home page on Windows XP?
I wanted to practise pl/sql in my office pc. I installed Oracle 10g XE on my machine and after that I also started Agent from Services. However When i clicked on Database home page it doesn't start. Changing network configuration might create problem in network. Can anybody help me working out this problem or has any alternative to practise PL/SQL with tiny oracle database.
Regards
Manish
Edited by: user11003855 on Apr 19, 2009 11:27 PMDid you configure loopback adapter?
:p -
Problem In GO TO DATABASE HOME PAGE in oracle 10g XE updated
When i click the GO TO DATABASE HOME PAGE icon my web browser say "The page you are looking for is currently unavailable Server, Cannot find server or DNS Error
Internet Explorer" and the address that it is openning is "http://127.0.0.1:8080/htmldb" can any one help me with this?
Im using oracle 10g express edition, the one that is available for free download. And my operating system is windows xp SP2.
Thanks
Message was edited by:
user468763There is a dedicated forum for questions related to XE
Oracle Database Express Edition (XE)
You need first to register for this forum here:
http://www.oracle.com/technology/xe/registration
After you register, simply log on to the discussion forums wth the same userid that you used to register - no need to wait for the confirmation email. -
Oracle 10g XE - unable to connect to the database home page
Hi,
I have installed Oracle 10g XE on my computer. When I try to open the Database home page at http://127.0.0.1:8080/apex, I get a Page not found error.
I have followed the steps outlined in the forums-
a) did "netstat -a"
Output : found that port 8080 isn't being used.
b) did "lsnrctl status"
Output: under Services summary - instance "CLRExtProc" is unknown
- instance "PLSExtProc" is unknown
- instance "xe" is ready
- instance "xe_xpt" is ready
c) did "sqlplus / as sysdba"
Output : Connected to Oracle 10g Express Edition
d) did "select status from v$instance "
Output : Mounted
e) did "select open_mode from v$database"
Output : Mounted
f) did "startup"
Output : started the database
Not sure why the database home page still wouldn't open. Any help is appreciated.Hi,
>>What is the command to change the status to "READ WRITE" ?
C:\>sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Sat Mar 29 00:26:33 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SYS@XE> startup mount
ORACLE instance started.
Total System Global Area 188743680 bytes
Fixed Size 1286460 bytes
Variable Size 92278468 bytes
Database Buffers 92274688 bytes
Redo Buffers 2904064 bytes
Database mounted.
SYS@XE> select open_mode from v$database;
OPEN_MODE
MOUNTED
SYS@XE> select status from v$instance;
STATUS
MOUNTED
SYS@XE> alter database open;
Database altered.
SYS@XE> select open_mode from v$database;
OPEN_MODE
READ WRITE
SYS@XE> select status from v$instance;
STATUS
OPENCheers
Legatti -
Cannot go to database home page for my 10g
i have installed 10g and it worked.
then i got problem after my holiday.
i dont know why i cant access database home page
http://127.0.0.1:8080/apex
i have try lsnrctl and this is what i have got..
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 2: No such file or directory
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=LENOVO-C72B2944)(PORT=1
21)))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
32-bit Windows Error: 1001: Unknown error
whats problem here??
thxit cant start..
like this..
TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
System parameter file is C:\oraclexe\app\oracle\product\10.2.0\server\network\ad
min\listener.ora
Log messages written to C:\oraclexe\app\oracle\product\10.2.0\server\network\log
\listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR
_XEipc)))
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=LENOVO-C72B2944)(P
ORT=1521)))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
32-bit Windows Error: 1001: Unknown error
Listener failed to start. See the error message(s) above...
this is my tnsnames.ora
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = LENOVO-PKN)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
and this my listener.ora
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = LENOVO-C72B2944)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE) -
Oracle 10G Express:Unable To open DataBase Home Page
I am not able to open Database Home page.
http://127.0.0.1:8040/apex
I verified the below steps:
1.OracleListener and Service are starting up fine.
C:\oraclexe\app\oracle\product\10.2.0\server\BIN>net start OracleXETNSListener
The OracleXETNSListener service is starting.
The OracleXETNSListener service was started successfully.
C:\oraclexe\app\oracle\product\10.2.0\server\BIN>net start OracleServiceXE
The OracleServiceXE service is starting.......
The OracleServiceXE service was started successfully.
2. netsat output - local host listening to port 8040
C:\oraclexe\app\oracle\product\10.2.0\server\BIN>netstat -an | find "8040"
TCP 127.0.0.1:8040 0.0.0.0:0 LISTENING
3. Http port in database
C:\oraclexe\app\oracle\product\10.2.0\server\BIN>sqlplus
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Aug 20 18:11:13 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter user-name: system
Enter password:
Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
SQL> select dbms_xdb.gethttpport() from dual;
DBMS_XDB.GETHTTPPORT()
8040
SQL>
4. Disabled Personal Firewall before starting the Service and Listener
5. listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 8040))
DEFAULT_SERVICE_LISTENER = (XE)
CONNECT_TIMEOUT_LISTENER=10
6.tnsnames.ora
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 8040))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
7. Listener log when i try to open the database home page.
Started with pid=180
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8040)))
Listener completed notification to CRS on start
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
20-AUG-2006 17:28:23 * 12502
TNS-12502: TNS:listener received no CONNECT_DATA from client
20-AUG-2006 17:30:34 * 12502
TNS-12502: TNS:listener received no CONNECT_DATA from client
Can someone help me how to get to the home page.What does your lsnrctl status give you?
Maybe you are looking for
-
All newly installed CC apps crash on launch, CS6 are fine
I installed the new CC versions of Illustrator, Photoshop, and InDesign, and they all crash immediately after launching (no splash graphic). Unfortunately I uninstalled Illustrator CS6 before noticing that none of the newly installed versions will la
-
Changes to track in cjr2 t-code
cost Planning has been done in cjr2. some one has made changes in cjr2? hhow can i track, who has made the changes and wht changes he made? Regards SURYA
-
How to activate business coontent datasources in r/3 system
Hi Experts, Could any one please provide me the steps for installing business content data sources in R/3 system , I am installig PM Thanks in Advance, Nitya
-
Hi, I'm using Feedly v5.6.384 (latest) on Safari 5.1 (latest). OS X Lion. Feedly couldn't post to twitter, can you help? Both under 10.7.0 and 10.7.1 Feedly asks me to login to twitter first, I clicked the link but nothing happen. Thank you for your
-
Native asian fonts appear in English
I am trying to use native Mac Korean characters on a piece of art work but they apear as english letters. How do I get them to look like Korean Fonts. When I look on Font Book the characters look right but when I go to the fon in Photoshop or Word th