what need parameter should be ignored for creating table in LMT

Hi all

I have locally managed tablespace (LMT) with the type of ventilation SYSTEM and segment_space_management is AUTOMATIC. My database is Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi.

I have for example:

create table (ID)
PCTFREE 5
INITTRANS 2
STORAGE (Initial...).


Oracle documnetation, I found that it is recommended to omit the storage clause when you use LMT.

I want to know, I do also omit PCTFREE 5, INITTRANS 2 of the create table statement?

Thanks for any advice.

Dear spur230,

Yes, you can omit these parameters either.

Here's the answer to your question;

http://download.Oracle.com/docs/CD/B19306_01/server.102/b14231/tspaces.htm#sthref1153

+"+
* + Creating a locally managed Tablespace + *.

+ Create a locally managed tablespace by specifying IN clause of the CREATE TABLESPACE statement SCOPE MANAGEMENT. This is the default value for new permanent storage space, but you must specify the EXTENT MANAGEMENT LOCAL clause if you want to specify the AUTOALLOCATE or the UNIFORM clause. You can have the database to manage extensions for you automatically with the clause AUTOALLOCATE (default), or you can specify that the tablespace is managed with uniform extents of a specific size (UNIFORM). +

+ If you plan the tablespace contains objects of various sizes, requiring many scopes with different sizes, then AUTOALLOCATE is the best choice. AUTOALLOCATE is also a good choice if it is not important for you to have a lot of control over the allocation of space and the deallocation, because it simplifies the management of the table space. A space may be wasted with this parameter, but the advantage of having the Oracle database manage your space probably outweigh this disadvantage. +

+ If you want exact control on unused space, and you can predict exactly the space to allocate for an object or objects and the number and size of extensions, and then UNIFORM is a good choice. This setting ensures that you will never have the unusable space in your tablespace. +

* + When you do not explicitly specify the type of management, database Oracle determines management extended as follows: + *.

+ * _If the CREATE TABLESPACE statement omits the DEFAULT storage clause, then the database creates a locally managed tablespace autoallocated. _ +
+ * _If the CREATE TABLESPACE statement includes a default storage clause, then the database considers the following: _ +.
+ O _If you specified AS MINIMUM clause, the database evaluates if MEASURE MINIMUM values, INITIAL, FOLLOWING are equal, and the value for PCTINCREASE is 0. If so, the database creates a locally managed tablespace uniform with size = INITIAL measurement. If the parameters to MEASURE MINIMUM INITIAL and NEXT are not equal, otherwise PCTINCREASE is not 0, the database ignores storage extent parameters you specify and creates a locally managed tablespace autoallocated. _ +
+ o _If you have not specified a MEASURE MINIMUM clause, the database evaluates only if the values of storage are the same INITIAL and NEXT and PCTINCREASE is 0. If so, the tablespace is locally managed and uniform. Otherwise, the tablespace is locally managed and autoallocated. _ +

+ The following statement creates a managed tablespace locally named lmtbsb and specifies AUTOALLOCATE: +.

+ CREATE TABLESPACE lmtbsb DATAFILE ' / u02/oracle/data/lmtbsb01.dbf' SIZE 50 +.
+ EXTENT MANAGEMENT LOCAL AUTOALLOCATE; +

+ AUTOALLOCATE causes tablespace system managed with a volume of minimum extent of 64K. +

+ The alternative to AUTOALLOCATE is UNIFORM. who says that the tablespace is managed with uniform size extents. You can specify the size of the uniform SIZE clause. If you omit the SIZE, the default size is 1 M. +

+ The following example creates a tablespace with uniform extents of 128 K. (In a database with 2 K blocks, each would amount to 64 blocks of data). Each measure 128K is represented by a bit in the bitmap extent for this file. +

+ CREATE TABLESPACE lmtbsb DATAFILE ' / u02/oracle/data/lmtbsb01.dbf' SIZE 50 +.
+ EXTENT MANAGEMENT LOCAL UNIFORM SIZE 128K; +

+ You can not specify the storage, TEMPORARY or MEASURE MINIMUM clause by DEFAULT when you explicitly specify EXTENT MANAGEMENT LOCAL. If you want to create a locally managed temporary tablespace, use the statement to CREATE a TEMPORARY TABLESPACE. +
+"+

Hope that helps.

Ogan

Tags: Database

Similar Questions

  • What consideration we should have have before creating the tablespace

    Hello
    I was asked this question in an interview. I have a large volume of data (for example 80 GB). Now, I have to create a tablespace to contain these data. What consideration we should have have before creating the tablespace.
    In fact, I could not answer after a lot of research, so I post here.

    Concerning

    Hello

    In 10g, you must create a locally managed Tablespace (MEASURE of the LOCAL MANAGEMENT) If you know the
    size of your Tables/indexes you can choose the size of the scale with the option of UNIFORM SIZE.
    If you have small and large Tables / Index, then choose the AUTOALLOCATE option.

    It is recommended to use SAMS with the SEGMENT SPACE MANAGEMENT AUTO option and then the PCTUSED
    is auto tune by an internal algorithm and FREELIST are managed by a bitmap. With this option, it is best to
    be with the last group of hotfixes.

    About BIGFILE Tablespace, if you use BIGFILE tablespace, you will have just a data file which can extend up to
    4G block (thus 32 TB if you have db_block_size = 8KB). And SQL syntax allow you to manage the 'big' with data file
    the same command for the Tablespace.

    But you should care the limit of your OS. Imagine that your operating system or the file system does not support very largefiles then,
    you have no advantage over the use of Bigfile tablespace. Also, you might have more than 1 data file.

    Smallfile Tablespace using your data files should not exceed 4M block (so 32 GB for 8 KB / block) but you can have
    up to 1022 datafiles on your Tablespace. So eventually, if you use the 1022 data files, you have the same capacity
    Bigfile Tablespace and you can use several system files.

    To 80 GB with 3 or 4 data files, you can easily manage this volume. But of course from time to time you will have to
    Add a new data file.

    Hope this can help.
    Best regards
    Jean Valentine

  • What is easier and best program for creating and designing the Web site to Server2008R2?

    What is more simple and the best program for creating and Server2008R2 for FrontPage Web site design is no longer available? Or FrontPage is still available.  Thanks in advance.

    There is no more simple and best. You could get as many different answers as there are a people.

    Expression is the successor to FrontPage. Also take a look at SharePoint Designer if you're Leroux Microsoft product. And, they are not the easiest and probably not the best.

  • SQLPLUS set variables for creating table.

    I do the following in SQLPLUS

    set l_date = to_char (sysdate, 'yyyy')
    define l_name = "«mytable"»
    set l_tn = & l_name | & l_date

    SQL > select & l_name | & double l_date;
    old 1: select & l_name | & l_date of the double
    new 1: select 'mytable '. TO_CHAR (sysdate, 'yyyy') of the double

    "MYTABLE".
    -----------
    mytable2010

    But when I use that way, I don't get the YEAR.

    SQL > select ' & l_tn' double.
    old 1: select ' & l_tn' of the double
    new 1: select 'mytable' of the double

    ' MYTABL
    -------
    MyTable


    I want to create table in sqlplus by using the following command:
    create table & l_tn (x number)

    Please let me know what I'm doing wrong here.

    Hello

    (Like TO_CHAR) SQL functions and operators (as |) are not executed in SQL * most orders (as DEFINED).
    Test your variables after you set you will see what I mean

    define l_date = to_char(sysdate,'yyyy')
    PROMPT     &l_date = l_date
    

    Output:

    to_char(sysdate,'yyyy') = l_date
    

    "In other words, l_date is used for a 23 character string, which starts with 't' and contains ' (',',' and ' ')', ', which are not allowed in file names (probably; depending on the system).
    I think you want that it set to a string of 4 characters, such as "2010".

    Use the COLUMN... New_value (or... Order OLD_VALUE) to define a variable substitution to the results of a calculation of SQL.

    I think you are trying to do something like this:

    COLUMN     year_col     NEW_VALUE     l_date
    
    SELECT     TO_CHAR (SYSDATE, 'YYYY')     AS year_col
    FROM     dual;
    
    define l_name = mytable
    
    CREATE TABLE  &l_name&l_date
    ...
    
  • confusion on the clause nologging - for create table

    Hi guys,.

    just 1 simple question.

    T1) when I create a table with no record, is the CREATION of the table not connected as well?


    Kind regards
    Noob

    OracleWannabe wrote:
    T1) when I create a table with no record, is the CREATION of the table not connected as well?

    If the table is created empty (as do not use a create table as select or DEC) then there is no difference in the design stage. The difference between REGISTRATION and NOLOGGING intervenes for direct path operations.

    The Oracle documentation provides a very good explanation:
    http://download.Oracle.com/docs/CD/B28359_01/server.111/b28313/usingpe.htm#i1009116

    Kind regards
    Greg Rahn
    http://structureddata.org

  • What field / class should I use to create a mobile rectangle?

    Hello

    I want to create a rectangle that people can focus on, and when it's to the point, people can scroll to the left or right to move the rectangle left and right. What field or the object or the class should I use?

    Thank you!

    I noticed that too.  However, since the BB is double buffered, I'm not sure you save anything in fact.  As you move your rectangle, you would have to redraw where it was anyway.

    This treatment is all done in the paint of the screen method so effectively treats the screen as a large Bitmap.

    If you have created a field for yourself, you could add that field to a Manager, then use this Manager to place this field on the screen and then move.  In fact, it would be fairly simple.  But to do this, you must create a manager who knew how to move the field, then move the field whenever you wanted to move.  Then painting everything would be done by another person (i.e. the Manager and the field.)  In my opinion, costs, overhead and complication just to draw a rectangle of mobile, is excessive.  However if you plan to put different data in the Rectangle, such as text and therefore might want to use a real field of BB to help with its interior design.  To help you with this, I suggest you only consider these three KB articles:

    What is - BlackBerry UI hierarchy
    Article number: DB-00111
    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800608/...
     
    -How to create a custom handler for a screen presentation
    Article number: DB-00117
    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800508/...

    -Creating custom fields
    Article number: DB-00120
    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800345/...

  • HP 15 Notebook - r063tu model: what quality of Flash drive required for creating recovery media for laptop 15 HP (r063tu)?

    I want to create a recovery media for my laptop HP 15 (model r063tu) on a Flash instead of DVD drive (had a bad experience with the DVD in the past). Should I buy a 16 GB or 32 GB of capacity 3.0 USB drive. Because it will only be to create recovery media, obviously I won't be able to use it for other purposes, so want to buy everything as this is sufficient (and save on costs!). Thank you.

    Hello

    32 GB is necessary because the recovery partition is almost always about 20 GB or more.

  • Pavilion dv7-6c47cl Entertainm: what system heatsink should I buy for my laptop?

    My fan noise becomes stronger and the region feeling too hot. Cleaning it does not help. This has been an on and off problem but what makes sometimes much more noise, I decided I'd better replace it.

    I studied the information but I need more explanation so I can buy the right part. I don't know what subsystem has my laptop.

    I checked the HP parts Finder, but they don't even list for my laptop.

    I would also like to know where to buy the part or parts as HP does not wear.

    Product - 2CE20211RC

    [personal information]

    System Specs: http://h10032.www1.hp.com/ctg/Manual/c03099448

    I ran CPU - Zs scanner:

    Intel Core: i7 2670QM

    Intel HD Graphics 3000

    Core memory: 648 MHz and 2108 MB size

    These are the choices listed in the manual from HP:

    Heat sink (includes the thermal material replacement):

    For use only with the computer models equipped with an Intel processor and a graphics card

    discrete memory subsystem with 2048 MB

    666391 001

    For use only with the computer models equipped with an Intel processor and a graphics card

    subsystem with 1024 MB memory discreet

    666390 001

    For use only with the computer models equipped with an Intel processor and a graphics card

    UMA memory subsystem

    666392 001

    Thank you for your help.

    Hello

    Arctic silver is good.

    See cela or other similar to dv7 6 c 00 model of YouTube: https://youtu.be/zwxQwLfqQxc

    25 ' leave.

    Concerning

    Visruth

  • What function key should I use for the option about bootcamp

    Function key WWhat should I use to open option of bootcamp

    If you try to open the Bootcamp application, simply search for it featured in the top right corner.

    If you have already installed Windows and try to start Windows, turn off the computer and then turn it back on by holding the Option key. It should show unity of Bootcamp and the Macintosh HD.

  • Had the game pinball on my old computrer that had xp not on new game that has windows 7 how I can load Pinball on my new computer and what web show should I go for

    have tried to communicate with microsoft can'tr send them they keep saying to come back to the manufacturing of computer, but my computer works fine

    Hi Ms. PEPPER,

    1. because this game has been incorporated into Windows XP and is not available on Windows 7. I found an interesting link where he is given a work around for installing this game on Windows 7.
    http://social.technet.Microsoft.com/forums/en/w7itproappcompat/thread/7b79a210-3cdc-4f4e-919b-64ab56ffe233

    2. the other option would be that you can find this game for Windows 7 on internet, use your favorite for this search engine.

    Important note: This response contains a reference to third party World Wide Web site. Microsoft provides this information as a convenience to you. Microsoft does not control these sites and no has not tested any software or information found on these sites; Therefore, Microsoft cannot make any approach to quality, security or the ability of a software or information that are there. There are the dangers inherent in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    It will be useful.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • If I use a Canon S110 what sequence preset should I use for best results high def?

    Also if I am downloading these videos on YouTube, should I use preset in the export of the YouTube video? That will make my video look high def as well?

    For editing, the NEW ELEMENT of process will ensure that your sequence of Assembly corresponds to your video file

    CS5-thru-CC body/Encore tutorial list http://forums.adobe.com/thread/1448923 has a link to learn more about the process of a NEW ITEM

    Export to YouTube http://forums.adobe.com/thread/1451877?tstart=0

  • What power supply should I get for a dell xps 8700 to run a gtx 970

    With the update of the BIOS A10 xps 8700 can now run the 970 gtx, but in my case, I have the same power supply provided with the xps 8700, I was wondering what psu be will need to run the gtx 970.

    It has been reported that it is better to buy a PSU with a depth of approximately 5.9 "
    Power supply ATX Corsair AX760 760w
    http://www.Corsair.com/en-us/ax760-ATX-power-supply-760-Watt-80-plus-Platinum-Certified-fully-modular-PSU

    SEASONIC X-650 (650 KM Active PFC F3)
    http://www.seasonicusa.com/NEW_X-series_KM3_650-750-850.htm

  • What monitor settings should I use for a 27 "monitor when using Lightroom?

    For Lightroom I use a monitor Dell P2715Q 27.0 "retro IPS lit by LED monitor Ultra - HD 4 K (3840 X 2160) . Currently my monitor scaling is set to "Full screen" and the resolution to 3840 X 2160. When I open Lightroom side panels are so small, that it makes them very difficult to read.

    Any suggestions would be greatly appreciated...

    Thank you

    When Ligtroom 4 has been released, the monitors high resolution were not so common yet.

    Others may advise you to reduce the resolution of your screen, but I wouldn't recommend that.

    Modern screens are designed to be used at their native resolution and will not be at other resolutions.

    You won't get a true impression of your images, they will appear less clear, and you can mislead to oversharpen them.

    I would say that the upgrade for the LR6, which will be much better work with your monitor, or you subscribe to the designer Cloud Photography - Photoshop and Lightroom for $10 a month Plan.

  • Download failed - twice - now what? Who should I contact for Adobe?

    I bought Adobe elements 14 - paid for it and all that, but the download failed.  I tried a second time and it has not yet.

    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If he continues to not try to use a different browser.

    Download and Installation Help-

    https://helpx.Adobe.com/download-install.html

    PES 10, 11, 12, 13, 14 - https://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-downloads.html

    PE 10, 11, 12, 13, 14 - https://helpx.adobe.com/premiere-elements/kb/premiere-elements-downloads.html

    You can also download the demo version of the software through the page linked below and then use your current serial number to activate it.

    Don't forget to follow the steps described in the Note: very important Instructions in the section on the pages of this site download and have cookies turned on in your browser, otherwise the download will not work correctly.

    Photoshop/Premiere Elements 14: http://prodesigntools.com/photoshop-elements-14-direct-download-links-premiere.html

  • When the need to update the statistics for a table

    In Sybase, we use "delete the statistics', 'update all statistics" and 'sp_recompile', fact Oracle need to do such things anyway? Thank you!

    Given that the V10 by default Oracle collects "necessary" statistics (new) once every 24 hours.

    If you determine that your situation requires a different treatment, so you must do manually what you feel is appropriate.

Maybe you are looking for

  • Satellite Pro A300 Touchpad has stopped working

    As the title suggests. My laptop is a Satelltie Pro A300 2 4. The Touchpad is not responding, I tried FN F9 - nothing happens.I tried pressing the upper left corner of the Touchpad - nothing happens.I tried to go to the mouse control panel and lookin

  • Need access to the JMX setters with foglight JMX agent

    Hello I am trying to use the agent of JMX foglight and get all Get JMX accessor methods. However miss me the methods that require parameters passing and setting attributes to my server. Please suggest. Thanks in advance. Arvind

  • function compiled with error

    can someone please help CREATE OR REPLACE FUNCTION HR.is_leap_year (   date_in IN DATE)     RETURN NUMBER     AS        result NUMBER := 0;    BEGIN                         SELECT                     CASE WHEN (                                 MOD(EX

  • Why my RMAN to archivelog backups do not end in ORACLE_HOME/dbs?

    DB version: 11.2Platform: Solaris 10 I noticed that the elements of rman backup containing archivelogs end in $ORACLE_HOME/dbs directory despite using the format parameter. This happened for the level 0 AND level 1 backups. I know that the backup fil

  • RAW 4.6 and Photoshop CS3

    I can open my RAW files in Photoshop CS3 shot on Canon 350 d, but now using Canon EOS 5 MK he's and RAW 4.6 download but get an alert Photoshop does not recognize this file type, any advice please.