Convert from dictionary to local managed?

Hi all,
Good day!
when we convert from dictionary to local managed is it dependant on CPU or no of extent?
Thanks in advance
Elina

How are you converting the tablespaces? 8 hours seems excessive if you are using dbms_space_admin.TABLESPACE_MIGRATE_TO_LOCAL , I have seen situations where creating new locally managed tablespaces and moving the objects accross takes a long time as the old extnets are deallocated from the UET$ table and added to FET$. in these cases the speed of an individual CPU core is the limiting factor as SMON handles the deallocation of extents.
If this is the case then migratig the tablespace to locally managed using dbms_space_admin then migrating to a new tablespace may be faster, if not then can you post what method you are uing to migrate and the version of the database
Chris

Similar Messages

  • Convert a tablespace to local managed

    Is it possible to have a local managed tablespace and convert it to dictionary managed?

    Really I have not seen that posibility directly with a command but you could check the ALTER TABLESPACE command but remember that you could do this:
    1.- Create a tablespace dictionary managed if the system tablespace is not locally managed
    2.- Move all tables and indexes to that tablespace found in the another tablespace.
    Joel Pérez
    http://otn.oracle.com/experts

  • Diff betwwen dictionary and locally managed

    hai
    plz explain me abt diff betwwen dictionary and locally managed

    Hi,
    Its some of themost hot topics over the internet.Please read the manuals given by Adith they would explain the things.
    For starting,
    DMT
    In the old versions,whenever Oracle usedto allocate space for a datafile and later on, uses that space,it used to maintain the information in some data dictionary tables(hence the name Dictionary managed).This used to create a huge amount of performance impact as for each space operation,there was a check on the data dictionary tables whether the space is there or not?This also used to lead lots of extra undo/redo getting generated because the tables in teh dictionary has to be updated.This wsa a setback.
    LMT
    Oracle changed the mechanism.Now the same informaiton is maintained with the Datafile header.There is no dependency on the dictionary and hence its more faser.As well this wont generate the extra undo/redo so it will always begood.This is achieved by tracking the space by bits in a seperate segment called bitmap segment.
    Well I guess that should be enough,more and much more detail in the docs.So please read them.
    Aman....

  • Converting from global to local filesystem

    Hi all, I have a 2-node cluster running Sun Cluster 3.2 in which multiple file systems are currently marked as global file systems (ie the file systems are visible from both nodes and they all have the "global" keyword in /etc/vfstab). I've been requested to turn these (global) file systems into "local" file systems.
    Is this done by removing the keyword "global" from /etc/vfstab for each file system on both nodes and then rebooting each node?
    Thanks in advance,
    Stewart

    Hello,
    yes, by removing the global flag until the next mount of that vfstab entry.
    You can check it in the output of the mount command for that FS.
    HTH,
    jono

  • Converting dictionary to local - Dataguard

    Hi All,
    OS: Sun Solaris SPARC 5.10
    Database: 10.2.0.4
    We are planning on converting all dictionary managed tablespaces to local, we have a physical standby database. My question is: how is converting dictionary managed tablespaces to local going to affect our standby database, are the changes going to be shipped across to the standby database? I do not have a testing environment with physical standby.
    Your advise will be highly appreciated.
    Regards,
    Durbanite

    Hi,
    Study the below details and steps:
    Converting DMT to LMT:     
    SQL> exec dbms_space_admin.Tablespace_Migrate_TO_Local('ts1');
    PL/SQL procedure successfully completed.     
    Converting LMT to DMT:     
    SQL> exec dbms_space_admin.Tablespace_Migrate_FROM_Local('ts2');
    PL/SQL procedure successfully completed.     
    Important Points:
    1. LMTs can be created as
    a) AUTOALLOCATE: specifies that the tablespace is system managed. Users cannot specify an extent size.
    b) UNIFORM: specifies that the tablespace is managed with uniform extents of SIZE bytes. The default SIZE is 1 megabyte.
    2. One cannot create a locally managed SYSTEM tablespace in 8i.
    3. This is possible with in 9.2.0.X, where SYSTEM tablespace is created by DBCA as locally managed by default. With a locally managed SYSTEM tablespace, the rest of the tablespaces in such database have to be locally managed as well.
    4. Locally managed temporary tablespaces can not be of type "permanent".     
    Best regards,
    Rafi.
    rafioracledba.blogspot.com
    Edited by: Rafi (Oracle DBA) on May 27, 2010 3:02 AM

  • Explain local manage tablespace and dictionary manage tablespace

    hi all,
    kindly help me to understand local manage and dictionary manage tablespace
    i have read search result and oracle corporation book still unable to understand
    what i know that local is managed by bitmap(no redo) and dictionary is managed by dictionary(generates redo) plz explain this as well
    and also suggest me some documentation.
    thanks
    Navin

    Navin,
    These are excerpts from Oracle documentation
    Dictionary Managed Tablespace_
    If you created your database with an earlier version of Oracle, then you could be using dictionary managed tablespaces. For a tablespace that uses the data dictionary to manage its extents, Oracle updates the appropriate tables in the data dictionary whenever an extent is allocated or freed for reuse. Oracle also stores rollback information about each update of the dictionary tables. Because dictionary tables and rollback segments are part of the database, the space that they occupy is subject to the same space management operations as all other data.
    Lcaolly Managed Tablesapce_
    A tablespace that manages its own extents maintains a bitmap in each datafile to keep track of the free or used status of blocks in that datafile. Each bit in the bitmap corresponds to a block or a group of blocks. When an extent is allocated or freed for reuse, Oracle changes the bitmap values to show the new status of the blocks. These changes do not generate rollback information because they do not update tables in the data dictionary (except for special cases such as tablespace quota information).
    Locally managed tablespaces have the following advantages over dictionary managed tablespaces:
    Local management of extents automatically tracks adjacent free space, eliminating the need to coalesce free extents.
    Local management of extents avoids recursive space management operations. Such recursive operations can occur in dictionary managed tablespaces if consuming or releasing space in an extent results in another operation that consumes or releases space in a data dictionary table or rollback segment.
    The sizes of extents that are managed locally can be determined automatically by the system. Alternatively, all extents can have the same size in a locally managed tablespace and override object storage options.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/physical.htm#sthref518
    Regards

  • IPod Classic 160GB film library sync problem -  trying to sync films that have converted from purchased DVD to mp4 format locally, not purchases from the online store - all other libraries sync perfect - why?

    Hello Apple and the iTunes Windows PC users community.
    I am trying to sync films that I have converted from purchased DVD to mp4 format locally, not purchases from the online store. The mp4s all appear and play successfully in my iTunes application but will not sync across to the iPod film library folder.
    For your information: I am using iTunes 11.1.3.8 on a Windows 7 64bit machine with 500GB hard disk and 8GB of Ram in the UK.
    I have restored the iPod classic 160GB three times now to see if it was a hardware problem with no joy. Each time all the music restores properly as do the podcasts and all the items in TV programmes all appear to sync and work fine.
    I have also tried to copy films into the TV Programmes to get around it with no joy. They always go to the films section to start with. It is just the Films library that does not sync - all others work perfectly. As a last resort I have uninstalled and re-installed iTunes with no joy either.
    I am technically savvy and have gone through the itunes and ipod settings but nothing appears to make a difference - This is the first time I have had to post here as I can usually solve the majority of the ipod anomilies but this one has me flummoxed.
    Has the film encoding type changed in the newest itunes update? - Has this happened to anybody else and is it a hardware, software, or operating system problem.

    Having uninstalled the current version 11.1.3.8 and loaded and older version of iTunes 10.7.0.21 I can now categorically confirm that the newest update seems to be causing the problem as the films and TV Programmes are syncing perfectly on this older version.
    If you are going to do this please dont forget to remove the  ' iTunes Library.itl' file as this stops the older versions from running as I've just found out

  • Pacman: Pathname can't be converted from UTF-8 to current locale

    Hello Forum,
    I am stuck with a problem to which I cannot find any solution after spending half the day trying to solve it:
    I have a package wich I installed from AUR -> MyCustomRepository working nicely on my main Arch system. Now I would like to add the package to a livecd using the archiso scripts. When I add it to my packages.both list it downloads fine.
    However when installation into chroot should start pacman gives me the following error:
    (378/378) loading package files [######################] 100%
    error: error while reading package /var/cache/pacman/pkg/pd-extended-0.43.4-1-x86_64.pkg.tar.xz: Pathname can't be converted from UTF-8 to current locale.
    error: failed to commit transaction (libarchive error)
    Errors occurred, no packages were upgraded.
    My System only uses en_US.UTF-8 as locale, so I don't really understand why any conversion should be neccesary.
    I read about a similar error somewhere with a reply stating it had  to do with packaging. No solution was given however. Can this be the case? And if yes, why do I not have any problems installling in my main system? And more importantly, how can I fix it? i don't really know where to look for the right way now.
    I already tried to include a different packages from AUR through my repository, which worked as expected.
    the package is pd-extended from AUR with a slight modification to make the .desktop file actually start pdextended.
    Any help is greatly appreciated.
    Thank you,
    Dominik
    # Maintainer: <fero dot kiraly at gmail.com>
    # Contributor: Dominik Schmidt-Philipp <[email protected]>
    pkgname=pd-extended
    pkgver=0.43.4
    pkgrel=1
    pkgdesc="PureData Extended 0.43-4 version"
    url="http://puredata.info/"
    arch=('i686' 'x86_64' )
    license=('BSD')
    depends=('libdc1394' 'desktop-file-utils' 'libiec61883' 'fftw' \
    'jack' 'tk' 'freeglut' 'libquicktime' 'libdv' 'gsl' 'imagemagick' \
    'ftgl' 'libgl' 'hicolor-icon-theme' 'lua51')
    makedepends=('dssi' 'git' 'libv4l' 'tcllib' 'subversion' 'swig' 'automake' 'curl')
    conflicts=('pdp' 'zexy' 'puredata')
    provides=( 'pd-extended' 'pd-gem' 'pdp' 'zexy')
    optdepends=('puredata-utils' 'pd-vanilla')
    replaces=(pd-extended)
    backup=()
    options=('!makeflags' '!libtool')
    install=pd-extended.install
    source=('change_gem_configure_file.patch' 's_inter.c.patch' 'tclpd.Makefile.patch' 'makefile.am.patch')
    md5sums=('63a36c51706eaed98611aa4b4bb6ed0d' '8b748d09e8bdf04540ba579d0a6b5318' '463de23166cef2dcf6c7f6989e636213' '5938b12a232004de15f5a383f95cedca' )
    build() {
    unset CFLAGS
    unset LDFLAGS
    unset INCLUDES
    #downloading pd-extended----------------------------------------------------------
    msg "Begin SVN checkout for pd-extended 0.43.4"
    cd $srcdir
    svn checkout https://pure-data.svn.sourceforge.net/svnroot/pure-data/branches/pd-extended/0.43 $pkgname
    msg "SVN checkout done or server timeout"
    cd ..
    #FIXES -----------------------------------------------------------------------------
    # fix #1 lua
    #patch $srcdir/$pkgname/externals/loaders/pdlua/src/Makefile ./repair_lua_lib_number.patch
    #fix #2 -- GEM configure.ac
    patch $srcdir/$pkgname/externals/Gem/configure.ac ./change_gem_configure_file.patch
    #fix #3 -- repair wish8.6 (for tcl8.6)
    patch $srcdir/$pkgname/pd/src/s_inter.c ./s_inter.c.patch
    #fix #4 -- repair version of tcl (8.6)
    patch $srcdir/$pkgname/externals/loaders/tclpd/Makefile ./tclpd.Makefile.patch
    #fix #5 -- repair binary name to pd-extended (from pd)
    #patch $srcdir/$pkgname/packages/Makefile ./program_name.patch
    patch $srcdir/$pkgname/pd/src/Makefile.am ./makefile.am.patch
    # 64 bit archutecure----------------------------------------------------------------
    if [ "$CARCH" = "x86_64" ]; then
    # fix -fPIC issue in PDP
    sed -e "s|CFLAGS =|CFLAGS = -fPIC|" \
    -i $srcdir/$pkgname/externals/pdp/opengl/Makefile.config || return 1
    # fix -fPIC issue in pddp
    sed -e "s|DEFINES =|DEFINES = -fPIC|" \
    -i $srcdir/$pkgname/externals/miXed/Makefile.common || return 1
    # setting additional variable
    FPIC_FLAG="-fPIC"
    else FPIC_FLAG=""
    fi
    #MAKE --------------------------------------------------------------------------
    cd "$srcdir/$pkgname/packages/linux_make" || return 1
    make BUILDLAYOUT_DIR=$srcdir/$pkgname/packages \
    GEM_EXTRA_CXXFLAGS="$FPIC_FLAG" \
    prefix=/usr \
    install || return 1
    package() {
    cp -urv $srcdir/$pkgname/packages/linux_make/build/usr $pkgdir/
    mv $pkgdir/usr/share/man/man1/pd.1 $pkgdir/usr/share/man/man1/pdextended.1
    rm $pkgdir/usr/share/man/man1/pdreceive.1
    rm $pkgdir/usr/share/man/man1/pdsend.1
    rm $pkgdir/usr/include/m_pd.h
    rm $pkgdir/usr/bin/pd-gui.tcl
    cd $srcdir/$pkgname/
    # PD License
    install -Dm644 pd/LICENSE.txt $pkgdir/usr/share/licenses/pd-extended/LICENSE.txt
    cd packages/
    install -p linux_make/default.pdextended $pkgdir/usr/lib/pd-extended/
    # Gnome menu support
    install -d $pkgdir/usr/share/icons/hicolor/128x128/apps
    install -p -m0644 linux_make/pd-extended.png $pkgdir/usr/share/icons/hicolor/128x128/apps/
    install -d $pkgdir/usr/share/icons/hicolor/48x48/apps
    install -p -m0644 linux_make/48x48/pd-extended.png $pkgdir/usr/share/icons/hicolor/48x48/apps/pd-extended.png
    install -d $pkgdir/usr/share/applications/
    install -p linux_make/pd-extended.desktop $pkgdir/usr/share/applications/
    sed -i "s/^Exec=.*/Exec=pdextended/" $pkgdir/usr/share/applications/pd-extended.desktop
    # mime
    install -d $pkgdir/usr/share/mime/packages/
    install -p linux_make/pd-extended.xml $pkgdir/usr/share/mime/packages/
    install -d $pkgdir/usr/share/icons/hicolor/128x128/mimetypes
    install -p linux_make/text-x-puredata.png $pkgdir/usr/share/icons/hicolor/128x128/mimetypes
    # files for /etc
    cd "$srcdir/$pkgname"
    install -d $pkgdir/etc/bash_completion.d/
    install -p scripts/bash_completion/pd $pkgdir/etc/bash_completion.d
    # emacs mode for .pd files
    install -d $pkgdir/usr/share/emacs/site-lisp/
    install -p scripts/pd-mode.el $pkgdir/usr/share/emacs/site-lisp/
    # Pd-related scripts
    install -p scripts/pd-diff $pkgdir/usr/bin/
    install -p scripts/config-switcher.sh $pkgdir/usr/bin/
    # vim:set ts=2 sw=2 et:

    I chroot into workdir. uncommented en_US.UTF-8 in /etc/locale.gen, run locale-gen and now get this inside the chroot.
    [root@dArch2 releng]# chroot work/x86_64/root-image/
    [root@dArch2 /]# locale
    LANG=en_US.UTF-8
    LC_CTYPE="en_US.UTF-8"
    LC_NUMERIC="en_US.UTF-8"
    LC_TIME="en_US.UTF-8"
    LC_COLLATE="en_US.UTF-8"
    LC_MONETARY="en_US.UTF-8"
    LC_MESSAGES="en_US.UTF-8"
    LC_PAPER="en_US.UTF-8"
    LC_NAME="en_US.UTF-8"
    LC_ADDRESS="en_US.UTF-8"
    LC_TELEPHONE="en_US.UTF-8"
    LC_MEASUREMENT="en_US.UTF-8"
    LC_IDENTIFICATION="en_US.UTF-8"
    LC_ALL=
    this looks alright to me. Any more suggestions?
    It's the first time I use a custom-repo and I set it up only for this purpose. So yes, it's up to date and can be used outside the chroot. Also a different package I put from AUR into my custom-repo installs fine and doesn't give this error.
    How else could I test the custom-repo?

  • How to change the dictionary-managed taclespaces to locally managed

    Hi,
    how to change the dictionary-managed taclespaces to locally managed tablespaces in 9i?
    Many thanks.

    Hi
    execute DBMS_SPACE_ADMIN.TABLESPACE_MIGRATE_TO_LOCAL ('TABLESPACE_NAME');

  • Convert from Managed to Referenced

    Greetings,
    I posted this question once before, just wanted to try again.
    I followed Sierra Dragon's recommendation on upgrading my library (over 300GB in size). I am about to convert from managed to referenced, but I have a specific filing structure in Aperture that I would like to maintain on my FW800 drive.
    Basically, every folder starts with the year, the 2 digit month followed by the name of the month, (2010 10 October). Within each of these folders are my projects. This sorting helps me keep track of my favorite subjects.... (My family).
    That being said, when I convert, it would appear that Aperture will keep each picture in the project but not do so by folder. I want to maintain the folder structure. Does anyone have any input on how this is accomplished.
    My thanks to all.
    De Colores...
    Michael

    Hi Michael,
    I don't have time this morning for a thorough (or, apparently, concise) response. See if this is in any way helpful.
    I followed Sierra Dragon's recommendation on upgrading my library (over 300GB in size). I am about to convert from managed to referenced, ...
    Good. Moving your Masters off your system drive (assuming that's where they are) should give you a performance boost as well as allowing you to expand your holdings.
    but I have a specific filing structure in Aperture that I would like to maintain on my FW800 drive.
    Why (I mean that)? What advantages do you get from this unique filing structure? Can those advantages be had with anything simpler, more standard, or easier-to-implement?
    That being said, when I convert, it would appear that Aperture will keep each picture in the project but not do so by folder. I want to maintain the folder structure.
    This is, ime, a waste of your time. Aperture already doesn't store your digital negatives this way. (Right-click your Aperture Library in Finder and select "Show Package Contents to see how Aperture stores your files. Look but don't touch.) When you convert from a Managed Masters to a Referenced Masters Library, your Library structure remains untouched: your Image Folder structure is not altered. All that happens is that digital negatives are moved, and the pointers in your Library are pointed to the new locations outside the LIbrary instead of the current locations inside the Library.
    One of the powerful but odd things which Aperture does is to separate image management from file management. File management structures are fixed (and unwieldy). Aperture frees the user from those confines (and for many users, keeps this secret). You surely know this already, but now as you convert from a Managed Masters Library to a Referenced Masters Library is a good time to examine it again. You want to view your Projects by date? Go to Projects View and sort by date. You can group by year and drill down. With effective Project-naming, your can filter by type (e.g.: family, personal, work, birds). Your tools for image viewing are much more powerful. Want to see all shots of your dog during the first year of its life? No problem (as long as you've keyworded well). You can even set up Smart Albums -- as many as you like -- for this or (almost) any imaginable sub-set of your images. And when your interests change, you can delete the Smart Album (or Album) and not worry at all about losing your images.
    I realize none of that is new to you. The point I'm trying to make is that your Library structure can and should be designed foremost to meet your image retrieval needs (and not your file storage needs). Each digital negative lives in one and only one Project. Beyond that, you are free. In your case, it may make sense to create a structure based on family rather than one based on date. The date structure is hard-coded into Aperture -- you can't lose it, you can always use it, and you don't have to reproduce it in your Library.
    My suggestion is to treat separately your file storage from your image storage (don't use your file storage structure as your image storage structure), and develop an image storage structure which works great for you that is not based on "when shot". (And again, "when shot" is very valuable -- so valuable, it's irremovably hard-coded into your images and into Aperture, which is why you needn't recreate it.)
    Back to your question: if Aperture won't create the Finder folder names you want, use the great Name Mangler to batch rename your Finder folders. At most you'll have to run it through twelve times, once for each month. This would be a one-time change. After that, you'll have to manually create new folders (might as well do them in sets of twelve), and then when you Import point to the storage folder.
    None of that is, respectfully and imho, worth the effort.

  • Delivery of reports with different local timezone convert from UTC time

    I have a central database storing events with UTC time (current location is Europe). I have a request to send historical reports (e.g Aug 2013 report) to US, Asia and I required to convert the UTC time to US and Asia when generating reports. I am thinking
    the best way of design the dimension table, shall I have a history timezone table to match the utc time id with US and Asian timezone in order to do the historical report time conversion , considering the daylight saving condition as well. Any suggestions
    are welcome. Thanks.

    What version of SQL Server you are using? How do you generate reports? If it is SQL Server 2012 take a look at
    --Retrieve the current time as a datetimeoffset (comparable to the venerable GETDATE function):
                    SELECT SYSDATETIMEOFFSET()
    ---Retrieve the server’s current time zone offset (the number of minutes before or after UTC):
                    SELECT DATENAME (TZoffset, SYSDATETIMEOFFSET())
    ---Convert from datetime to datetimeoffset (note that this uses the server’s current time zone offset, which could be inappropriate for historical dates):
                    SELECT TODATETIMEOFFSET (datetimevalue, DATENAME (TZoffset, SYSDATETIMEOFFSET()))
    ---Convert a datetimeoffset value (in this case, local server time returned by SYSDATETIMEOFFSET) to a new time zone offset:
                    SELECT SWITCHOFFSET (SYSDATETIMEOFFSET(), '-05:00')
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • I recently converted from my Blackberry Torch to the Z10.  I travel a lot and use the VZ Access manager through my Torch.  Can I do the same thing through my new Z10?  I don't see that as an option on the software sight.

    I recently converted from my Blackberry Torch to the Z10.  I travel a lot and use the VZ Access manager through my Torch.  Can I do the same thing through my new Z10?  I don't see that as an option on the software sight.

        Hi Atepastt,
    Congrats on your new Z10! I know having the right features is important. The Z10 uses Blackberry link software. The device uses the mobile hotspot feature to non-cord tether the device. The mobile hotspot feature is an additional cost. You can add this feature online http://vz.to/1di2TlT .
    Thanks,
    PamelaF_VZW
    Tweet us @vzwsupport

  • Local Management of Tablespace - Help

    We are using oracle 8i std edition on solaris. We want to create a locally
    managed tablespace for a particular schema. The objects of this schema
    will be imported every day from the same schema on another same database server.
    The existing schema tablespace is locally managed with system allocation type.
    1.We want to know what are the points to be kept in mind while creating a locally
    managed tablespace in the new db.
    2. Should the tablespace have a single datafile or more than one(The existing one has
    3 datafiles)? Which one is better? (There will be no activity on this new db as it is
    for standby only. If the existing one fails, this db will be used.
    4. Since we are going to export from the existing one and import into the new db schema
    every day ( the schema in the new db will be dropped and recreated daily before import),
    will there be any problems that we will encounter by doing so?
    Please let me know all the information so that we do not face any problem after
    implementing this.
    Note: Currently the failover schema tablespace is dictionary managed and we plan to
    entirely drop this tablespace and create a new one by the same name but locally managed
    this time. So what steps to be taken while dropping the tablespace and creating a new one
    by the same name? Will there be any problems because of this? Is a db restart required
    after this? Kindly enlist the points and steps.
    We appreciate your immediate help.

    93469, to answer some of your questions:
    1- You need to determine if the new tablespace should be locally managed using uniform extents or autoallocate. The answer should probably be based on how much variation exists between the current object sizes (used allocation). If you have a lot of very small tables and a few large one then autoallocate may be a better choice that uniform extents.
    2- Why use three files if one will do? You should have a file management policy about file sizes and allocations so you should follow it.
    3- The best way to answer this question is to try the import and find out. There are some imp/exp bugs in 8.1 but since your tablespace names will match you will avoid the only one that comes to mind. Tables with LOB objects imported into a db where the target tablespace does not exist so that the table defaults to the owner default tablespace will fair if the LOB segment tablespace points to a non-existing tablespace since Oracle development failed to default it also. But if you do not have LOB segments this is not an issue. Come to think of it I do not think you can import a table with a LOB table into an autoallocate tablespace in version 8.1.
    HTH -- Mark D Powell --

  • LOCALLY-MANAGED TEMPFILE 의 RENAME 방법

    제품 : ORACLE SERVER
    작성날짜 : 2002-12-13
    LOCALLY-MANAGED TEMPFILE 의 RENAME 방법
    =======================================
    Purpose
    Locally-managed temporary file의 위치 변경 방법
    Problem Description
    Temporary tablespace 중 Dictionary managed file은 ALTER DATABASE RENAME FILE
    Command 를 이용하여 rename 이 가능하다.
    SQL> select TABLESPACE_NAME,CONTENTS,EXTENT_MANAGEMENT
    from dba_tablespaces;
    TABLESPACE_NAME CONTENTS EXTENT_MAN
    TEMP TEMPORARY DICTIONARY
    SQL> alter tablespace temp offline;
    Tablespace altered.
    SQL> alter database rename file '/V816/temp01.dbf' to '/V816/temp02.dbf';
    Database altered.
    SQL> recover tablespace temp;
    Media recovery complete.
    SQL> alter tablespace temp online;
    Tablespace altered.
    그러나 Locally-managed tempfile 은 다음과 같은 error 가 날것이다.
    SQL> select name from v$tempfile;
    NAME
    /V816/temp01.dbf
    SQL> alter database rename file '/V816/temp01.dbf' to '/V816/temp02.dbf';
    alter database rename file
    *ORA-01511: error in renaming log/data files
    ORA-01516: nonexistent log file, datafile or tempfile '/V816/temp01.dbf'
    SQL> alter tablespace user_temp_1 offline;
    alter tablespace user_temp_1 offline
    *ERROR at line 1:
    ORA-03217: invalid option for alter of TEMPORARY TABLESPACE
    Solution Description
    Solution 1
    기존의 Locally managed tablespace를 drop하고 새로운 위치의 tempfile 을 가진 tablespace 를 다시 생성.
    SQL> select file_name, tablespace_name from DBA_TEMP_FILES;
    FILE_NAME TABLESPACE_NAME
    /V816/temp01.dbf USER_TEMP_1
    SQL> drop tablespace user_temp_1;
    Tablespace dropped.
    SQL> create temporary tablespace user_temp_1
    2 tempfile '/V816/temp02.dbf' size 2M extent management local;
    Tablespace created.
    Solution 2
    Tempfile을 drop하고 기존의 tablespace 에 새로운 위치를 add 후 Os 에서 file 을 삭제
    SQL> alter database tempfile '/V90164/temp02.dbf' drop;
    Database altered.
    SQL> alter tablespace USER_TEMP_1 add tempfile '/V90164/temp03.dbf' size 2M;
    Tablespace altered.
    $ rm /V90164/temp02.dbf
    9i에서는 ,다음과 같이 한 문장으로 tempfile과 os file을 없앨수 있다.
    SQL> alter database tempfile '/V901/temp02.dbf' drop including datafiles;
    Database altered.
    SQL> alter tablespace USER_TEMP_1 add tempfile '/V90164/temp03.dbf' size 2M;
    Tablespace altered.
    Reference Documents
    Note:97458.1

    Hi,
    From the alert log what you have posted :-
    You have a restore of Existing DB from different DB to this New One
    WARNING: Default Temporary Tablespace not specified in CREATE DATABASE command
    Default Temporary Tablespace will be necessary for a locally managed database in future release
    Setting recovery target incarnation to 1
    After shutting Down completed "Fri Jul 04 21:52:33 2008"
    How come July 4th... (Could not understand this, from which place
    your are from)
    Started instance
    --Starting ORACLE instance (normal)
    After that tried to create database Once again
    then due to that File got corrupted
    ORA-00312: online log 1 thread 1: 'E:\ORACLE\ORADATA\TEST\REDO01.LOG'
    Yoy might have not created DB correctly or restored. So kindly drop everthing (DB), if it is a testing Machine, then Clear the Services First from machine Delete all files with respective DB and re-do the Job with out any mistakes.
    Thanks & Regards,
    Pavan Kumar N

  • Downsides to Locally Managed Tablespaces?

    I am creating a database from scratch and am looking at locally managed tablespaces.
    Are there any downsides to locally managed tablespaces?
    I understand that if the SYSTEM tablespace is locally managed, then all other tablespaces need to be locally managed. Are there any cons to this?

    <quote source="AskTom.oracle.com">
    Locally managed tablespaces are much faster at allocating and de-allocating
    extents - many order of magnitudes faster.
    locally managed tablespaces decrease contention on the data dictionary.
    There is nothing bad about them, only good things.
    </quote>
    http://asktom.oracle.com/pls/ask/f?p=4950:8:720407411417074486::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:409670433426

Maybe you are looking for

  • Webutil_host.blocking procedure blocking the application intermittently

    we are using webutil_host.blocking procedure to open a word document and have the application blocked until word document is closed. It opens the word document fine but blocking the application intermittently. Since it was not blocking intially, I st

  • RMAN backup and restore for Disaster Recovery

    Hi Guys, I am very new to Oracle and have a question about RMAN backup and restore feature. I am simulating a disaster recovery scenario by having two VMs running oracle 11g, say hosta and hostb, hosta is sort of production db and the other a disaste

  • Switching an iPod from Windows to Mac

    I am about to buy my stepson a Mac to replace his PC. He wants to be able to transfer his iTunes library from the PC to his new Mac and I am hoping that he can do this using his iPod. Will this work and is there anything I need to do other than plug

  • Issue in the Academic Scales for Campus Management

    Hi All, When I use the quality scale A  to E , it works fine without any problems. But when there is a H or O grade [ So H and O will come after E where H is my top grade] ,and  the system automatically calculates in an ascending order which will not

  • How can I download an earlier version of Firefox?

    I am using an iMac computer. Some banking institutions will not recognize Firefox 5.0 and instead need to see Firefox 4.0. How can I download Version 4?