Multiple tablespace maxsize value question

Hi,
I am seeing multiple value on same tablespace after this query.
select tablespace_name, MAXBYTES from dba_data_files;
TABLESPACE_NAME MAXBYTES
tbs1                    8589934592
tbs1                    2.2549E+10
tbs1                1.2885E+10
tbs1                1.2885E+10
Which one is the value specify where our tablespace can grow to?
Thanks

one is the value specify where our tablespace can grow to?Technically the size limit is defined per datafile. There is no definition of size limit at the tablespace level. A Tablespace is a logical grouping of datafiles. Size is a physical limit so it is applied at the physical datafiles.
Therefore, you need to sum across DBA_DATA_FILES entries for the limit for a Tablespace.
Something like
select tablespace_name, sum(bytes)/1048576 Total_Size_MB, sum(maxbytes)/1048576 Total_MaxSize_MB
from dba_data_files
group by tablespace_name
order by tablespace_name
/This is assuming that AUTOEXTEND is set to ON for each datafile and that MAXBYTES is equal to or greater than BYTES for each datafile.
Hemant K Chitale
Edited by: Hemant K Chitale on Oct 31, 2011 11:58 AM

Similar Messages

  • How to pass multiple query string values using the same parameter in Query String (URL) Filter Web Part

    Hi,
    I want to pass multiple query string values using the same parameter in Query String (URL) Filter Web Part like mentioned below:
    http://server/pages/Default.aspx?Title=Arup&Title=Ratan
    But it always return those items whose "Title" value is "Arup". It is not returned any items whose "Title" is "Ratan".
    I have followed the
    http://office.microsoft.com/en-us/sharepointserver/HA102509991033.aspx#1
    Please suggest me.
    Thanks | Arup
    THanks! Arup R(MCTS)
    SucCeSS DoEs NOT MatTer.

    Hi DH, sorry for not being clear.
    It works when I create the connection from that web part that you want to be connected with the Query String Filter Web part. So let's say you created a web part page. Then you could connect a parameterized Excel Workbook to an Excel Web Access Web Part
    (or a Performance Point Dashboard etc.) and you insert it into your page and add
    a Query String Filter Web Part . Then you can connect them by editing the Query String Filter Web Part but also by editing the Excel Web Access Web Part. And only when I created from the latter it worked
    with multiple values for one parameter. If you have any more questions let me know. See you, Ingo

  • Can a click box be used if multiple options to a questions?

    I was trying to have the student need to click on multiple options for a question.
    The situation called for the student to have to click on four different items that were correct out of a group of six items.  I put success captions on the four correct and failure messages on the 2 that were incorrect.
    Following are my settings for each of the click boxes:
    Action:       On success  - continue      Attempts:    infinite
    Options:  Success or Failure
    Pause for success/failure, Show hand over cursor, pause until user clicks
    The screen fades out before the user can read and select all their choices  (I have the timing for the screen set at 10 sec)
    I have an image button on the page labeled Continue that the user needs to click on before continuing.  It is set at:   Action: on success, continue, infinite attempts
    Is this the right standard object to use for this purpose, and if it is, what settings do I need to make it work?
    Thanks for the help

    You need to use Advanced Actions to achieve your desired result.
    The default behaviour of Captivate interactive objects is to Continue play as soon as you click them.  But there's a trick you can use to prevent this by having the On Success or On Failure action execute an Advanced Action instead that assigns the value of the variable rdcmndGotoFrame with the value of rdInfoCurrentFrame.

  • Having one single tablespace versus multiple tablespace?

    My database version is
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE 11.1.0.7.0 Production
    TNS for Linux: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production
    My os version is
    Linux damdat01 2.6.18-128.7.1.el5 #1 SMP Wed Aug 19 04:00:49 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
    My database is OLP system.
    My question is what are the advantages and disadvantages having one single tablespace versus multiple tablespace?
    Easy to maintain when you have single tablespace. but hard to track the IO issues.
    Any other input from any one? Please let me know.

    Billy  Verreynne  wrote:
    EdStevens wrote:
    Does the term "keeping all your eggs in one basket" mean anything ....Well, in the majority of cases, even when using multiple tablespaces they will be on the same storage array or same file system. So the "+all eggs in one basket+" goes a lot a deeper down the storage layer than just the top part where you deal with logical tablespace storage containers.
    Absolutely. Except for the bazillion microscopic solid-state switches and a layer of rust on a spinning platter, everything else is just layers of abstraction. One's thinking and frame of reference depends on what layer of abstraction one is dealing with.
    The major problem with multiple tablespace for a single application And here is where there was some 'fuzz' in the OPs question. I don't recall him specifying one TS per application. Maybe he assumed that, but I read it as one (user) TS per database.
    a) deciding the space allocation of each tablespace
    b) managing what is created in which tablespace
    This comes down do an issue of micro-managing space versus simply chucking everything into a single container and let god ASM/Oracle/LUN/driver/whatever sort them out.
    Issues like transportable tablespaces... separating your logical data into different containers... and the like? That is not really sufficient justification to me for having to micro-manage space for a 101 tablespaces. This simply creates a huge workload on the space management part of the database - that is complex and difficult to deal with. Free space from an underutilised (incorrectly sized) tabelspace cannot simply be moved and reallocated to a tablespace stressed for more space. Everything but...
    Which is why I prefer having fewer tablespaces as this means not having to micro-manage space and continually having to wave a threatening lead pipe around to make sure that applications and developers play rigidly within the large set of strict rules of how these many tablespaces are to be used.Agreed. One can go way overboard, and a lot of this discussion hinges on the OP's intent, as I mentioned above -- one TS per ... what? My default position is one TS per application schema. Normal human users all default to one USERS ts, but don't have any quota because they don't have any reason to create objects.

  • Multiple TYPEELIM property values for an account

    I am trying to set automatic adjustment business rules and need to assign multiple multiple TYPEELIM property values for an account. Any idea how to achieve this?
    Here is my example. Letu2019s assume there are 2 eliminations I need to do.
    Elimination 1: Account A, B, C going to Account Y
    Elimination 2: Account A, B, D going to Account Z
    For elimination 1, to group source accounts (A,B,C), I want to assign u201CELIM1u201D for TYPEELIM property to all source account (A,B,C).
    For elimination 2, to group source accounts (A,B,D), I want to assign u201CELIM2u201D for TYPEELIM property to all source account (A,B,D).
    As you see, accounts A and B are repeated in both cases. I am not sure how I can assign both ELIM1 and ELIM2 property for these two accounts.
    Options I have thought of:
    1.     Include automatic adjustment line by line:  But since I have many accounts, this will be very lengthy and not good from maintenance point of view.
    2.     Include one ELIM1 in TYPEELIM and ELIM2 in Dimlist: But my real case is more than just two elims as mentioned above. What if there are 4 elim and includes same account?
    Any idea on this?
    Thanks in advance.

    Hi,
    http://help.sap.com/saphelp_bpc75/helpdata/en/5A/69200C88AA40C9B18844A25259F147/frameset.htm
    Administration->Business Calculation->Business Rule Management->Automatic Adjustment->Automatic Adjustment Detail
    This is for 7.5, but majority of contents are not changed from 7.0.
    Regards,
    YH Seo

  • One db and user for multiple tablespaces or schemas per server?

    Hello again.
    I installed Oracle 11g on server_1 and created one database db_1.
    Using Enterprise Manager, I did the following:
    Created a tablespace myname_1.
    Created a user myname_1.
    Logged in as myname_1 and created a table into the default tablespace myname_1.
    When creating this table, the schema field defaulted to myname_1.
    Created another tablespace myname_2.
    My confusion about the relationship between tablespaces, users, and schemas starts here:
    When I try to create a new table for tablespace myname_2, I get an error:
    "user myname_2 does not exist"
    I am seeking some clarification on these levels of organization in Oracle.
    My goal is to setup my server with one database each and one user each per database.
    Then, I think I want to create multiple tablespaces and organize objects per tablespace.
    Or should it be per schema?
    Eventually each tablespace will be moved to a separate server.
    Any comments and suggestions are greatly appreciated.
    Thank you for helping.

    Hello,
    This error means user MYNAME_2 doesn't exists and you have to create one.
    Example 1:
    CREATE USER MYNAME_2
      IDENTIFIED BY "my_password"
      DEFAULT TABLESPACE MYNAME_1
      TEMPORARY TABLESPACE TEMP
      PROFILE DEFAULT
      ACCOUNT UNLOCK;
      -- 4 Roles for KLONDIKE
       GRANT RESOURCE TO MYNAME_2; ---> This privs give unlimited quota on all the tablespaces
      GRANT CONNECT TO MYNAME_2;
      ALTER USER MYNAME_2 DEFAULT ROLE NONE;
    Then create your table (you were missing "AS" )
    create table myname_2.mytable_1 as
    select * from source_table@dblink_2;Example 2: If you want to create table mytable_1 in tablespace myname_2 then you have to create tablespace myname_2 first. To create table in different tablespace than user default tablespace
    create table mytable_1 tablespace myname_2 as select * from source_table@dblink;Regards
    OrionNet

  • Command to add multiple datafiles in multiple tablespace in one time.

    Send me command to
    command to add multiple datafiles in multiple tablespace in one time.

    Just list the files separated by a comma.
    SQL> alter tablespace example
    2 add datafile 'e:\oradata\scratch\example02.dbf' size 100m,
    3 'e:\oradata\scratch\example02.dbf' size 100m;
    Tablespace altered.
    SQL>
    You will have to use more then one command to add datafiles to multiple tablespaces.

  • Value questions for SAP HR Reporting

    I am working as a "SAP HR Functional consultant".
    I am preparing Value Questions that can benefit End users with respect to SAP HR Reporting.
    Could you kindly help me by sending some questions [If you have any ] & Also tell me how to prepare them?
    <b>For Exp</b>: This below example is for sales, need the same for HR scenarios ( Time management,Org Management, Budget monitoring, Leave management)
    <b>Q</b>
    1. Actor - Sales Rep                                  
    2. Question - Are there new Leads/Opportunities that need my attention?
    3.Action to take - follow-up with Oppty's contact & update Oppty Record with actions taken
    <b>Q</b>
    1. Actor - Sales Rep                                  
    2. Question - What are my territory’s/geography's monthly Sales trends?
    3.Action to take - contact customers whose sales are below expectations
    Waiting for your early reply.
    Thanks.
    Nimisha

    Hi Nisha
    We generally categorise the reports in a matrix structure based on the following criteria -
    1. Usage of the report, eg. monthly, weekly and so on
    2. Data to be processed per usage, eg. no of records
    3. Criticality of the report, eg, must have, useful, important, nice to have and so on
    4. Intended users of the report, eg, management, top management, support satff and so on
    Based on the matrix and the estimated effort required for each report, we make a decision of which reports to be created and the ranking of the reports, that is, which reports to be created on an urgent basis and which ones can be taken up later.
    Also, the same matrix can be used for determining the authorizations for the reports.
    Pls feel free to contact me in case of any further queries/clarifications.
    Regards
    Lincoln

  • How do you change multiple 'Video Kind' values at once?

    Hello,
    first of all, sorry if this has already been asked, but I tried searching for a straight answer in here and in other forums without any luck..
    .. but I was wondering if there is a way to select multiple videos, and change their video kind to something else, all at once(eg. from Movie to Music Video)...
    ...When I select a group of videos and click get info, it doesn't give me the option to change the video kind, so I've had to change each one, one at a time, (which gets very tiresome :P)...
    ...so is there a way to change multiple 'Video Kind' values at once, or should I pray that it becomes available in the next update of iTunes?
    Pentium 4 3.0 ghz Windows XP

    You can't do it right now. Wait for the next update, and hope it's there.
    For the moment, I suggest selecting Get Info on one song, changing the setting, then hitting the next button at the bottom to go right to the Get Info for the next song. You can rapidly change lots of these that way.

  • Need an IF condition, if Prod No has multiple same STCTS values

    Hi,
    I need to write the logic like below :
    loop at t_final into wa_final.
    If PRVSY(Product Number) has multiple same STCTS values
    if wa_final-datab > sydatum.
    clear wa_final-stcts.
    delete t_final where stcts is initial.
    endif.
    endif.
    endloop.  
    For ex: prod number is and STCTS values are
                         1234                                        ABC
                                                                        ABC
                                                                        ABC
                         1222                                         GH
                                                                         GH
                         1211                                         AS
    My logic should only apply for the product number 1234 and 1222
    Can you suggest any If condition or any way to implimet this logic..
    Any suggestions will be apprecaited!
    Edited by: Kittu on Feb 18, 2009 3:42 PM
    Edited by: Kittu on Feb 18, 2009 3:44 PM

    Hi Max,
    Very Gm........
    Thank you for your quick response!
    Here we also need to check with the product number.
    Becasue, there can be same STCTS value for other Product number and it should be allowed. 
    Ex : 
              1234 and STCTS values are ABC
                                                      ABC
                                                      ABC
                                                      ABC
                1222                                GH
                                                       GH
                 1211                               ABC
    Any suggestions will be aprrecaited!
    Regards,
    Kittu

  • Changing MAXSIZE value for a data file.

    Hello, I was wondering if it is possible to change the MAXSIZE value for a data file from UNLIMITED to a specified value, like 4M.
    Thank you,
    David

    This is trhe command that actually did what I wanted:
    ALTER DATABASE DATAFILE 'D:\DBDATA\TESTPTIX02.ORA' AUTOEXTEND ON MAXSIZE 3840M;
    Thank you all for tour time and help. Have a safe and happ Christmas and new years.
    David

  • Resource rights on multiple tablespaces

    Hi,
    I am trying to do a full import of a database. Prior to that I am creating all the user accounts. One user has resource rights on multiple tablespaces. How do I assign multiple tablespaces to a user? I have already assigned a temp and default tablespace.
    Product info:
    Oracle Database 10g Enterprise Edition Release 10.1.0.5.0 - Prod
    PL/SQL Release 10.1.0.5.0 - Production
    Thanks.

    Anurag,
    The command provided by Krystian is what I was looking for.
    As to why I need to assign multiple tablespaces to a single user, its the way the data is setup.
    I am trying to create a test database from production database sized at 150GB having about 40-50 tablespaces.
    There are several users that are assigned quotas on multiple tablespaces. I found this by querying the DBA_TS_QUOTAS view.
    I split the test DB creation into two parts. I created a template of the production database using DBCA, used the template to create a DB on the test machine. I am now in the process of creating users. Following which I will import the data using IMP utility.
    Thanks.

  • Dbca does not follow the maxsize values within .dbc for the tablespaces

    Does someone nows if dbca has some sort of bug when reading a .dbc file and following what is writen there?
    Here is a tablespace example where maxsize simples is not considered:
    <Name id="2" Tablespace="UNDOTBS1" Contents="UNDO" Size="26" maxsize="2G" autoextend="true" blocksize="8192">{SYSTEM_DG}/oradata/{DB_UNIQUE_NAME}/undotbs01.dbf</Name>
    Am I setting maxsize in a wrong manner?
    Is there some place which explains what exactly are the possible keywords for each tag and its valid values?
    I'd really appreciate any help.
    Thanks,
    Fred

    dbc is the extention of dbca templates. If you have existing database where UNDOTBS has option MAXSIZE XXXX, then using DBCA you can generate new template and then investigate what tags uses DBCA for such option.

  • One user for multiple tablespaces

    Hello.
    Oracle 11g enterprise.
    Whenever I setup a new tablespace on my server, I create a user for each tablespace on the server.
    Is is possible to create only one user for all tablespaces on a server?
    What is the easiest way to create this one user to have all roles and privileges across all tablespaces?
    Any suggestions are greatly appreciated.

    I would seriously question a design with 'N' databases (whether they are on 1 or more or 'N' servers is not the issue) and DBLink from each of the databases to every other database.
    Not only is it going to be hell to manage (how and when can you decide to shutdown a database for maintenance / patching / server/hardware maintenance when you have N-1 others connecting to it online), but it indicates a possibly high level of data duplication.
    So we still revert to why you think you need that many databases and that many users and that many database links.
    As has been pointed out, there is no relation between tablespaces and DBLinks. NONE whatsoever.
    As for tablespaces and users, I can have
    a. One Tablespace and 10 database accounts with any 1 to 10 of the accounts storing data objects in the tablespace
    b. Ten Tablespaces and 1 database account storing data objects across all 10 tablespaces
    c. 100 database accounts but only 1 to N of them having any data objects, the others only doing SELECT/INSERT/UPDATE/DELETE on objects owned by 1 to N schemas. (This one schemas all being in 1 tablespace or M tablespaces).
    There is no one-to-one correspondence between users and tablespaces necessary. Tablespaces are for logical grouping of data objects.
    I keep referring to data objects as these (Tables, Indexes, LOBs, IOTs, Clusters etc) require storage. Objects like Sequences do not require separate tablepaces although they have persistent values. Objects like DBLinks and Views are only definitions and require no storage (other than in the data dictionary !). Objects like Procedures and Packages and Triggers are code objects and require no storage (other than in the data dictionary).
    So :
    1. Such a design needs to be questioned.
    2. Even if you need such a design, do not tie DBLinks to Tablespaces.
    3. Even if you need DBLinks, do not tie Users to Tablespaces.

  • Excel CUBESET across multiple dimensions returns #VALUE

    Simplified question:
    All the cubeset examples I'm finding seem to be limited to one "criteria"
    http://office.microsoft.com/en-us/excel-help/cubeset-function-HA010083019.aspx
    Ultimately I need a cubevalue that is based on multiple criteria. When I use a CUBEVALUE pointed to 4 different Cubeset cells, I get a #VALUE error.
    * Should I be trying to combine my sets before I feed them to the CUBEVALUE, or should it matter?
    * What conditions or circumstances would result in not being able to get a value from CUBEVALUE taking into account multiple CUBESET sources (I have independently identified that there are real values to return)
    * If it would be better to combine all the criteria in one CUBESET before feeding that to the CUBEVALUE, what is the syntax (bracket placement) for including more than one condition from other cells that each contain a single cubeset condition? e.g.
    =CUBESET("Cubename",({A1, A5, C10, B14}))
    Thank you!
    Note: two of my source cubesets are overlapping, I wouldn't think this is a problem- I'd expect the combination to work like a Venn diagram; one is "All members except APPLES", and the other is "All members except KIWI" so I'd expect
    the combination of the two to result in "All members except Apples OR Kiwi"... please clarify if that isn't correct

    Hi Keith,
    That seems the value is not getting fetched from the right place. This is a different behavior and to maintain only one issue on a single thread
    I would advise you to pursue the other thread you have just opened and will help us avoid duplication of the same issue.
    Please reach out to us if you have any questions on this issue and we will glad to work on it.
    Regards,
    Abhijeet.

Maybe you are looking for