How to increate and decrease database tablespace

All one of my table spaces has got 35MB free how do i increase it using the command line, and how do i decrease another table space.

In addition, not that you will be able to decrease till the highest used block. That say that even if you have 200Mb free in your datafile, you may not be able to reduce this datafile of 200Mb.
Nicolas.

Similar Messages

  • How to manage and prevent database lock for database admin and development

    how to manage and prevent database lock for database admin and development
    [email protected]

    Hi,
    can someone advise me some good book or even better a PDF or a white paper on the Web where it's explained well how to design and manage a relational database (that is normal forms, tuning, design, implemantation...)?
    I've been working on Oracle databases for a few years as pl sql programmer, but I'd like to read something describing well the relational database theory, because I've been asked to work as database designer.There are many books available in the market, please go through this link -- http://www.amazon.com/gp/bestsellers/books/549646/ref=pd_ts_b_nav
    I've been told to read "Fundamentals of Database Systems" by Ramez Elmasri, but I ask here for some more advices.I would strongly recommend reading this book, it was my best reference during my college study and even after starting my DBA career.
    Thanks,
    Hussein

  • How to export and import database from one laptop to another?

    hi,
    plz anyone help me to export and import one of my user in the database to another laptop.....
    i hav absoulutely no knowledge in doing this, plz some one help to do it from scrap...
    thanks in advance for ur kind help

    what's the oracle version on Source and Target Database release version? Take a look at the below links.
    [http://wiki.oracle.com/page/Oracle+export+and+import+]
    [Import_Export_FAQ|http://www.orafaq.com/wiki/Import_Export_FAQ]
    Export
    [Oracle Export Utility|http://www.psoug.org/reference/export.html]
    [Oracle Import Utility|http://www.psoug.org/reference/import.html]
    HTH
    Anantha

  • How to Activate and adjust database structure

    Hello Experts!
    I am working on a screen-exit u2018PPCO0012u2019. In u2018EXIT_SAPLCOKO1_002u2019 function exit & there is a structure given u2018CI_AUFKu2019. I did implement this structure but now I donu2019t need this user-exit anymore. How can I delete this field from structure? Because when I try to delete the field and check this structure it gives me error message
    u2018Structure contains no fieldu2019.
    Also like as we can u2018Activate and adjust databaseu2019 table through database utility is there anyway to do the same for structure?
    Thanks a lot in advance.

    Yes I did add a feild to a custome structure COCI_AUFK. But I used for component I sued ZZNAME and component type is NAME2. Now I donno is this causing problem?
    But what I've done it i deactive my this project thought cmod.
    Still having short dum becuase of VBDKL
    this is error:
    'Inconsistency in the Dictionary for the structure "VBDKL".'
    Then I went to check VBDKL (structure). When I checked it I get this message
    'Field NAME1 in table VBDKL is specified twice. Please check'
    I looked many time but NAME1 is not repeating at all. Not even in include structures

  • How to setup and auxiliary database

    Hi Everyone,
    i studied the documentation to create duplicate db, i understand the steps, only one thing is not cleared in my mind that how to create a auxiliary db. should i create a new database through database creation wizard, then modify the parameter file, but it will create control files too.
    Please clear my mind about this confusion.
    thanks

    Hi,
    The RMAN DUPLICATE command to create a duplicate database from target database backups while still retaining the original target database. To prepare for database duplication, you must first create an auxiliary instance.
    Creating an auxillary instance here just means setting up the correct init.ora parameters. You should not create the database using the creation wizard. For the duplication to work, you must connect RMAN to both the target (primary) database and an auxiliary instance started in NOMOUNT mode. The DUPLICATE command creates the control files by using the names listed in the
    initialization parameter file of the auxiliary instance. When choosing names for the duplicate database control files, make sure that you set the initialization parameter
    settings correctly so that you do not overwrite the production files at the target database.
    Thanks,
    Prajwal.

  • How to export and import database from command line?

    I am trying to export my old database into new server.
    However, I want to export and import that database from command line.
    Is it possible?
    Thanks.
    SZ

    I used this command
    exp username/password@database full=y
    my export log file is as follwing:
    Connected to: Oracle8i Enterprise Edition Release 8.1.5.0.0 - Production
    With the Partitioning and Java options
    PL/SQL Release 8.1.5.0.0 - Production
    EXP-00037: Export views not compatible with database version
    EXP-00000: Export terminated unsuccessfully

  • How to Export and Import the schemas

    How can i export & import the schema's ? pls give me some example on how to do it.
    Could anyone pls show the commands to retrieve the Tablespace information... i mean what its initial size.. and how much of space has been used...
    ur reply is very much appreciated
    regards
    Muraly

    user11136977 wrote:
    Hi all,
    i am trying to export / import, need to know the commands
    =>how to export and import full schemas from 1 user to another
    =>how to export and import database
    =>how to export the tablespaces
    RegardsNo version, must be 10g then.
    All you asked and much more in the Utilities guide.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm#i1023560
    HTH
    Aman....

  • Populate and see database objects in portal

    We have 2 servers.
    - A database server1
    - Application server2.
    we've installed 10G and import all data (from 8.7.1) in our database server1.
    We've installed the mandatory Infrastructure database and application server 10G in our application server2.
    Now we need to use Portal.
    How to populate and see database objects which are in database server1 using Oracle Portal in the application server2.
    Thanks
    Rgds
    Lausanne

    We have 2 servers.
    - A database server1
    - Application server2.
    we've installed 10G and import all data (from 8.7.1) in our database server1.
    We've installed the mandatory Infrastructure database and application server 10G in our application server2.
    Now we need to use Portal.
    How to populate and see database objects which are in database server1 using Oracle Portal in the application server2.
    Thanks
    Rgds
    Lausanne

  • How to incerese and decerese brightness in Hp 15-r006 tu laptop?

    i am unable to decerese and incerese display brightness in my hp laptop.<br>i also tried f2(to decerese), f3(to incerese) button but i doesn't works.<br>plz tell me how to do that,<br><br>Many thanks.

    Hi Hardikptl121,
    I understand that you would like to know how to work the screen brightness on your HP 15-r006tu Notebook PC. I will try my best to help you with this.
    Here is a document for Resolving Problems with the Brightness of the Display that explains how to increase and decrease the brightness.
    I hope this information helps, please let me know.
    Best of luck and have a great day!
    I worked on behalf of HP.

  • How can I list all users and their DEFAULT tablespace?

    How can I list all users and their DEFAULT tablespace?
    Peter

    Peter, the following short article that lists the most heavily used Oracle rdbms dictionay views might be of interest based on your question:
    How do I find information about a database object: table, index, constraint, view, etc… in Oracle ? http://www.jlcomp.demon.co.uk/faq/object_info.html
    HTH -- Mark D Powell --

  • How can i create a new and tableless database using database configuration

    How can i create a new and tableless database using database configuration

    How can i create a new and tableless database using database configuration
    Just don't install the sample schemas. See the installation guide
    http://docs.oracle.com/cd/E11882_01/server.112/e10831/installation.htm
    Using the Database Configuration Assistant
    When you install Oracle Database with the Oracle Universal Installer, the sample schemas are installed by default if you select the Basic Installation option. Selecting the sample schemas option installs all five schemas (HR, OE, PM, IX, and SH) in the database. If you choose not to install the sample schemas at that time, you can add them later by following the instructions in section "Manually Installing Sample Schemas".
    Choose a custom install and don't install the sample schemas.
    All other schems/tables installed are REQUIRED by Oracle

  • How to store and retrive images in oracle database

    hi,
    i am interested in storing some students pictures ( photos) into my oracle database, and i want to know since the images are considered as binary data and since BLOB and CBLOB and supported by oracle, how to insert and to select the picture from oracle from my swing-based application?
    does anyone have a complete sample or tutorial doing that well!!
    thx

    Mira este link,
    hay varios articulos interesantes.
    http://www.oracle-base.com/articles/9i/Articles9i.php
    tambien puedes consultar este link
    http://tahiti.oracle.com/pls/db92/db92.homepage
    completa los coampos solicitados con la palabra "Images"
    hay un manual de LOBs muy completo

  • Remote Desktop Services: corrupt system database, how to remove and start again?

    Hi. This is my first Windows Server 2012 R2 installation, and I have a made a small mess. I'd be very grateful for any assistance in sorting it out.
    I had some problems which I eventually tracked down to an incorrectly installed SSL certificate, but during my diagnostics, I foolishly deleted a row from a system table, thinking that if it messed up, I could always reinsert the row. Forgetting of course
    that I couldn't recreate the ID of the original record because it's an auto-ID field. So I realise I'm an idiot.
    I logged in to SQL server using:
    \\.\pipe\MICROSOFT##WID\tsql\query
    and deleted a row from:
    Databases/RDCms/Tables/rds.Target
    and from:
    Databases/RDCms/Tables/rds.Pool
    Predictably enough, the database is no longer coherent and RDWeb is not working properly, and I need to remove RDS and reinstall it.
    I thought that removing the RDS server role and adding it again would do it, but the erroneous data is still there.
    How can I get rid of it and start from a clean slate?
    Thank you in advance for any help.
    Stan

    Hi Stan,
    Thank you for your posting in Windows Server Forum.
    Can you let us know the specific error you are facing?
    In addition, you can try to use below powershell command to remove the rds role.
    Parameter Set: Default
    Remove-RDServer [-Server] <String> [-Role] <String> [[-ConnectionBroker] <String> ] [-Force] [ <CommonParameters>]
    Remove-RDServer
    In addition, you can refer this thread
    for reference. Also check "Disaster recovery options for the RD Connection Broker
    2012 (HA)" article.
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • How to place an image in database and how to retrieve and display it in the front end

    how to place an image in database and how to retrieve and display it in the front end
    and to place an image in database and retrieve the image from database using xml
    please,help me out.

    Create a table with a Long RAW Datatype column for storing the Image Column Data.
    Create the form based on the table , which by defaults the column with LONG RAW atatype to a Image Item.
    You can use Forms Built in function READ_IMAGE_FILE to read a Image file stored on the file system in to the image item.
    A save on the form saves the image in the Image item in the long raw column.

  • WPF- How to save and retrieve details from database

    I want to develop an desktop app to save and retrieve details from database, but am having a little hitch
    am getting errors in my code, kindly advice below are the required code
    xaml
    <Grid>
            <TextBox HorizontalAlignment="Left" Height="23" Margin="144,28,0,0" TextWrapping="Wrap" x:Name="TbxId" VerticalAlignment="Top" Width="193"/>
            <TextBox HorizontalAlignment="Left" Height="23" Margin="144,134,0,0" TextWrapping="Wrap" x:Name="TbxFn" VerticalAlignment="Top" Width="193"/>
            <TextBox HorizontalAlignment="Left" Height="23" Margin="144,77,0,0" TextWrapping="Wrap" x:Name="TbxLn" VerticalAlignment="Top" Width="193"/>
            <Label Content="Student ID" HorizontalAlignment="Left" Margin="10,28,0,0" VerticalAlignment="Top" Width="101"/>
            <Label Content="Last Name" HorizontalAlignment="Left" Margin="10,134,0,0" VerticalAlignment="Top" Width="101"/>
            <Label Content="First Name" HorizontalAlignment="Left" Margin="10,77,0,0" VerticalAlignment="Top" Width="101"/>
            <Button x:Name="BtnSave" Content="Save" HorizontalAlignment="Left" Margin="23,206,0,0" VerticalAlignment="Top" Width="75" />
            <Button x:Name="BtnBrowse" Content="Browse" HorizontalAlignment="Left" Margin="149,206,0,0" VerticalAlignment="Top" Width="75" Click="Save"/>
            <Button x:Name="BtnShow" Content="Show" HorizontalAlignment="Left" Margin="294,206,0,0" VerticalAlignment="Top" Width="75"/>
            <WindowsFormsHost Grid.Column="0" Margin="448,28,75,243">
                <wf:PictureBox x:Name="pictureBox1" Height="150" Width="150" SizeMode="StretchImage"/>
            </WindowsFormsHost>
        </Grid>
    cs
    private void Browse(object sender, RoutedEventArgs e)
                SqlConnection cn = SqlConnection(global::DatabaseApp.Properties.Settings.Default.Database1ConnectionString);
                try
                    OpenFileDialog dlg = new OpenFileDialog();
                    dlg.Filter = "JPG Files (*.jpg)|*.jpg|GIF Files (*.gif)|*.gif|All Files(*.*)|*.*";
                    dlg.Title = "Select Student Picture";
                    if (dlg.ShowDialog() == DialogResult.OK)
                        imgLoc = dlg.FileName.ToString();
                        picStu.ImageLocation = imgLoc;
                catch(Exception ex)
                    System.Windows.MessageBox.Show(ex.Message);
    Thank you
    Jayjay john

    Hi Joakins,
    I think Lloyd has a point here in that all I see there which is really database related is a connection string.
    Maybe your question is more general though and you're just asking how to work with a database as a general principle.
    Personally, I like entity framework and would recommend that.
    You can read a shed load of stuff about it.
    https://msdn.microsoft.com/en-gb/data/ef.aspx?f=255&MSPPError=-2147217396
    With WPF almost every dev uses MVVM and I'm no exception.
    You may find this interesting:
    http://social.technet.microsoft.com/wiki/contents/articles/28209.wpf-entity-framework-mvvm-walk-through-1.aspx
    The article for the second in the series is only partly written, but the sample is complete:
    https://gallery.technet.microsoft.com/WPF-Entity-Framework-MVVM-78cdc204
    Hope that helps.
    Recent Technet articles: Property List Editing;
    Dynamic XAML

Maybe you are looking for

  • Wake up problem. Macbook pro 15'', mid 2010, entry model with HR screen

    My model is macbook pro 15'', mid 2010 with HR screen. I just used it for about two weeks. If I close the lid and open it after a short time, everything is fine. But, if I close the lid and leave it for a long period (mostly overnight, sometimes with

  • I ipod touch is not showing up on my computer when I plug in to update and download audiobooks.

    I ipod touch is not showing up on my computer when I plug in to update and download audiobooks.

  • Keyboard problem with wmode transparent and firefox

    Hello, I came accross a very nasty bug in this configuration: FireFox+Windows+[Flex area using the wmode=transparent] If the flex area has a text input, then the keyboard mapping is stuck with a wrong keyboard mapping and some characters can simply n

  • Opening PDF files - Issue????

    Using Photoshop CS4 Using Illustrator CS4 I am opening a pdf file in photoshop, but found that part of it was not opening correctly. I have a PDF, with three images/objects.  1 image/object is on the canvas, the other 2 are off the canvas.  You can v

  • Education cess

    Hi, There is change in education cess 2% to 3% , can anybody tell me steps in upgrading and what r notes required for it. is the procedure like go to tax code and change directly percentage  from 2% TO 3% is this correct method? Kindly revert back Th