Assm question

Hi experts,
I was just studying some questions and answers about 11g, the book says "B" is the correct answer, however I think "C".
What do you think ?
In Oracle 11g, by default which one of the following conditions implicitly enables Automatic PGA
Memory Management?
A. Setting a nonzero value for SGA_TARGET
B. Configuring Automatic Shared Memory Management
C. Configuring Automatic Memory Management
D. Setting a nonzero value for SGA_MAX_SIZE and PGA_AGGREGATE_TARGET
E. None of the above
Answer: B

ASMM
The Oracle Automatic Shared Memory Management is a feature that automatically readjusts the sizes of the main pools.
refer to http://www.dba-oracle.com/t_automatic_shared_memory_management.htm
So you are right . casue it's a 10g future and use to configure SGA.not PGA
Edited by: Longfei Wei on Jan 26, 2011 8:31 AM

Similar Messages

  • A Question for ASSM Experts

    Hello,
    Oracle version 10.2.0.4
    Block size 16k
    I have a locally managed tablespace, with uniform extent size of 128k and SSM set to AUTO. My tablespace is called rj_test_X128K in the following test:
    dba@TEST> create table dba.rj_del_ins_test
      2  tablespace rj_test_X128K
      3  as
      4  select *
      5  from table
      6  where PK_COL > 1135268669
      7  and PK_COL is not null;
    Table created.
    dba@TEST> exec dbms_stats.gather_table_stats('dba', tabname=>'RJ_DEL_INS_TEST',estimate_percent => 100, method_opt => 'FOR ALL COLUMNS SIZE 1', cascade=>TRUE);
    PL/SQL procedure successfully completed.
    dba@TEST> select TABLE_NAME, FREELISTS, NUM_ROWS, BLOCKS, EMPTY_BLOCKS, AVG_SPACE, AVG_ROW_LEN, NUM_FREELIST_BLOCKS
      2  from dba_tables
      3  where table_name = 'RJ_DEL_INS_TEST';
    TABLE_NAME                      FREELISTS   NUM_ROWS     BLOCKS EMPTY_BLOCKS  AVG_SPACE AVG_ROW_LEN NUM_FREELIST_BLOCKS
    RJ_DEL_INS_TEST                                84217        868            0          0         141           0
    dba@TEST> delete from dba.rj_del_ins_test
      2  where PK_COL > 1135268669
      3  and mod(PK_COL,20) = 10;
    4143 rows deleted.
    dba@TEST> commit;
    Commit complete.
    dba@TEST> exec dbms_stats.gather_table_stats('dba', tabname=>'RJ_DEL_INS_TEST',estimate_percent => 100, method_opt => 'FOR ALL COLUMNS SIZE 1', cascade=>TRUE);
    PL/SQL procedure successfully completed.
    dba@TEST> select TABLE_NAME, FREELISTS, NUM_ROWS, BLOCKS, EMPTY_BLOCKS, AVG_SPACE, AVG_ROW_LEN, NUM_FREELIST_BLOCKS
      2  from dba_tables
      3  where table_name = 'RJ_DEL_INS_TEST';
    TABLE_NAME                      FREELISTS   NUM_ROWS     BLOCKS EMPTY_BLOCKS  AVG_SPACE AVG_ROW_LEN NUM_FREELIST_BLOCKS
    RJ_DEL_INS_TEST                                80074        868            0          0         141           0
    dba@TEST> insert into dba.rj_del_ins_test
      2  select *
      3  from table
      4  where PK_COL > 1135268669
      5  and PK_COL is not null
      6  and mod(PK_COL,20) = 6;
    4277 rows created.
    dba@TEST> commit;
    Commit complete.
    dba@TEST>
    dba@TEST> exec dbms_stats.gather_table_stats('dba', tabname=>'RJ_DEL_INS_TEST',estimate_percent => 100, method_opt => 'FOR ALL COLUMNS SIZE 1', cascade=>TRUE);
    PL/SQL procedure successfully completed.
    dba@TEST> select TABLE_NAME, FREELISTS, NUM_ROWS, BLOCKS, EMPTY_BLOCKS, AVG_SPACE, AVG_ROW_LEN, NUM_FREELIST_BLOCKS
      2  from dba_tables
      3  where table_name = 'RJ_DEL_INS_TEST';
    TABLE_NAME                      FREELISTS   NUM_ROWS     BLOCKS EMPTY_BLOCKS  AVG_SPACE AVG_ROW_LEN NUM_FREELIST_BLOCKS
    RJ_DEL_INS_TEST                                84351        911            0          0         141           0I notice that the number of blocks increases even though I am only inserting very few additional rows - 134 to be exact. Using the avg. row length of 141, that takes me to 134*141 = 18894bytes; just over 1 block. I get an increase of 43 blocks. Any ideas why?
    I understand that there is a management overhead in terms of space usage when using ASSM, but I don't understand why there is such an increase in the number of blocks when I would have thought that the blocks were already allocated in the inital table creation stage. If I had inserted thousands more rows, I would understand the jump in block usage, but not with 134.
    Here are the results of the DBMS_SPACE.SPACE_USAGE procedure
    UNF         0
          UNFB         0
           FS4         0
          FS4B         0
           FS3         0
          FS3B         0
           FS2         0
          FS2B         0
           FS1         2
          FS1B     32768
          FULL       891
         FULLB  14598144
    FS1
    Number of blocks that has at least 0 to 25% free space
    FS1B
    Number of bytes that has at least 0 to 25% free space
    FULL
    Total number of blocks that are full in the segment
    FULLB
    Total number of bytes that are full in the segmentI used the DBMS_SPACE.UNUSED_SPACE procedure and got these results:
    TOTAL_BLOCKS    912
    TOTAL_BYTES        14942208
    UNUSED_BLOCKS   0
    UNUSED_BYTES    0
      LASTEXTF      251
    LAST_EXTB      909
    LASTUSEDBLOCK   8
    Definitions taken from the docs:
    total_blocks
    Returns total number of blocks in the segment.
    total_bytes
    Returns total number of blocks in the segment, in bytes.
    unused_blocks
    Returns number of blocks which are not used.
    unused_bytes
    Returns, in bytes, number of blocks which are not used.
    last_used_extent_ file_id
    Returns the file ID of the last extent which contains data.
    last_used_extent_ block_id
    Returns the starting block ID of the last extent which contains data.
    last_used_block
    Returns the last block within this extent which contains data.Further to this, here are how the stats look after the deletion and insert, shown in two stage:
    # After deletion
    FULL      850
    FULLB     13926400
    TOTAL_BLOCKS              872
    TOTAL_BYTES             14286848
    UNUSED_BLOCKS           4
    UNUSED_BYTES            65536
    LASTEXTF                 251
    LAST_EXTB            869
    LASTUSEDBLOCK            4
    109 extents
      NUM_ROWS     BLOCKS
         80074        868
    # After Insert
    FS1              1
    FS1B          16384
    FULL            892
    FULLB           14614528
    TOTAL_BLOCKS              912
    TOTAL_BYTES             14942208
    UNUSED_BLOCKS           0
    UNUSED_BYTES                0
    LASTEXTF                 251
    LAST_EXTB            909
    LASTUSEDBLOCK           8
    114 extents
    NUM_ROWS     BLOCKS
        84351        911So, can anyone come up with an explanation as to why this is happening?
    Or perhaps some further testing that I can do to see what the blocks are being used for?
    Thanks
    Rob

    Hi Randolf,
    I used the values 0 and 99 for PCTFREE and PCTUSED, respectively. Hmmm, perhaps my use of the word appropriate wasn't so appropriate after all...
    I wasn't aware of how Oracle decided a block's "freeness" before, so that is something new to me. Here is the information that you asked for.
    TEST 1
    ASSM tablespace, using default params for table, i.e. PCTFREE 10%
    # After creating the table
    -- output from dba_tables
      NUM_ROWS     BLOCKS
         84217        868
    -- Output from DBMS_SPACE.SPACE_USED
           UNF         0
          UNFB         0
           FS1         0
          FS1B         0
           FS2         0
          FS2B         0
           FS3         0
          FS3B         0
           FS4         0
          FS4B         0
          FULL       850
         FULLB  13926400
    -- Output from DBMS_SPACE.UNUSED_SPACE
    TOTAL_BLOCKS    872
    TOTAL_BYTES        14286848
    UNUSED_BLOCKS   4
    UNUSED_BYTES    65536
      LASTEXTF      251
    LAST_EXTB      869
    LASTUSEDBLOCK     4
    # After the deletion
    -- output from dba_tables
      NUM_ROWS     BLOCKS
         80074        868
    -- Output from DBMS_SPACE.SPACE_USED
           UNF         0
          UNFB         0
           FS1         0
          FS1B         0
           FS2         0
          FS2B         0
           FS3         0
          FS3B         0
           FS4         0
          FS4B         0
          FULL       850
         FULLB  13926400
    -- Output from DBMS_SPACE.UNUSED_SPACE
    TOTAL_BLOCKS    872
    TOTAL_BYTES        14286848
    UNUSED_BLOCKS   4
    UNUSED_BYTES    65536
      LASTEXTF      251
    LAST_EXTB      869
    LASTUSEDBLOCK     4Randolf, you are right; the blocks are still showing as FULL and therefore new blocks will be used for the subsequent insert. This, I presume, is a result of the "freeness" factor which you mentioned before.
    TEST 2
    MSSM tablespace using PCTFREE 10 and PCTUSED 75
    dba@TEST> create table dba.rj_del_ins_test PCTFREE 10 PCTUSED 75
      2  tablespace tbs_tables_X128K
      3  as
      4  select *
      5  from table
      6  where PK_COL > 1135268669
      7  and PK_COL is not null;
    Table created.
    dba@TEST> exec dbms_stats.gather_table_stats('dba', tabname=>'RJ_DEL_INS_TEST',estimate_percent => 100, method_opt => 'FOR ALL COLUMNS SIZE 1', cascade=>TRUE);
    PL/SQL procedure successfully completed.
    dba@TEST> select TABLE_NAME, FREELISTS, NUM_ROWS, BLOCKS, EMPTY_BLOCKS, AVG_SPACE, AVG_ROW_LEN, NUM_FREELIST_BLOCKS
      2  from dba_tables
      3  where table_name = 'RJ_DEL_INS_TEST';
    TABLE_NAME                      FREELISTS   NUM_ROWS     BLOCKS EMPTY_BLOCKS  AVG_SPACE AVG_ROW_LEN NUM_FREELIST_BLOCKS
    RJ_DEL_INS_TEST                         1      84217        849            0          0         141           0
    dba@TEST> delete from dba.rj_del_ins_test
      2  where PK_COL > 1135268669
      3  and mod(PK_COL,20) = 10;
    4143 rows deleted.
    dba@TEST> commit;
    Commit complete.
    dba@TEST> exec dbms_stats.gather_table_stats('dba', tabname=>'RJ_DEL_INS_TEST',estimate_percent => 100, method_opt => 'FOR ALL COLUMNS SIZE 1', cascade=>TRUE);
    PL/SQL procedure successfully completed.
    dba@TEST> select TABLE_NAME, FREELISTS, NUM_ROWS, BLOCKS, EMPTY_BLOCKS, AVG_SPACE, AVG_ROW_LEN, NUM_FREELIST_BLOCKS
      2  from dba_tables
      3  where table_name = 'RJ_DEL_INS_TEST';
    TABLE_NAME                      FREELISTS   NUM_ROWS     BLOCKS EMPTY_BLOCKS  AVG_SPACE AVG_ROW_LEN NUM_FREELIST_BLOCKS
    RJ_DEL_INS_TEST                         1      80074        849            0          0         141           0
    dba@TEST> insert into dba.rj_del_ins_test
      2  select *
      3  from table
      4  where PK_COL > 1135268669
      5  and PK_COL is not null
      6  and mod(PK_COL,20) = 6;
    4277 rows created.
    dba@TEST> commit;
    Commit complete.
    dba@TEST> exec dbms_stats.gather_table_stats('dba', tabname=>'RJ_DEL_INS_TEST',estimate_percent => 100, method_opt => 'FOR ALL COLUMNS SIZE 1', cascade=>TRUE);
    PL/SQL procedure successfully completed.
    dba@TEST> select TABLE_NAME, FREELISTS, NUM_ROWS, BLOCKS, EMPTY_BLOCKS, AVG_SPACE, AVG_ROW_LEN, NUM_FREELIST_BLOCKS
      2  from dba_tables
      3  where table_name = 'RJ_DEL_INS_TEST';
    TABLE_NAME                      FREELISTS   NUM_ROWS     BLOCKS EMPTY_BLOCKS  AVG_SPACE AVG_ROW_LEN NUM_FREELIST_BLOCKS
    RJ_DEL_INS_TEST                         1      84351        892            0          0         141           0As you can see, TEST 2 shows that when using the representative parameters for PCTFREE and PCTUSED in MSSM to those of ASSM we get a comparable outcome to using ASSM.
    So, regardless of what I set PCTFREE to in ASSM tablespace a block still has to have more than 25% free space to be a candidate for new inserts? Is there a way of changing this behaviour; is it just a hit you have to take for using ASSM or is there a logical reason behind it that I've missed?

  • Question about statement for all entries

    Hi Abap experts,
    I have a question concerning the ABAP statement for all entries.
    Explanations:
    Let’s say that my source package (Source table) contains 2 types of data:
    -type1
    -type2
    I would like to use the statement select from table into internal table
    For all entries in source package
    But the where statement changes depending on the data type (2 keys when data type is 1 and only 1 key when data type is 2) .
    So that would be:
    Type1:
    Select fields
    From table into internal table
    Where field1 = source_package-field1
    And field2 = source_package-field2.
    Type2:
    Select fields
    From table into internal table
    Where field1 = source_package-field1
    How can I merge them assming that the field od data type is ftype?
    Thanks.
    Amine

    Hi amine,
    i think this is helpful for you.
    there are 2 ways  to use the for all entries...
    1. with header line:  this method is old one. in this method the internal table (ITAB) is automatically create workarea (WA) with same name, this method 1 drawback is there where we can use WA and ITAB confused that's why this is come difficult.
    2. without header line : this is nowadays we can use this method. in this method we create separate ITAb and WA. very clear this method.
    EXAMPLES:
    1.WITH HEADER LINE METHOD:
    PARAMETERS p_kunnr TYPE kna1-kunnr.
    DATA:it_kna1 LIKE kna1 OCCURS 0 WITH HEADER LINE,
          it_adrc LIKE adrc OCCURS 0 WITH HEADER LINE,
          it_adr2 LIKE adr2 OCCURS 0 WITH HEADER LINE,
          it_adr6 LIKE adr6 OCCURS 0 WITH HEADER LINE.
    START-OF-SELECTION.
       SELECT * FROM kna1 INTO TABLE it_kna1
          UP TO 100 ROWS.
       IF NOT it_kna1[] IS INITIAL.
         SELECT * FROM adrc INTO TABLE it_adrc
         FOR ALL ENTRIES IN it_kna1
         WHERE addrnumber = it_kna1-adrnr.
       ENDIF.
       IF NOT it_adrc[] IS INITIAL.
         SELECT * FROM adr2 INTO TABLE it_adr2
         FOR ALL ENTRIES IN it_adrc
         WHERE  addrnumber = it_adrc-addrnumber.
       ENDIF.
       IF NOT it_adr2[] IS INITIAL.
         SELECT * FROM adr6 INTO TABLE it_adr6
         FOR ALL ENTRIES IN it_adr2
         WHERE  addrnumber = it_adr2-addrnumber.
       ENDIF.
       LOOP AT it_kna1.
         READ TABLE it_adrc WITH KEY addrnumber = it_kna1-adrnr.
         IF sy-subrc = 0.
         ENDIF.
         READ TABLE it_adr2 WITH KEY addrnumber = it_kna1-adrnr.
         IF sy-subrc = 0.
         ENDIF.
         READ TABLE it_adr6 WITH KEY addrnumber = it_kna1-adrnr.
         IF sy-subrc = 0.
         ENDIF.
         WRITE : it_kna1-kunnr, it_kna1-name1, it_adrc-city1, it_adrc-street, it_adrc-po_box_reg,
                      it_adr2-telnr_long, it_adr6-smtp_addr.
       ENDLOOP.
    2. WITH OUT HEADER LINE:
    TABLES: KNA1 , ADRC.
    DATA : IT_KNA1 TYPE STANDARD TABLE OF KNA1,
            IT_ADRC TYPE STANDARD TABLE OF ADRC,
            WA_KNA1 TYPE KNA1,
            WA_ADRC TYPE ADRC.
    DATA: BEGIN OF STRTYPE ,
           CUSTMERNO LIKE KNA1-KUNNR,
           FIRSTNAME LIKE KNA1-NAME1,
           LASTNAME  TYPE NAME2,
           CITY TYPE ORT01,
           STATE TYPE REGIO,
           COUNTRY TYPE LAND1,
           ADDRESS LIKE ADRC-ADDRNUMBER,
           END OF STRTYPE.
    DATA : IT_1 LIKE TABLE OF STRTYPE.
    SELECT-OPTIONS  K_kunnr FOR kna1-kunnr NO-EXTENSION.
    SELECT * FROM KNA1 INTO TABLE IT_KNA1 WHERE KUNNR IN K_KUNNR.
    IF NOT IT_KNA1[] IS INITIAL.
    SELECT * FROM ADRC INTO WA_ADRC FOR ALL ENTRIES IN IT_KNA1 WHERE ADDRNUMBER = IT_KNA1-ADRNR.
    ENDSELECT.
    ENDIF.
    LOOP AT IT_KNA1 INTO WA_KNA1.
       READ TABLE IT_ADRC INTO WA_ADRC WITH KEY ADDRNUMBER = WA_KNA1-ADRNR.
       IF SY-SUBRC = 0.
           STRTYPE-ADDRESS = WA_ADRC-ADDRNUMBER.
       ENDIF.
    APPEND  STRTYPE TO IT_1.
       WRITE : / WA_KNA1-KUNNR, WA_KNA1-NAME1, WA_KNA1-NAME2, WA_KNA1-ORT01, WA_KNA1-REGIO, WA_KNA1-LAND1, WA_ADRC-ADDRNUMBER.
    ENDLOOP.
    regards,
    roopa.k

  • Oracle Block Size - question for experts

    Hi ,
    For years i thought that my system block size was 8K.
    Lately due to an HPUX Bug i found that the file system block size is gust .... 1K
    (HP DocId: DCLKBRC00006913 fstyp(1m) returns unexpected block size (f_bsize) for VXFS )
    My instance is currently 10204 but previously was 7.3 --> 8 --> 8174 --> 10204.
    Since its old instance its block size is gust 4kb.
    We are planing to create new file system block size of 8k.
    The instance size is about 2 TB.
    Creating the whole database with 8 kb is impossible since its 24*7 instance.
    Do you think that i sould move gust few important tables to a new tablespace with 8k block size , or should i leave it with 4 kb ?
    Thanks

    Given that your Oracle Database Block_Size (4K) is a multiple of the FileSystem Block_Size (1K), there should be no inherent significant issue, as such.
    Yes, it would have been nice to have an 8KB Oracle Database Block_Size but whether you should recreate your FileSystems to 8KB is a difficult question. There would be implications on PreFetch that the OS does and on how the underlying Storage (must be a SAN, I presume) handles those requests.
    A thorough test (if you can setup a test environment for 2TB such that it does NOT share the same HW, doesn't complicate PreFetches in the existing SAN) would be well adviced.
    Else, check with HP and Veritas support if there are known issues and/or any Desupport plans for this combination ?!
    Oracle, obviously, would have issues with Index Key Length sizes if the Block Size is 4KB. Presumably you do not need to add any new indexes with very large keys.
    Having said that, you would have read all those posts about how Oracle doesn't (or really does ?) test every different block-size ! However, Oracle had, before 8i, been using 2K and 4K block sizes. Except that the new features (LMT, ASSM etc) may not have been well tested.
    Since you upgraded from 7.3 in place without changing the Block_Size, I would venture to say that your database is still using Dictionary Managed and Manual Allocation and Segment Space Management Manual ?
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Working of LMT datafile and ASSM bitmaps + data-dictionary

    Hi,
    I was looking to have some clarification on effective changes that take place within the database during a datafile addition/resize in a LMT. Hence what are the scenarios where a datafile resize would be better than a datafile addition and vice-versa?
    I have not been able to find clear guidelines to the above.

    From the perspective of bitmap in datafile header is it not true that multiple datafiles with separate bitmaps in their headers can reduce the contention for multiple hot blocks in a single datafile?
    To phrase my question differently, when does the additional calculations for LMT,ASSM and data-dictionary maintainance rule in favor of resizing a single datafile(ending in a sort of big file tablespace) rather than adding datafiles?

  • Questio about ASSM managed tablespaces?

    Hi, we have a 2 node RAC cluster running 10.2.0.3 on linux itanium and we have some tablespaces that we have configiured using ASSM with automatic allocation set for extent mgmt and also automagic for segment space mgmt.
    We are an online E-tail site and we have periods of high trafffic and have alot of updates happening in the database with objects that are in the new table spaces and ny question is...Would it be wiser to not let oracle handle to extent mgmt and instead set the uniform allocation for extents?
    My other question is, can you preallocate extents so that the application would never have to wait when the next extent has to be initialized into the segment?
    Thanks.

    I personally prefer uniform extents and, in cases like yours, pre-allocation.
    It also makes sense in environments where traffic is predictable to set up large extents so that fewer allocations/time are required.
    At least that is what I have seen in my testing. Your mileage may vary so test it on your hardware and version.

  • Expertise Advices on ASSM + Unicode Conversion

    Hi,
    I need some Expertise advice on Converting oracle Table Space to ASSM and Unicode.
    Our company planning on upgrading ECC 5.0 to ECC 6.0 then we also want to do Unicode migration, but we need to know; what/when are the best practices to convert the oracle tablespace to ASSM?
    I believe part of Unicode migrations we have to convert the Oracle tablespace to ASSM.
    Option 1:
    Is it better to convert all the tablespaces to ASSM before we do a Unicode migration? And then do the Unicode migrations?
    Option 2:
    Or is it better to do everything together at the same time Unicode Migrations and Tablespace conversation?
    Is there are any benefits between those two options? Which one is really time saving? Option 1 or Option 2
    Quick question on the side, how long would it take to convert 450 GB total data to ASSM?
    Please advice on this!
    Thanks in Advances
    Kumar

    I would suggest the following: Forget about ASSM - it will be enabled by default after your conversion, that's all I can say about ASSM in this context.
    The Unicode migration itself is a really complex process, we had quite some issue to fight with. To see the whole story we were going through read that thread:
    combined upgrade and unicode conversion
    The topic is a bit different but I explain in-depth there, what problems we encountered, maybe this will helpful for you too.
    You're right, the guides are pretty complex and the procedure and preparation is too so I would NOT do that as newbie (no offense). We had a consultant from SAP on-site while we were doing the preparation for the migration because of those many languages we had. The migration itself was then done by me after those four tests migrations I mentioned earlier.
    If your system is a single codepage migration, it's not that difficult if you follow the guides provided (http://service.sap.com/unicode@sap) for your specific support package level. Just follow it step-by-step, read all the note (yes, I know, there are SO MANY).
    My "best practice recommendations" are:
    - use the VERY LATEST tools (kernel, R3load and dboraslib) for the export (VERY important!)
    - if possible, install the latest Basis support package (SP 12 in your case) <b>before</b> you start the preparation (that is running the task of SPUMG)
    - If you install the unicode instance, also use the latest tools there, latest kernel and latest R3load, you can patch the system while the database is created (there's enough time)
    - if you have external systems connected, make sure, they are aware of the fact, that they are "talking" to Unicode systems after the migration (Fax-Servers, EDI and also all SAP systems such as BW, CRM, SCM or also SAP-KPRO-Servers or what else you have there)
    - test, test, test, don't do the migration just theoretically
    I can't provide a guide, they are highly individual depending on what modules are implemented, what external interfaces and connections to systems you have etc. etc. I could provide you with a "guide" but I'm VERY sure, there's something missing/too much and I won't be responsible for any errors/problems you will get. We did a full day of just evaluating the system, interfaces etc.
    The only advise is - do a test migration, connect the system to everything you also have on production and test.
    Markus

  • ASSM and table with LOB column

    I have a tablespace created with ASSM option. I've heard about that tables with LOB columns can't take the advantage of ASSM.
    I made a test : create a table T with BLOB column in a ASSM tablespace. I succeeded!
    Now I have some questions:
    1. Since the segments of table T can't use ASSM to manage its blocks, what's the actrual approach? The traditional freelists??
    2. Will there be some bad impacts on the usage of the tablespace if table T becomes larger and larger and is used frequently?
    Thanks in advance.

    Can you explain what you mean by #1 because I believe it is incorrect and it does not make sense in my personal opinion. You can create a table in an ASSM tablespace that has a LOB column from 9iR2 on I believe (could be wrong). LOBs don't follow the traditional PCTFREE/PCTUSED scenario. They allocate data in what are called "chunks" that you can define at the time you create the table. In fact I think the new SECUREFILE LOBs actually require ASSM tablespaces.
    HTH!

  • Tablespace management with ASSM

    Since ASSM is the default in 10g I was wondering how people are dealing with space management in their tablespaces? How do you know if you have enough space for the next extent of a table when you don't know how big the next extent is? Even if you did know the size of the next extent, how do you allow for the fact that the datafile for the tablespace is set to autoextend? And what if there isn't enough room on the disk for the tablespace to autoextend? What are you doing to deal with these questions?

    We use ASSM for managing all of our tablespaces. Are you using the Database Control web page? On the Administration tab, you can specify how big you want each extent to be. For example, if you have a 10 Mg tablespace, and you set the tablespace size limit to 20 Mg you can then specify to grow in 1 Mg extents until you reach the limit. If you aren't using Database Control tool, respond and I will get you the command line syntax for managing your tablespaces.
    What operating system is your database running on? Because you will need to monitor how much available disk space you have on your server, and how you do that depends on which OS you are running.

  • Questions on Print Quote report

    Hi,
    I'm fairly new to Oracle Quoting and trying to get familiar with it. I have a few questions and would appreciate if anyone answers them
    1) We have a requirement to customize the Print Quote report. I searched these forums and found that this report can be defined either as a XML Publisher report or an Oracle Reports report depending on a profile option. Can you please let me know what the name of the profile option is?
    2) When I select the 'Print Quote' option from the Actions drop down in the quoting page and click Submit I get the report printed and see the following URL in my browser.
    http://<host>:<port>/dev60cgi/rwcgi60?PROJ03_APPS+report=/proj3/app/appltop/aso/11.5.0/reports/US/ASOPQTEL.rdf+DESTYPE=CACHE+P_TCK_ID=23731428+P_EXECUTABLE=N+P_SHOW_CHARGES=N+P_SHOW_CATG_TOT=N+P_SHOW_PRICE_ADJ=Y+P_SESSION_ID=c-RAuP8LOvdnv30grRzKqUQs:S+P_SHOW_HDR_ATTACH=N+P_SHOW_LINE_ATTACH=N+P_SHOW_HDR_SALESUPP=N+P_SHOW_LN_SALESUPP=N+TOLERANCE=0+DESFORMAT=RTF+DESNAME=Quote.rtf
    Does it mean that the profile in our case is set to call the rdf since it has reference to ASOPQTEL.rdf in the above url?
    3) When you click on submit button do we have something like this in the jsp code: On click call ASOPQTEL.rdf. Is the report called using a concurrent program? I want to know how the report is getting invoked?
    4) If we want to customize the jsp pages can you please let me know the steps involved in making the customizations and testing them.
    Thanks and Appreciate your patience
    -PC

    1) We have a requirement to customize the Print Quote report. I searched these forums and found that this report can be defined either as a XML Publisher report or an Oracle Reports report depending on a profile option. Can you please let me know what the name of the profile option is?
    I think I posted it in one of the threads2) When I select the 'Print Quote' option from the Actions drop down in the quoting page and click Submit I get the report printed and see the following URL in my browser.
    http://<host>:<port>/dev60cgi/rwcgi60?PROJ03_APPS+report=/proj3/app/appltop/aso/11.5.0/reports/US/ASOPQTEL.rdf+DESTYPE=CACHE+P_TCK_ID=23731428+P_EXECUTABLE=N+P_SHOW_CHARGES=N+P_SHOW_CATG_TOT=N+P_SHOW_PRICE_ADJ=Y+P_SESSION_ID=c-RAuP8LOvdnv30grRzKqUQs:S+P_SHOW_HDR_ATTACH=N+P_SHOW_LINE_ATTACH=N+P_SHOW_HDR_SALESUPP=N+P_SHOW_LN_SALESUPP=N+TOLERANCE=0+DESFORMAT=RTF+DESNAME=Quote.rtf
    Does it mean that the profile in our case is set to call the rdf since it has reference to ASOPQTEL.rdf in the above url?
    Yes, your understanding is correct.3) When you click on submit button do we have something like this in the jsp code: On click call ASOPQTEL.rdf. Is the report called using a concurrent program? I want to know how the report is getting invoked?
    No, there is no conc program getting called, you can directly call a report in a browser window, Oracle reports server will execute the report and send the HTTP response to the browser.4) If we want to customize the jsp pages can you please let me know the steps involved in making the customizations and testing them.
    This is detailed in many threads.Thanks
    Tapash

  • Satellite P300D-10v - Question about warranty

    HI EVERYBODY
    I have these overheating problems with my laptop Satellite P300D-10v.
    I did everything I could do to fix it without any success..
    I get the latest update of the bios from Toshiba. I cleaned my lap with compressed air first and then disassembled it all and cleaned it better.(it was really clean insight though...)
    BUT unfortunately the problem still exists...
    So i made a research on the internet and I found out that most of Toshiba owners have the same exactly problem with their laptop.
    Well i guess this is a Toshiba bug for many years now.
    Its a really nice lap, cool sound (the best in laptop ever) BUT......
    So I wanted to make a question. As i am still under warranty, can i return this laptop and get my money back or change it with a different one????
    If any body knows PLS let me know.
    chears
    Thanks in advance

    Hi
    I have already found you other threads.
    Regarding the warranty question;
    If there is something wrong with the hardware then the ASP in your country should be able to help you.
    The warranty should cover every reparation or replacement.
    But I read that you have disasembled the laptop at your own hand... hmmm if you have disasembled the notebook then your warrany is not valid anymore :(
    I think this should be clear for you that you can lose the warrany if you disasemble the laptop!
    By the way: you have to speak with the notebook dealer where you have purchased this notebook if you want to return the notebook
    The Toshiba ASP can repair and fix the notebook but you will not get money from ASP.
    Greets

  • Question regarding NULL and forms

    Hi all, i have a survey that im working on that will be sent via email.
    I'm having an issue though. if i have a multiple choice question, and the user only selects one of the choices, all the unselected choices return as NULL. is there a way i can filter out anytihng that says "NULL" so it only shows the selected options?
    thanks.
    here is the page that retrieves all the data. thanks
    <body>
    <p>1) Is this your first visit to xxxxxxx? <b><%=request.getParameter("stepone") %></b>
    </p>
    <p> </p>
    <p>2) How did You Learn About xxxxxxx?</p>
    <p><b><%=request.getParameter("steptwoOne") %></b>
      <br>
        <b><%=request.getParameter("steptwoTwo") %></b>
      <br>
        <b><%=request.getParameter("steptwoThree") %></b>
      <br>
        <b><%=request.getParameter("steptwoFour") %></b>
      <br>
        <b><%=request.getParameter("steptwoOther") %></b>
    </p>
    <p> </p>
    <p>3) What was your main reason for visiting xxxxx?</p>
    <p><b><%=request.getParameter("stepthreeOne") %></b>
        <br>
          <b><%=request.getParameter("stepthreeTwo") %></b>
        <br>
          <b><%=request.getParameter("stepthreeThree") %></b>
        <br>
          <b><%=request.getParameter("stepthreeFour") %></b>
        <br>
          <b><%=request.getParameter("stepthreeOther") %></b>
    </p>
    <p>4) did you find the information you were looking for on this site?</p>
    <p><b><%=request.getParameter("stepfour") %>
    <br>
    <b><%=request.getParameter("stepfourOther") %></b>
    </b></p>
    <p>5) Do you plan on using this website in the future?</p>
    <p><b><%=request.getParameter("stepfive") %></b></p>
    <p>6) What is your gender</p>
    <p><b><%=request.getParameter("stepsix") %></b></p>
    <p>7) What is your age group</p>
    <p><b><%=request.getParameter("stepseven") %></b></p>
    8) Would you like to take a moment and tell us how we can improve your experience on xxxxxxxxxx?
    <p><b><%=request.getParameter("stepeightFeedback") %></b></p>

    i was messing around and came up with this. it doesnt remove the null, but if it is null it adds ABC beside it. so i think i might be getting close. i just need to figure out how to replace the null.
    code]
    <b><%=request.getParameter("steptwoFour") %></b>
         <% if (request.getParameter("steptwoFour") == null ) {
         %>
         <% out.print("abc"); %>
         <% }
         %>

  • Anyone know how to remove Overdrive books from my iphone that have been transferred from my computer? They do not show up on itunes. I see a lot of answers to this question but they all are based on being able to see the books in iTunes.

    How do I remove Overdrive books from the library that were downloaded onto my computer then transferred to my iphone? The problem is that they do not show up in iTunes.
    I see this question asked a lot when I google, but they always give answers that assumes you can find the books in iTunes either under the books tab, or the audio books tab or in the music. They do not show up anywhere for me. They do not remove from the app like the ones I downloaded directly onto my iphone.the related archived article does not answer it either.  I even asked a guy working at an apple store and he could not help either.   Anybody...?
    Thanks!

    there is an app called daisydisk on mac app store which will help you see exactly where the memory is focused and consumed try using that app and see which folders are using more memory

  • Basic question

    Hello, i have a basic question. if i have defined 2 fields in a cube or a dso:
    Name Quantity
    and from the external flat file i get some characters for my quantity field. would my load fail?  for standard dso and for write optimized?
    NOTE: quantity field is a keyfigure defined as numeric.
    and the load coming in has "VIKPATEL" for Quantity field and not numbers.
    thanks

    Hi Vik,
    Yes, the load will fail.
    May be you coud first load this data into BW (into PSA) and set both fields as characters fields. Then you can create DSO, do transformation from this PSA to the DSO, and put your logic as to what do you want to do with those Quantity that is not number (e.g. convert to 0, or 'Not assgined', etc).
    You can use transfer rule, or a clean up ABAP code in the start routine.
    Hope this helps.

  • Mid 2010 15" i5 Battery Calibration Questions

    Hi, I have a mid 2010 15" MacBook Pro 2.4GHz i5.
    Question 1: I didn't calibrate my battery when I first got my MacBook Pro (it didn't say in the manual that I had to). I've had it for about a month and am doing a calibration today, is that okay? I hope I haven't damaged my battery? The calibration is only to help the battery meter provide an accurate reading of how much life it has remaining, right?
    Question 2: After reading Apple's calibration guide, I decided to set the MacBook Pro to never go to sleep (in Energy Saver System Preference) and leave it on overnight so it would run out of power and go to sleep, then I'd leave it in that state for at least 5 hours before charging it. When I woke up, the light on the front wasn't illuminated. It usually pulsates when in Sleep. Expectedly, it wouldn't wake when pressing buttons on the keyboard. So, what's happened? Is this Safe Sleep? I didn't see any "Your Mac is on reserve battery and will shut down" dialogues or anything similar, as I was asleep! I've left it in this state while I'm at work and will charge it this afternoon. Was my described method okay for calibration or should I have done something different?
    Question 3: Does it matter how quickly you drain your battery when doing a calibration? i.e is it okay to drain it quickly (by running HD video, Photo Booth with effects etc) or slowly (by leaving it idle or running light apps)?
    Thanks.
    Message was edited by: Fresh J

    Fresh J:
    A1. You're fine calibrating the battery now. You might have gotten more accurate readings during the first month if you'd done it sooner, but no harm has been done.
    A2. Your machine has NOT shut down; it has done exactly what it was supposed to do. When the power became critically low, it first wrote the contents of RAM to the hard drive, then went to sleep. When the battery was completely drained some time later, the MBP went into hibernation and the slepp light stopped pulsing and turned off. In that state the machine was using no power at all, but the contents of your RAM were still saved. Once the AC adapter was connected, a press of the power button would cause those contents to be reloaded, and the machine would pick up again exactly where you left off. It is not necessary to wait for the battery to be fully charged before using the machine on AC power, but do leave the AC adapter connected for at least two hours after the battery is fully charged. Nothing that you say you've done was wrong, and nothing that you say has happened was wrong.
    A3. No, it does not matter.

Maybe you are looking for

  • Help needed in calculations in Workbook for input query

    hi friends , Iam displaying an input query in the Workbook ..the format of the query is Account                                  Amount 1010 Undistributed Amount     $ 2000 1010 PC1 1010 PC2 1010 PC3 The use 0f this query is to distribute the undistr

  • Access to Oracle Database by a specific user from a client system.

    Hi All, I need to restrict a particular client system to access the database only by a specific user credentials. I mean system A(hostname) can only connect the database PQR only and only by user U123. Any help is sincerely appreciated. Regards Swapa

  • WLC 7.3.101.0 Mobility group peer cannot up.

    Hi Guys, It seems the 7.3.101 version Mobility group peer cannot up,: refer to the attach, Peer 1: version: 7.3.101 Peer 2: version 7.0.98 Peer3: version 7.2.103 Today we got new two WLC for Anchor use, and config the mobility group, but it's failed

  • Help - Weblogic 6.1 fails to start after SP6 install

    After sucessful installation of SP6 for Weblogic 6.1, weblogic fails to start. After inspecting the logs, I discovered the following message: The WebLogic Server did not start up properly. Exception raised: java.lang.SecurityException: Authentication

  • Thanks for your help

    Thank you Tiki, it helped.  I'm back up and running. Thanks again.