Parameter of auto extend
Hi all,
I want to create tablespace with auto extend but i 'm not sure the size of parameter "next" for the best performance.
Could you pls advise me.
Thank you for advance.
Chara
994105 wrote:
Hi all,
I want to create tablespace with auto extend but i 'm not sure the size of parameter "next" for the best performance.
Could you pls advise me.
Thank you for advance.
Charais tablespace DMT or LMT?
where do you see AUTO EXTEND for tablespace below?
SQL> desc dba_tablespaces
Name Null? Type
TABLESPACE_NAME NOT NULL VARCHAR2(30)
BLOCK_SIZE NOT NULL NUMBER
INITIAL_EXTENT NUMBER
NEXT_EXTENT NUMBER
MIN_EXTENTS NOT NULL NUMBER
MAX_EXTENTS NUMBER
MAX_SIZE NUMBER
PCT_INCREASE NUMBER
MIN_EXTLEN NUMBER
STATUS VARCHAR2(9)
CONTENTS VARCHAR2(9)
LOGGING VARCHAR2(9)
FORCE_LOGGING VARCHAR2(3)
EXTENT_MANAGEMENT VARCHAR2(10)
ALLOCATION_TYPE VARCHAR2(9)
PLUGGED_IN VARCHAR2(3)
SEGMENT_SPACE_MANAGEMENT VARCHAR2(6)
DEF_TAB_COMPRESSION VARCHAR2(8)
RETENTION VARCHAR2(11)
BIGFILE VARCHAR2(3)
PREDICATE_EVALUATION VARCHAR2(7)
ENCRYPTED VARCHAR2(3)
COMPRESS_FOR VARCHAR2(12)
SQL>
Similar Messages
-
HELP. How do I lock a line to a shape so it will auto extend when dragging the shape?
How do I lock a line to a shape so it will auto extend when dragging the shape? I cant figure out how to turn this feature on and off.
Edit: JET got there first but I believe your problem is not as complex as he would have you believe :-)
Complex? What is simpler for the user than being able to connect pre-shaped text frames (not limited to Illustrator's silly Convert To Shape options) with rules, and then be able to move the text frames and have the rules auto-adjust (automatically avoiding other objects, automatically reshaping right-angle bends, etc. etc,) accordingly. What's "complex" about drawing a flowchart?
One can properly construct a dozen such diagrams in a program that provides proper connector lines in the time it takes to fuss and twiddle with Illustrator for such a simple task. FreeHand, Draw, Canvas, Visio all provide connector lines features.
The diagramming features in the draw module of Open Office is as good as any of them for the purpose of mundane decision tree diagrams, org charts, and flowcharts; and OpenOffice can be had for free. The same is true of Inkscape. You can download and install either one in less time than it will take to build a single typical such diagram in Illustrator. Using such tools is vastly more intuitive for a beginner than futzing about with Illustrator's "direct selection" routines.
JET -
Auto Extend is on , but maximum file size is 3276MB
Dear Experts,
small Doubt , Auto Extend is on in my DB . it is automaticaly extending the table space when datafile is full , increment size is 10240 KB. but my doubt is what is maximum file size it is showing 3276MB . what happend if we reach there?
ArunYour datafile max size is set to 3276 mb (3.19GB).
Once your datafile reaches the specified limit, you need to add more space to tablespace by adding additional datafiles.
In your case you can set maxsize to unlimited by altering(For 8k block max size of datafile could be around 32 gb)
SQL> create tablespace autoextend datafile '+TEST' size 50m autoextend on maxsize 1g;
Tablespace created.
Created tablespace with datafile autoextend on and maxsize 1G;
SQL> select file_name,file_id from dba_data_files where tablespace_name='AUTOEXTEND';
FILE_NAME
FILE_ID
+TEST/clonev/datafile/autoextend.1346.790792253
139
SQL> select autoextensible,maxbytes/1024/1024/1024 "G" from dba_data_files where tablespace_name='AUTOEXTEND';
AUT Gb
YES 1
SQL> alter database datafile 139 autoextend on maxsize 2g;
Database altered.
SQL> select autoextensible,maxbytes/1024/1024/1024 "G" from dba_data_files where tablespace_name='AUTOEXTEND';
AUT G
YES 2
We changed maxsize from 1G to 2G
SQL> alter database datafile 139 autoextend on maxsize unlimited;
Database altered.
SQL> select autoextensible,maxbytes/1024/1024/1024 "G" from dba_data_files where tablespace_name='AUTOEXTEND';
AUT G
YES 31.9999847
You could see maxsize limit of 32GB,
you can check following note
What is The Maximum Datafile Size Limit In Oracle Database 10gR2 [ID 804733.1] -
SUM tool unable to detect auto extend and space in DB
Hi SAP,
We have started update on our ECC Dev system using SUM10 SP09 and it showed up an error during extraction phase stating auto extend is not enabled and also insufficient space in DB.
hnpclecd:ecdadm 62> cat SYBSPACE.LOG
SCRIPT SYBSPACE
=================
auto extend feature is not set
Msg 3606, Level 16, State 0:
Server 'ECD', Line 41:
Arithmetic overflow occurred.
======================================================
We have enabled auto extend mode with below commands :
exec sp_dbextend 'set', 'device', ECD_data_001, '10m', '512m'
exec sp_dbextend 'set', 'device', ECD_data_002, '10m', '512m'
exec sp_dbextend 'set', 'device', ECD_log_001, '10m', '512m'
exec sp_dbextend 'set', 'device', ECD_log_002, '10m', '512m'
exec sp_dbextend 'set', 'device', ECD_log_003, '10m', '512m'
exec sp_dbextend 'modify', 'device', 'default', 'growby', '3m'
exec sp_dbextend 'set', 'database', ECD, 'default', '5m'
exec sp_dbextend 'set', 'database', ECD, 'logsegment', '4m', '100m'
exec sp_dbextend 'list', 'database', ECD
And sp_dbextend list also returns appropriate values.
1> exec sp_dbextend 'list', 'device', "ECD%"
2> go
name segment
item value
status
server-wide (n/a)
(n/a) (n/a)
enabled
ECD_data_001 (n/a)
growby 10m
enabled
ECD_data_001 (n/a)
maxsize 512m
enabled
ECD_data_002 (n/a)
growby 10m
enabled
ECD_log_001 (n/a)
growby 10m
enabled
ECD_log_002 (n/a)
growby 10m
enabled
ECD_log_003 (n/a)
growby 10m
enabled
(return status = 0)
1>
And sp_helpdb also shows there is enough space available:
device_fragments size usage
created free kbytes
ECD_data_001 90112.0 MB data only
Feb 5 2014 12:32AM 11653104
ECD_log_001 10240.0 MB log only
Feb 5 2014 12:32AM not applicable
ECD_log_002 1024.0 MB log only
Apr 12 2014 6:30PM not applicable
ECD_log_003 512.0 MB log only
Apr 13 2014 1:05AM not applicable
ECD_log_003 100.0 MB log only
Apr 13 2014 1:21PM not applicable
ECD_data_002 30720.0 MB data only
Apr 13 2014 10:14PM 31241520
ECD_log_003 100.0 MB log only
Apr 13 2014 10:19PM not applicable
ECD_data_002 10240.0 MB data only
Apr 13 2014 10:27PM 10444800
ECD_log_003 200.0 MB log only
Apr 13 2014 10:28PM not applicable
ECD_log_003 100.0 MB log only
Apr 14 2014 3:27AM not applicable
ECD_log_003 100.0 MB log only
Apr 14 2014 5:01AM not applicable
ECD_data_002 10240.0 MB data only
Apr 25 2014 1:15AM 10444800
log only free kbytes = 12592896
But still we are unable to proceed. Please let us know if correct procedure has been followed for auto extend.
Please help urgently!!!
Regards,
Srikanth GThe image shows a database/panic error and no sign of an actual number indicating space available in the database. Then there's this:
hnpclecd:ecdadm 62> cat SYBSPACE.LOG
SCRIPT SYBSPACE
=================
auto extend feature is not set
Msg 3606, Level 16, State 0:
Server 'ECD', Line 41:
Arithmetic overflow occurred.
======================================================
I'm guessing ...
The SYBSPACE script is suppose to generate some numbers indicating space usage for the database in question.
But the SYBSPACE script runs into an error so it fails to generate the space usage numbers that SUM is looking for.
SUM is proceeding as if the lack of space usage numbers is an indication of no free space in the database, as opposed to aborting the entire process because of the SYBSPACE error.
Fix the code that's generating the error in the SYBSPACE script and you'll probably find that SUM is then able to accurately assess the state of your database.
The code that's generating the error (3606, arithmetic overflow) definitely needs to be fixed by SAP (ie, open a tech support case with SAP) but in the meantime if you've got access to the SYBSPACE script, and you understand T-SQL, you could probably fix the SYBSPACE script so that you can continue with your SUM operation. -
No "Auto Extend" option for tablespace files in sqldeveloper 4.0
In Create Tablespace > File specification tab there is no “Auto Extend” option anymore in sql developer 4.0 (still present in 3.2). Maybe someone knows how to enable it if I missed something in configuration?
Here is an illustration:
http://i.piccy.info/i9/7c8d7a842786c5e2d07fb07464948813/1387918107/43886/670008/screen_14.png
Thanks.Oh, really? Before rising this question I tried to search everywhere and did not find any mention of this defect. Thank you for confirm this.
-
Dear All ,
PSAPSR3 is auto extended as well as we have more space in file system level,even though PSAPSR3 is not autoextended.
let me know how can i resolve my problem.
PSAPSR3 249,520.00 10,190.38 96 YES 250,000.00 10,670.38 96 25 157,305 229,300 ONLINE PERMANENT
used % 96 and total used also 96%
Kindly suggets.
Edited by: satheesh0812 on Jan 7, 2011 5:04 PM
Edited by: satheesh0812 on Jan 7, 2011 5:05 PMHi,
a datafile can do a maximum autoextend up to 32 G.
The standard installation sets the upper limit to 10000M.
Obviously you have 25 datafiles that can grow up to 10000M and the actual size is already 249520M.
So no real potential to grow any more (just 480M left).
So either
a) add three new datafiles of size 2000M that can also grow up to 10000M
or
b) set your existing datafiles to an upper limit of i.e. 12000M (with brtools -> turn on and maintain autoextend for each datafile).
Now lets check the maths
a) would set the total size to 249520M + 6000M and the total autoextensible size to 250000+30000M
and that would mean 93,5% real and ~85,5% autoextend utilization.
Doing this would require potentially 30G freespace in your filesystem
b) Would leave the total size untouched for now and set the autoextensible size to 25*12000M
bumping down the autoextend utilisation to 75%. This would require potentially 50G freespace in your filesystem.
Best regards
Volker -
Turns An Existing Fixed Size Datafile To Auto Extendable
Hi
I wish to have a sql statement which turns an existing fixed size datafile to auto extendable.
Wishes
JawadAn example from my test DB :
SYS@db102 SQL> alter database datafile '/home/ora102/oradata/db102/test01.dbf'
2 autoextend on next 5M maxsize 100M;
Database altered.
SYS@db102 SQL> -
Auto Extend Feature - New?
Hello,I just set a recording for the NASCAR race on Sunday, August 9 on NBCSN using the Guide. When selecting the options to extend the program, one of the choices was Auto Extend. I have not seen this before. How does it work? Will it really record to the end of the program if it runs over? Previously, to extend future programs for several hours, I had to set recordings for the programs after. Nothing is more disappointing that investing time watching an event only to have it run late and not see the end. Thanks in advance.
Yes it is new. Unfortunately in my case it is not working and cannot be trusted...
http://corporate.comcast.com/comcast-voices/new-this-month-on-x1-elevating-sports-programming-and-simplifying-troubleshooting
char2014 wrote:
Hello,I just set a recording for the NASCAR race on Sunday, August 9 on NBCSN using the Guide. When selecting the options to extend the program, one of the choices was Auto Extend. I have not seen this before. How does it work? Will it really record to the end of the program if it runs over? Previously, to extend future programs for several hours, I had to set recordings for the programs after. Nothing is more disappointing that investing time watching an event only to have it run late and not see the end. Thanks in advance. -
I have a layer that extends as content goes beyond the
initial size settings. (auto) When editing the content in design
mode I can not see beyond the original size of the layer although
the borders are extended as needed. The text is there but not
viewable. I think I am missing a setting like view all or
something.
If anyone has suggestions other that stay away from layers
;-) please share ....
JCDouble click on the content.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"jhcaron" <[email protected]> wrote in
message
news:ejvpfj$ehs$[email protected]..
>I have a layer that extends as content goes beyond the
initial size
>settings.
> (auto) When editing the content in design mode I can not
see beyond the
> original size of the layer although the borders are
extended as needed.
> The
> text is there but not viewable. I think I am missing a
setting like view
> all
> or something.
>
> If anyone has suggestions other that stay away from
layers ;-) please
> share
> ....
>
> JC
> -
Hello,
In PRD: PSAPSR3 tablespace is consisting with 9 Data Files and it is in AutoExtened YES mode
All Datafiles are set to MAXSIZE as 10000 MB - with auto extensible yes
Currently 5 of the DataFiles reached to its maxsize.
So other 4 DataFiles is currently getting the data.
(sr3.data1 - 5250 MB used,
sr3.data3 - 5780 MB used,
sr3.data5 - 6250 MB used,
sr3.data7 - 5900MB used)
What will happen when those 4 data files also reached to its MAX Size. (i.e: to 10000 MB)
Will that automatically add a new datafile? (like sr3.data10)
Or else
Before reaching to its MAX size do we need to add a datafile manually and increase the Tablespace Size?
regards,Hi,
Will that automatically add a new datafile? (like sr3.data10)
You will have to add the datafiles manually using BRTools.
Keeping the autoextend in ON mode in production environment may lead to a situation where we do not have free disk space to add a datafile to the tablespaces. In such a situation all ur operations will be stopped until u add the disk space. So, in a PRODUCTION environment it is always better to have the datafiles in autoextend OFF mode and monitor the datafile/DB growth periodically(daily/weekly) to avoid a situations when the entire disk space is filled up.
Hope this helps.
Regards,
Varadharajan M -
HOW TO VIEW THE ENABLED AUTO EXTENDS FOR THE DBF
HI,
CAN YOU TELLME WHICH VIEW HELPS TO VIEW THE ENABLED AUTOEXTENDS FOR DBF.
Thanks in advance
cgprasadHi,
PROD.SQL>DESC DBA_DATA_FILES
Name Null? Type
FILE_NAME VARCHAR2(513)
FILE_ID NUMBER
TABLESPACE_NAME VARCHAR2(30)
BYTES NUMBER
BLOCKS NUMBER
STATUS VARCHAR2(9)
RELATIVE_FNO NUMBER
AUTOEXTENSIBLE VARCHAR2(3)
MAXBYTES NUMBER
MAXBLOCKS NUMBER
INCREMENT_BY NUMBER
USER_BYTES NUMBER
USER_BLOCKS NUMBER Regards,
Yoann. -
Resetting maxbytes in data files with auto extend on
my system datafile crossed max size
one temp file reached max size.
need to reset the maxbytes column i think i need to execute like below
alter database datafile X autoextend off;
alter database datafile X autoextend on maxbytes <new value>;
Am i correct ?Raman wrote:
my system datafile crossed max sizeThis shows that your system datafile is with autoextend off?
one temp file reached max size.
need to reset the maxbytes column i think i need to execute like below
alter database datafile X autoextend off;
alter database datafile X autoextend on maxbytes <new value>;
You can just use the second command to change your maxbytes. No neet to make autoextend off for this.
Am i correct ?Regards
Anurag -
Determine class type of Generic Parameter (not via getGenericSuperclass()!)
I need to know the class type of a generic Parameter. Please imagine this class:
class MyGenericClass<T>
}In cases where other classes derived from MyClass and defined the generic parameter (like MyDerivedClass extends MyGenericClass<String>),
this snippets works just fine:
(Class<T>) ((ParameterizedType) getClass().getGenericSuperclass()).getActualTypeArguments()[0];But now I have no inheritance but the definition of the type parameter via instantiation:
MyGenericClass<String> entity = new MyGenericClass<String>();The method "getGenericSuperclass()" does not suit my needs because it does not target the actual class. Nor can "getTypeParameters() " help me...
After countless trying to retrieved the type information, I still have no clue how to determine for that case that (in my example) the type parameter
is a 'String'.
Does anyone know the solution?Serethos_0 wrote:
Sure I could pass the class type itself as parameter to be stored in 'exportClassType'. But I only tried to adapt the idea used e.g. in Generic DAOs
as descibed here: [http://community.jboss.org/wiki/GenericDataAccessObjects]. The big difference is, that in the Generic DAO example the typed
information is available within the class definition ..
Besides that I am open for any other suggestion!I would recommend passing around the Class object as you say.
Some might suggest that you make MyGenericClass abstract, forcing any instantiation to be like this:
MyGenericClass<String> entity = new MyGenericClass<String>() {};That would indeed cause the String type parameter to be available at runtime, since you're creating an anonymous inner class. But it leads to a convoluted and extremely statically expensive instantiation pattern. Using the class object is a better solution IMO. -
Questions in dbms_stats parameter
Hello, I am using oracle9i.
I have couple of questions when i read this help...
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_stats.htm#i1036461
I would appreciate if any one could answers my questions.
Question1
=======
Method_opt parameter.
- AUTO : Oracle determines the columns to collect histograms based on data distribution and the workload of the columns.
- SKEWONLY : Oracle determines the columns to collect histograms based on the data distribution of the columns.
I understand about SKEWONLY. In AUTO determine the column based on data distribution and workload of the columns... What is workload of the column? Is this based on how many queries run based on that column? How does oracle track this?
Question2
======
Method_opt Parameter.
SIZE integer
My understanding is, when we specify size 1, then it creates only one bucket. Even though, we have more then one distinct value in the column.
Let us say, we have 10 distinct values in a column, if we specify SIZE 5, then it creates only 5 bucket. But we have 10 distinct values... How does this work in this scenario?
Let us say, we have 5 distinct values in a column, if we specify SIZE 10, then it creates 10 bucket. But we have 5 distinct values... How does this work in this scenario?There is a table called col_usage$ that stores information about column usage. The dbms_stats package uses this to determine whether on not a histogram will be gathered on a given column. How it determines whether or not to gather histograms from the given data I don't know exactly.
size 1 means that there is no histogram as all values are in a single bucket.
10 Distinct values and only 5 buckets, means you get height balanced histograms and you will evenly spread sampled values through the buckets.
You will have a max and min values. The optimizer uses a formula which estimates selectivity by a range of factors such as min max value in a bucket, size of the bucket, number of values per bucket, and how popular a given value is(number of buckets value appears in)
5 Distinct values and 10 buckets, give you a frequency histograms. You will only have 5 buckets each with 1 value. There is no point in having an empty bucket. Frequency histograms are more accurate as the exact number of occurrences of a given value are known. They calculate selectivity based on the number of occurrences of a value per bucket over the total number of occurrences of all values. -
Oracle 10g is an auto managed database. Why ?
Oracle 10g is an auto managed database. Why ?
I have read that with 10g version, Oracle database will need very less management, since it can be configured to automanage itself. Sounds not believable.
Apart from auto extending tablespaces, what others tasks can be automanaged in Oracle DB 10 G release ?
Please discuss.
GonyWow I feel like I'm back in college... are you in school?
How about ASSM?
All kinds of things on that from google.
http://www.google.com/search?hl=en&rlz=1C1GGLS_enUS291US303&q=oracle+assm&aq=f&oq=&aqi=g3
http://www.google.com/search?hl=en&rlz=1C1GGLS_enUS291US303&q=automating+oracle+databases&aq=f&oq=&aqi=
P.S. What is this all about? RMAN - Gony's reading task for 07/11/2009
Edited by: TimS on Jul 10, 2009 4:26 PM
Maybe you are looking for
-
Adobe files not updated in Windows 7
This is an ongoing source of irritation ... when working on Indesign, Photoshop files, and I save changes, the new date isn't saved, the file always retains the original date. This is a pain since I usually search for the most recent files first. Any
-
REM Backflush (MFBF)
Hi all In REM during confirmation at transaction MFBF the planned order is confirmed and one Material doc is generated but same time the corresponding planned order no vanishes. Find out where the same planned order can be traced out after confirmati
-
New user and having a hard time with searches
Our company got SB1 several months ago and I've only been using it recently. I also don't think we are using it correctly. We have been assigning some customers as "showroom customer" when we think they are only buying once, or making small purchases
-
Are there any performance implications for archive log in DWH? Is it recommended to enable archive log in DWH?
-
Workflow for authorization requests
Hi First of all I don't normally work with SAP security and authorizations, so please tell me if my question is in wrong forum. My question Does any Workflow for authorization requests exist. If I search SDN and google, I get lots of hits about autho