Increase tablespace
Hi Guys,
How does one increase the tablespace. It it by adding a datafile?
Thanx.
Hi,
How does one increase the tablespace. It it by adding a datafile?
Increase the tablespace means add one more tablespace..to your database.
I think you are talking about the increasing size of your tablespace.
then either you can resize exiting data file or you can add new data file.
Thanks
Pavan Kumar N
Similar Messages
-
Increasing tablespace by using BRTOOLS ends up with BR0253E error
While trying to increase tablespace by using BRTOOLS, it is giving below error:
BR0259I Program execution will be continued...
BR0252E Function fopen() failed for '/oracle/XIS/102_64/sapbackup/.user.pas' at location BrToolCall-2
BR0253E errno 2: No such file or directory
Please helpHi Abu Al MAmun,
As per your logs brspace is trying to write into the location /oracle/XIS/102_64/sapback , But their may not be any directory by label sapback in ORACLE_HOME directory this may be issue relating to wrong parameter set in init<SID>.sap which will be used by BRTOOLS.
Crosscheck your init<SID>.sap file.
Thanks and Regards,
Amarnath. -
Hi
i have a requirement in which i need to increase tablespace size for my schema. actually the tablespace that is given to me is shared by many other 'owners' too but i want the datasize just for me to be increased.
SELECT OWNER,TABLESPACE_NAME,SUM(BYTES/1024/1024) "Allocated Size in MB"
FROM DBA_SEGMENTS WHERE TABLESPACE_NAME = 'DATA_TS1'
GROUP BY OWNER,TABLESPACE_NAME ORDER BY OWNER;
will give this result
OWNER | TABLESPACE_NAME| Allocated Size in MB
30026882 | DATA_TS1 | 170.9375
30042534 | DATA_TS1 | 0.1875
myself | DATA_TS1 | 106951.875
now how can i just increase quota for 'myself'?
Can this be done? and if so can you plz provide me with syntax?Hi,
974647 wrote:
SELECT OWNER,TABLESPACE_NAME,SUM(BYTES/1024/1024) "Allocated Size in MB"
FROM DBA_SEGMENTS WHERE TABLESPACE_NAME = 'DATA_TS1'
GROUP BY OWNER,TABLESPACE_NAME ORDER BY OWNER;
will give this result
OWNER | TABLESPACE_NAME| Allocated Size in MB
30026882 | DATA_TS1 | 170.9375
30042534 | DATA_TS1 | 0.1875
myself | DATA_TS1 | 106951.875That's showing you the space already being used. The quotas for each user are obviously at least that large, but the query above doesn't say anything more about quotas. Query dba_ts_quotas to see the quota information.
now how can i just increase quota for 'myself'?
Can this be done? and if so can you plz provide me with syntax?
ALTER USER myself QUOTA x M ON data_ts1;where x is the new number of megabytes.
There is no way to guarantee that other users won't use the newly created space if they have sufficiently large quotas. If you want to make some space available only to a given user, then you need a tablespace where nobody except that user has a quota. -
Want to increase Tablespace of Oracle9i in AIX
Dear Sir,
I want to increase tablespace of Oracle 9i in AIX. What command i will write for this.
With Regards,
Debasis Mishra
[email protected]thier r many ways of doing this .
U can either add a new datafile or extend the size of the datafile present.
It also depends on the way you have created the tablespace originally.
So if u can give that details it will be helpful. -
How to increase tablespace in 9i on hp-ux 11
Hi
im new i this field but i like this challenges they make u sharp
i am working on hp-ux 11 and oracle 9i the database i am woking on has been receiving error on (i checked on alert log) since the last 8 month on ora-1653 unable to extend table xxx by 8 in tablespace xxx
i thot this issue was with the tablespace xxx so i went ahead and tried to increase the tablespace but then i received another errors (alter database datafile'/dev/...' resize from 200m to 400m)
this are the error i received
ora-01237 cannot extend datafile 6
ora-01110 data file 6: /'dev/...'
ora-27042 not enough space on raw partition to fullfill request
i went ahead and check my disk space using bdf command and /dev has free space of 60%
please team advice me on the way ahead since i am stucked
thank uHP-UX cc B.11.11 U 9000/800 (td)
login: root
Password:
Please wait...checking for disk quotas
(c)Copyright 1983-2000 Hewlett-Packard Co., All Rights Reserved.
(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
(c)Copyright 1980, 1984, 1986 Novell, Inc.
(c)Copyright 1986-1992 Sun Microsystems, Inc.
(c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
(c)Copyright 1989-1993 The Open Software Foundation, Inc.
(c)Copyright 1986 Digital Equipment Corp.
(c)Copyright 1990 Motorola, Inc.
(c)Copyright 1990, 1991, 1992 Cornell University
(c)Copyright 1989-1991 The University of Maryland
(c)Copyright 1988 Carnegie Mellon University
(c)Copyright 1991-2000 Mentat Inc.
(c)Copyright 1996 Morning Star Technologies, Inc.
(c)Copyright 1996 Progressive Systems, Inc.
(c)Copyright 1991-2000 Isogon Corporation, All Rights Reserved.
RESTRICTED RIGHTS LEGEND
Use, duplication, or disclosure by the U.S. Government is subject to
restrictions as set forth in sub-paragraph (c)(1)(ii) of the Rights in
Technical Data and Computer Software clause in DFARS 252.227-7013.
Hewlett-Packard Company
3000 Hanover Street
Palo Alto, CA 94304 U.S.A.
Rights for non-DOD U.S. Government Departments and Agencies are as set
forth in FAR 52.227-19(c)(1,2).
You have mail.
Value of TERM has been set to "xterm".
WARNING: YOU ARE SUPERUSER !!
# clear
# vg d^?^?^?
sh: vg: not found.
# vgdisplay vg201
--- Volume groups ---
VG Name /dev/vg201
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 23
Open LV 23
Max PV 16
Cur PV 4
Act PV 4
Max PE per PV 60000
VGDA 8
PE Size (Mbytes) 8
Total PE 69992
Alloc PE 46722
Free PE 23270
Total PVG 2
Total Spare PVs 0
Total Spare PVs in use 0
this is the output of the command
so how to i go about it (increasing ) -
Refresh Analytic Workspace increase tablespace size ?
Hello, I'm using CWM2 OLAP objects with 9.2.0.6 database version. I have analytic workspaces, too.
I execute refresh of my analytic workspace, using the script generated by Analytic Workspace Manager 9.2.0.4.1. I have noticed that, strangely, whenever I execute the script, it increases the used space of the tablespace containing analytic workspace.
Is this usual ? The script doesn't include new objects, and the effect is the same. What is failing ? I think that this should not happen.
Any idea ? Thanks a lot by your helpvbarres wrote:
if my datawarehouse
grows dinamically (I'm adding new objects every day),
what size has to have my aw tablespace ? It's
difficult to reserve space on disk for this...I'm confused here. Are you really adding new objects every day, or just adding more data to the existing ones. In general, if you are adding more data, the growth should be reasonably predictable, assuming a reasonable AW design. The usual growth confusion has to do with reloading the same data over again, where the growth is unexpected.
rhaug wrote:
I had a similar problem in my AW. The temp and the aw tablespace got ridiculously big. >The temp tablespace exceeded 20gb before the disk got full and everything crashed.
In my case I had made several cubes to perform different tests. When I deleted all but >one cube things behaved more normal and the aggregation time was stable.Again, I'm not sure what is going on here from the descriptions. As far as I know, there should not be a problem with multiple cubes in the same AW. You don't say what version you are in, but is it possibly version 10? I could see some interaction in a parallel build, where the various cubes are built simultaneously, and thus the pages on the free list are necessarily available for reuse when you might want them. More details would be interesting here. You might also try a serial build (I'm not sure where the switch is in AWM, but I'm sure it's there somewhere). -
How can i increase tablespace. i am working on oracle 10G
one of table space is going to fill now it is looking 95% used. how can i increase it...
Hi,
Check below links
http://help.sap.com/saphelp_nw70/helpdata/EN/a7/8db6c2ebc5384eb82e5f99e49600d6/frameset.htm
Tablespace is full
What was the recommended Tablespace Datafile size by SAP?
Hope it helps
Thanks
Sushil -
Hi All,
This is angeline, I have question how to Increase Table Space using NW2004s/Oracle 10g/OS 2003 server
I check DB02 in SAP, I think I have to increase SAPSR3 Tablespace... can you please tell me how to do that step by step using BR-SPACE
Tablespace name Size(MB) Free(MB) Used(%) Autoextend Total size(MB)
PSAPSR3 24600.00 692.25 97 YES 40000.00
PSAPSR3700 24000.00 7058.06 71 YES 30000.00
PSAPSR3DB 10000.00 6226.13 38 YES 30000.00
PSAPSR3USR 20.00 19.31 3 YES 10000.00
PSAPTEMP 980.00 978.00 0 YES 10000.00
PSAPUNDO 8900.00 5.00 100 YES 10000.00
SYSAUX 200.00 25.38 87 YES 10000.00
SYSTEM 780.00 335.44 57 YES 20000.00
Your answer will be really appriciated
Angelinesorry to burst your bubble, but this is a very basic question that can be answered by basic training (ADM100) or even better yet, Google searching.
I'll be a good sport and give you the program name to look for: BRSPACE
Good luck. -
ORA-01653 unable to increase tablespace size
We have Oracle 11gR2 RAC with ASM installed on Redhat Linux
I am not able to extend tablespace it gives error ORA-01653
I checked ASM views
GROUP_NUMBER NAME SECTOR_SIZE BLOCK_SIZE ALLOCATION_UNIT_SIZE STATE TYPE TOTAL_MB FREE_MB
1 DWH_OCR 512 4096 1048576 MOUNTED NORMAL 3057 2131
2 DATABASE 512 4096 1048576 CONNECTED NORMAL 204798 1536
Above view shows we have 1536 Mb free in our Database ASM disk group. And when i checked tablespaces used space so i found its not exceeding 70 GB.
Please suggest/advice what can be ocuppying space in ASM? and how to free it?
Also note archiving is also disabled. I tried to empty recycle bin also. Still same issue.
Thanks in advance
Zeeshan Sheikhselect * from DBA_TABLESPACE_USAGE_METRICS;
TABLESPACE_NAME USED_SPACE TABLESPACE_SIZE USED_PERCENT
ESECTOR_DATA 552 4194302 0.013160712
NCC_DATA 1281408 4194302 30.55116203
ODI_DATA 2358040 4194302 56.22008143
QUEST_DATA 184 4194302 0.004386904
SHOAIBA_DATA 50048 4194302 1.193237874
SYSAUX 225720 4194302 5.381586734
SYSTEM 521560 4194302 12.43496534
TEMP 3200 4194302 0.076293982
UNDOTBS1 160 4194302 0.003814699
UNDOTBS2 16552 4194302 0.39463062
USERS 3337400 4194302 79.56985453
WSECTOR_DATA 192 4194302 0.004577639
select * from v$asm_diskgroup;
GROUP_NUMBER NAME SECTOR_SIZE BLOCK_SIZE ALLOCATION_UNIT_SIZE STATE TYPE TOTAL_MB FREE_MB HOT_USED_MB COLD_USED_MB REQUIRED_MIRROR_FREE_MB USABLE_FILE_MB OFFLINE_DISKS COMPATIBILITY DATABASE_COMPATIBILITY VOTING_FILES
0 FLASH 512 4096 0 DISMOUNTED 0 0 0 0 0 0 0 0.0.0.0.0 0.0.0.0.0 N
1 DWH_OCR 512 4096 1048576 MOUNTED NORMAL 3057 2131 0 926 310 910 0 11.2.0.0.0 10.1.0.0.0 N
2 DATABASE 512 4096 1048576 CONNECTED NORMAL 204798 1536 0 203262 0 768 0 11.2.0.0.0 10.1.0.0.0 N -
Increasing tablespace option mission in EMDB control
In alerts section i am getting sever aler logs regarding the size of tablespace . In one tablespace i adjust the table space , But in second tablespace i am not seeing any "Edit Tablespace" colums & recommendations action.
Can any body guide me what i should do now?
It was read only tablespace , i made it read write , make some DDL actions & now trying to make it read only , but its not allowing me to do so.
Need help.In alerts section i am getting sever aler logs regarding the size of tablespace . In one tablespace i adjust the table space , But in second tablespace i am not seeing any "Edit Tablespace" colums & recommendations action.
Can any body guide me what i should do now?
It was read only tablespace , i made it read write , make some DDL actions & now trying to make it read only , but its not allowing me to do so.
Need help. -
Import schema to a different tablespace
hi,
I've exported my instance:
EXP SYSTEM/MANAGER@OLDINSTANCE FULL=Y FILE=C:\EXP_FILE.DMP LOG=C:\ERROR_EXP.LOG
after I've created new tablespace and new user:
CREATE TABLESPACE MAX DATAFILE 'c:\MAX01.dbf' SIZE 3800M REUSE DEFAULT STORAGE
(INITIAL 10240 NEXT 10240 MINEXTENTS 1 MAXEXTENTS 256 PCTINCREASE 0) ONLINE;
CREATE USER MAX IDENTIFIED BY MAX DEFAULT TABLESPACE MAX TEMPORARY TABLESPACE TEMP;
finally I've imported tom's objects in MAX:
IMP SYSTEM/MANAGER@NEWINSTANCE FROMUSER=TOM TOUSER=MAX FILE=C:\EXP_FILE.DMP LOG=C:\ERROR_IMP.log
but in some tables I get these errors:
IMP-00017: following statement failed with ORACLE error 1658:
"CREATE TABLE "AREA" ("OFL" VARCHAR2(4), "OBL" VARCHAR2(32), "OSITE" V"
"ARCHAR2(32), "OLS" VARCHAR2(32), "OAREA" NUMBER, "DV_ID" VARCHAR2(32), "DP_"
"ID" VARCHAR2(32), "ODISMESSO" VARCHAR2(2), "OTYPE" VARCHAR2(64), "OCAT" VAR"
"CHAR2(64), "OOCCUP" NUMBER, "SFL" VARCHAR2(32), "SBL" VARCHAR2(32), "SSITE""
" VARCHAR2(32), "PRORATE" VARCHAR2(8), "STYPE" VARCHAR2(64), "SCAT" VARCHAR2"
"(64), "SAREA" NUMBER, "SOCCUP" NUMBER, "AREA_SERV" NUMBER) PCTFREE 10 PCTU"
"SED 40 INITRANS 1 MAXTRANS 255 LOGGING STORAGE(INITIAL 314572800 NEXT 52428"
"800 MINEXTENTS 1 MAXEXTENTS 1000 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS "
"1 BUFFER_POOL DEFAULT) TABLESPACE "TOM""
IMP-00003: ORACLE error 1658 encountered
ORA-01658: unable to create INITIAL extent for segment in tablespace TOM
In new instance there are 2 tablespaces (TOM, MAX)
I tried 2 solution:
1) I've taken the tablespace TOM offline in the new instance, but when I import fromuser=TOM touser=MAX.............
I get error because not exist tablespace TOM
2)I removed MAX's quota on the TOM tablespace in the new instance.
ALTER USER MAX QUOTA unlimited ON TOM;
but when I import I get alway the same error:
ORA-01658: unable to create INITIAL extent for segment in tablespace TOM
I know That I must encrease tablespace TOM for avoid this error, but I must create 6 new users in 6 different tablespaces and I'd to increase tablespace TOM too much (how many GB?).
how can I import schema to a different tablespace?
Thanks
RafI don't understand why you cannot import TOM's scheme
to new instance, because you say that you' ve TOM
tablespace in the database.
Check size of it, may be you need to increase size or
you can TOM tablespace set autoextended.
Also, you can set MAX tablespace is default in new database and set TOM tablespace is readonly.
Then import cannot create object in TOM tablespace
and create this in MAX tablespace.
Best regards, Victor -
DBMS_SPACE(9i) for tablespace growth trend..?
Hello,
for 10G, dbms_space.object_growth_trend() can expect table's growth....
for 9i (9.2.0.6 in Sun9) database, is there any friend has experience know how to do for the following purpose:
1. How to expect tablespace growth? say, to accommodate new data for the next 30 days we have to increase tablespace A by X GB, tablespace B by Y GB, … etc
2. How to expect database level growth? say, we need XXX GB more to accommodate new data for the year YYYY
3, Is there any way to Initialize (if possible) Segment Advisor with the information about segment trends we have already collected in 9i
Thank you in advance
JerryHi..
AFAIK in 9i you can't find the Subprograms like object_growth_trend() package in dbms_space.
How to expect tablespace growth? I think that you will have to maintain a sheet of the tablespace usage.Daily you will need to maintain the tablespace size, used and free size of tablespace.Ans after few days of observation you can predict the approximate amount of size being filled up in a day.
You can use the below query to know the used and the free space in the tablespace.
select df.tablespace_name tspace,
df.bytes/(1024*1024) tot_ts_size,
(df.bytes/(1024*1024) -sum(fs.bytes)/(1024*1024)) Used_ts_size,
sum(fs.bytes)/(1024*1024) free_ts_size,
round(sum(fs.bytes)*100/df.bytes) free_pct,
round((df.bytes-sum(fs.bytes))*100/df.bytes) used_pct1
from dba_free_space fs, (select tablespace_name, sum(bytes) bytes from dba_data_files group by tablespace_name ) df
where fs.tablespace_name = df.tablespace_name
group by df.tablespace_name, df.bytes
order by 1
2. How to expect database level growth? Again same, you need to maintain a sheet for it.Use the below query
select sum(bytes/1024/1024/1024) Physical_size_gb from dba_data_files;
select sum(bytes/1024/1024/1024) Actual_size_gb from dba_segments; 3, Is there any way to Initialize (if possible) Segment Advisor with the information about segment trends we have already collected in 9iNo.
HTH
Anand
Edited by: Anand... on Jan 6, 2009 4:17 AM -
HI All
Can anyone pls let us know how to perform Tablespace Management in DB2,like increasing tablespace and adding datafile..etc.
Can it be done in SAP through DB02 Tcode if so how to do it,???
also how to do it through DB2 from OS level.
Thanks in Advance
Infinite TeamHi All
We noticed that BTABD was hundred percent and now database is not coming up and from operating system level if we login and try to increase the tablespace through sql command it says:
"DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL1036C An I/O error occurred while accessing the database. SQLSTATE=58030"
Not only that any command we execute it gives same error message and if we start sap it says Activate Database Failed, R3trans Connect Failed, Database start up failed
Pls help.
Thanks in Advance
Infinite Team -
Hi,
I am running a heavy load of data using BPM process from a file. My scenario is FILE>BPM>R/3. The tablespaces get rapidly filled. I have scheduled the jobs SAP_BC_XMB_ARCHIVE_100 and SAP_BC_XMB_DELETE_100 to run every 5 hours and also set PERSIST_DURATION parameter for ASYNC messages to 1 day.
Is there anything else that could help me in removing filled in tablespaces rapidly as soon as the message is processed???
Also does anybody have an idea on how much message size the XBTO queue can manage ??
I had been increasing tablespace memory to accomadate the increasing inbound volume and I think this is not an optimal way of doing things using XI.
Any suggestions guys!!!
-TeresaHello Theresa,
as the file goes through the AFW, did you setup archiving for the AFW? This is done in the RWB under the component monitoring, then choose the apdater engine and there a message archiving button shows up.
As the AFW data is held in the JAVA Stack this will archive this data. There is a documentation in help.sap.com how to setup the job etc. This is still a very basic interface to the archiving of the AFW messages and still has flaws. Our basis person has written about 4 times to OSS since when the job breaks you have now cluse why and the SAP experts have to take a look.
Also I believe that the BPM needs archiving, e.g. regular workflow archiving of steps etc.
I hope this helps.
Stefan -
Hi,
When I repeatedly delete table entries and keep entries in dat files (on unix) and retrieve back those entries using sqlldr, the tablespace gets full even though table is empty. After a while, sqlldr fails to load because of tablespace full. If I increase tablespace for those tables, again after a while they gets full. Could anybody please tell me how to free table spaces.
SHAMIM
Software Developer
TaracomNetworksIt's a misconception that if you delete from tables the 'space' is now available. That is not necessary the case.
You also have to take into consideration the parameters that the tablespace was created with. It may be trying to allocation more space than is available.
There is also the problem of fragmentation.
If possible either add another datafile to the tablespace, or export the database , drop the tables, and drop and re-create the tablespace (with more space and parameters exactly as you want)
null
Maybe you are looking for
-
Portege M800-107: Power Management & HDD Protection Utility questions!
Hi all, I own a Toshiba Portege M800-107, I have recently installed windows 7 (ultimate edition), which enhanced my laptop capabilities. The only problems I face are: 1) The Power Management utility, where I have install the required drivers from the
-
Hi can anyone help. I have set up an ipad & ipod using the same itunes account but I now want to unlink them as everything my son downloads appears on my i pod. also i want to change certain e mail accounts? How do i do this , not very technically m
-
Accessing a specific forum gives an error message.
Accessing the forum http://forums.oracle.com/forums/forum.jsp?id=515246 gives the following error message: java.util.MissingResourceException: Can't find resource for base name ebizDG, locale en Thanks.
-
4 playlists on iTunes/PC; only 2 will synch
I have four playlists in iTunes and only two will synch. First I just did a regular synch, the 2 showed up. Then I clicked the songs in the other 2 playlists and ran a synch for checked items. My previously synched playlists disappeared and the other
-
Help! How do I get back to the original set-up? I want to go back to the very beginning, right after install. I've inadvertently made some changes and can't undo. I've tried uninstall/reinstall to no avail. Please help!? I am using the Dreamweaver 8