Database...  uh... shifting

Howdy,
I have an application server that relies on data in an oracle database. This is a development environment. I'd like to be able to shift from one version of the database to another quickly and easily. The reason for this need is that I want to be able to shift between different installs of the application in my development environment - some installs might be clean out-of-the-box implementations, some with sample data, some with customizations I've developed, etc.
If I were using MS SQL Server, I would stop my application server, detach one logical database (& logs) from the database server, attach my desired version, then start my application server. If I script it, I can shift from one version to another in under a minute.
I'm familiar with oracle, and I know that the terminology and structure are different, but I'm hoping someone might be able to understand what I'm requesting and come up with a solution for me. Backup & restore or export/import aren't ideal options for me since these are fairly large databases and those operations can be time consuming.
The underlying structure between these different installs can be slightly different (some may have more tables than others). Oracle settings between different installs is static.
Like a lot of "enterprise" apps, direct database interaction is minimal, the application is not optimized for any particular database platform, and the database platform is essentially a high-performance storage engine for application data. I didn't write it, just trying to provide enough information so that someone can help me out.
Currently working with 11g/RHEL, but a solution that isn't platform dependent or specific to an oracle version is desirable.
I appreciate your time and your assistance,
Steve

Steve-a-rama wrote:
It uses oracle libraries to connect, and I can configure an SID for alternate implementations.
But if I have two schemas online, isn't oracle using twice the resources? Or does it share resources between schemas?
If it does use twice the resources, can I take one offline when it is not being utilized? (my dev box does not have a great deal of RAM)
Sorry that these are basic questions.While a one conceptual level one might think of an Oracle schema as being equal to a MS database, that is still not an exact analogy.
The database is a collection of data files that contain database objects. The instance is the memory and processes that access and manage the database. The schema is simply a collection of objects that belong to one user account - a namespace if you will. A schema is just a collection of objects within a given database. There is no such concept of a schema being 'online' or not. There is no such concept as logging on or connecting to a schema.+ One simply connects (logs on) to the instance+ (commonly aka the "database", but to be precise, that is not accurate). When one connects, one has a default schema that all unqualified object references will resolve to.

Similar Messages

  • Database Storage Shifting

    Dear All,
    Our Production Database files are hosted in SAN Storage. Right now we want to movieto a new storage provided by a different storage company
    I would like to know what are things/procedures to be done from the database side and any links that can give more information in regarding to this.
    Thanks in Advance

    user585870 wrote:
    Dear All,
    Our Production Database files are hosted in SAN Storage. Right now we want to movieto a new storage provided by a different storage company
    I would like to know what are things/procedures to be done from the database side and any links that can give more information in regarding to this.
    Thanks in AdvanceIf you can mount the new system before you dismount the old, you can easily move the files - physically move them via os commands, then logically move them (change their pointers in the control file) via the 'rename' sqlplus command.

  • Database data file growing very fast

    Hi
    I have a database that runs on SQL server 2000.
    A few months back, the database was shifted to new server because the old server was crash.
    There was no issue in old server which was used more than 10 years.
    I noticed that the data file was growing very fast since the database was shifted to new server.
    When I run "sp_spaceused", a lot of space are unused. Below is the result:
    database size = 50950.81 MB
    unallocated space = 14.44 MB
    reserved = 52048960 KB
    data = 9502168 KB
    index size = 85408 KB
    unused = 42461384 KB
    When I run "sp_spacedused" only for one big table, the result is:
    reserved = 19115904 KB
    data = 4241992 KB
    index size = 104 KB
    unused = 14873808 KB
    I had shrink the database and the size didn't reduce.
    May I know how to reduce the size? Thanks.

    Hallo Thu,
    can you check whether you have active Jobs in Microsoft SQL Server Agent which may...
    rebuild Indexes?
    run maintenance Jobs of your application?
    I'm quite confident that index maintenance will cause the "growth".
    Shrinking the database is...
    useless and
    nonsence
    if you have index maintenance Tasks. Shrinking the database means the move of data pages from the very end of the database to the first free part in the database file(s). This will cause index fragmentation.
    If the nightly index maintenance Job will rebuild the Indexes it uses NEW space in the database for the allocation of space for the data pages!
    Read the blog post from Paul Randal about it here:
    http://www.sqlskills.com/blogs/paul/why-you-should-not-shrink-your-data-files/
    MCM - SQL Server 2008
    MCSE - SQL Server 2012
    db Berater GmbH
    SQL Server Blog (german only)

  • Outlook no longer working since OS update

    Outlook error messages 3259 & 3260 - emails stuck in outbox (previously working fine)
    I AM REPOSTING THIS FROM THE MICROSOFT OFFICE SUPPORT FORUM AS IT'S BEEN OVER 6 MONTHS AND NOTHING HAS HELPED
    I am using Outlook 2011 for Mac (with Lion 10.7) and my emails have suddenly stopped sending and are sitting stuck in the outbox. The error messages received are either 3259 ("an operation on the server timed out.....") or error 3260 ("Outlook cannot connect to the server. Verify that your computer is connected to the network") with 3260 being the most recent and frequent. This is not an internet connection issue as all other internet programmes are working.
    Its a small business POP account, I set it up myself and it has been working fine for for the last 3 months. I initially had this same problem (but can't remember the error message) and managed to sort it out by overiding the default port 25 and using 587 instead (picked this up on another forum and it worked fine). I have tried reverting the default port, rebuilding the outlook database (holding shift or option when starting), and emptying all folders and restarting the programme. 
    Obviously I have tried using the email account remotely and this is working as normal so this suggests an Outlook issue. I have also installed my mailbox on another machine and had no trouble. Any suggestions from you Mac experts? Over in Microsoft world nobody can figure it out....
    thanks in advance

    No I don't have HTML files, we have video streaming code from Brightcove that we paste into the Insert HTML dialog. One of the handy things about this was that we could quickly edit the code to change the size of the playback window on the page, then Brightcove automatically serves up the most appropriate resolution of the multiples it holds on its server.
    My options now are:
    1. Turn a rectangle frame into a standard web content frame and direct it to the video's fixed URL. Problem: we get one predetermined resolution and users don't know what it is, although they can get a rough visual idea by previewing the page on an iPad.
    2. Create dozens of HTML files that contain different video streaming code and load them into standard web content frames. Problem: in order to specify and change the size of the videos on the page, users will have to edit the HTML files and then manually change the frame sizes.
    Before we start spending too much time and cash on developing option 2, can I get an ETA on the fix for this bug, please? Is a downgrade to v24 really not possible?

  • How to determine the last record inserted

    hi
    I have a table abc ( x number, y number, z date ) columns, there
    is no primary or unique key.
    I have been inserting values into it. there r some duplicate
    values to.
    but now I want to modify only the record inserted at the end.
    i.e
    if initially ABC is having
    x y z
    10 20 01-nov-2001
    11 20 01-nov-2001
    out of these records I want to change the value of x to 50 for
    the record which was inserted last or shall I say whose z is the
    greatest.
    I have been trying to do but what I see that the z column is not
    getting the time in increasing order. i.e even though I tried to
    display the dated in dd-mon-yyyy 24hh:mm:ss format still and I
    found that date is not consistant. the record I inserted first
    is have a much more value than the record I inserted last.
    please help...
    Sreekant

    rowid refers to the current position of the record; if the
    record has been moved (and there are any number of reasons why
    the database might shift a record) the order of rowid will not
    reflect the order of insertion.
    the only way to guarantee order of insertion is to timestamp the
    record. if I understand the original posting, you have been
    doing this.
    Now you should have been using SYSDATE. if you are saying that
    SYSDATE is giving you inconsistent results then you have a real
    problem: has somebody been tinkering with your database server -
    changing the system clock or something?
    Or are you using some other method to set the value for Z
    column? If so, what?
    rgds, APC

  • Oracle carrer advice

    hi
    iam working in a reputed mnc with CMMi level 5 .Started as fresher (BE I.T) i have around 1.6 years of experiance in unix scripting/oracle sql production support.
    with learning of sql and shell scripting
    i want to make my career in oracle which should be more dynamic,learning and creative not like in production support which have monotonus life.
    could anyone please guide me about what career path i should choose ?
    DBA , i have heard is montonous job too with same routine backups,no creativity with nightshifts and all, but it is more stable as people said. I have no experiance of it.
    second devolper track in sql/pl sql having its own limitations like less demand, less financial growth etc. and people usually wants to shift in other area like BO
    i don`t have any info about others areas like that i would like to explore
    1)Datawarehousing
    2)Oracle apps
    3)Business objects (BO reporting)
    4)Oracle CRM etc
    5)Others (thats all i know,please add some others if they are creative )
    Problem area:
    1)iam really confused now which way to choose devopment or support
    2)how to jump in other company on wat basis? Since iam in prod support they will hire me for the same again
    3)How could i get to others areas like CRM,BO datawarehouse,apps ?As they more demanding and good learning and future path
    4)wat to do right now at this position?
    preparing for OCA right now but uncertain for career.
    Seeking good help from forum experts.

    user13564520 wrote:
    could anyone please guide me?
    desperate for some practical guidance!Well practical answer would be that stop listening to all and especially to those who tell a job X is more better(or worse) than a job Y. You have just started and I would suggest you to take a good look at all of the areas that you have mentioned you know nothing about it. Don't make a decision to be a DBA or a developer just because someone is asking you to be or not to be in it. It doesn't matter where you work, MNC or no MNC. What matters is that do you really like what you are doing and are aware about it's pros and cons. Its early for you to decide things in black and white so patience would be the key for you. I know a little about database and yet, never got tempted to learn anything else but there are many I know who after few years in database, has shifted now to different other domains (like Applications) . Some out of them are happy, some not.
    Aman....

  • HR database table--emp code & work schdeule--shift

    i want to know the database table which is havin EMPLOYEE CODE & DAILY WORK SCEDULE--SHIFTS.....can any one help me...

    hi Dheeraj,
    tables - PA2003 (OR PA2004) & T550A
    The daily work schedule shifts are maintained using infotype 2003/2004; Correspondingly you get thye employee code and daily work schedule shifts from
    1.PA2003(SUBSTITUTION)->PERNR (Employee code)
    2.PA2004 (AVAILABILITY)
    Get MOTPR TPROG VARIA from PA2003/2004 and read table T550A for the daily work schedule shifts.
    hope this helps
    Sajan.

  • Constraints in shifting UME from portal database to ABAP

    Hi All,
    We want to move our UME to ABAP and checking for the problems and constraints in this process.I have read in the below link that due to ABAP engine constraints User can change his password only once in  a day.
    http://help.sap.com/saphelp_sm32/helpdata/EN/84/10594aecd3e1408845e66c432b955e/frameset.htm
    We want to give the option for the user to change the password more than once in  a day from EP . Please suggest me that Can we overcome this constraint in any way or is it unavoidable? Please tell me if there are any other constraints in shifting the database to ABAP. Please help.

    Dear Sharath,
    Due to the security policy of the AS-ABAP system, users can change their passwords only once per day. However, if the administrator provides a new password, the user can and must change his or her password the next time he or she logs on.
    This is fixed in the system and cannot be changed.
    Another important constraint is that once you have chosen this data source configuration, you cannot change to any other data source configuration.
    For other constraints while using ABAP as data source, please refer to this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/49/9dd53f779c4e21e10000000a1550b0/content.htm
    Best Regards,
    Shitij

  • Shifting HTML DB from one database to another

    Hi
    I have an application developed in HTML DB on database DB1. Now can i shift this application to another database DB2. Now DB1 was the development database and DB2 is the production database. Both the databases are identical in terms of tables, indexes, column names, etc.
    Thanks
    Ameya.

    If you have html db installed on the second db then you just need to export and import the application.
    Denes Kubicek

  • Shifting data from PostgreSQL database to Oracle database

    hello folks,
    as i want to have an environment of many database servers of PostgreSQL databases on linux redhat 8.0 and one main database server of Oracle 8.1.7.0.0 on linux redhat 8.0;so that transections may go on PostgreSQL databases and Oracle database server would be used as a central repository to facilitate our data warehousing needs,I want to know how to shift data from PostgreSQL database to an Oracle database at the end of the day.What to do? From where can i get its documentation.
    Any suggestion would be highly appreciated.
    Regards.
    Muhammad Umar Liaquat.

    Since you're going to want to move the data regularly, I'd suggest looking into the Oracle Transparent Gateways (Heterogenous Services). This should let you create database links in Oracle that connect to each of the PostgreSQL databases. Then, you just have to write the appropriate select/insert statements.
    Justin

  • Database shifting

    We want to shift our database from machine MAC1 to machine MAC2.
    I have taken FULL EXPORT from the database A from machine MAC1.
    I have takem FULL IMPORT of databsae A in another machine MAC2.
    Now during the IMPORT on database of machine MAC2 6 hours are elapsed.
    So during 6 hours 4G archives has been generated. I want to apply those archives to databse on MAC2 so that i can work on the machine database of MAC2.
    How can i do it?
    Thanks,

    Hi,
    It seems you are working on a dead end road.
    Create a full hot backup of the original db on your original machine.
    Recover the hot backup on the new machine. Do NOT open resetlogs.
    After recovery, take all archivelogs that were not included in the hotbackup from (for example) the last four hours.
    Recover these archivelogs as well.
    Perform a 'alter system archive log current' on the original db
    Shutdown the original database.
    Take the very last archivelogs to the new database and recover these as well.
    Open the new database.
    This will give you a minimum downtime, and an easy way to move your db.
    Please read the Backup& Recovery guide for details. The steps above are not detailed enough to work with.
    HTH
    Paul

  • Impact of shifting database version and platform

    i've to migrate an existing system using Oracle7.3.2.3 on Sun solaris(sparc) 2.6 to Oracle 9i on Linux,
    could uyou just guide me what will be the impact on existing code and the database.
    is there any documents available regarding this

    There is a defined path for this in the Oracle9i upgrade manaual. I'm not sure, but the path I think you have to take is 7.3->8i, 8i->9i. You will have to recompile all programs like pro*C and things like that, but everything else should be consistent.

  • Database shifting from UNIX to WINDOWS

    Hi,
    We have a production server located at Suse UNIX.
    We would like to move database from UNIX to WINDOWS.
    I would like to know what are the difficulties/scenarios which occures while moving the database?
    How difficult is it to import current oracle database to oracle on windows server ?
    Please explain in details.
    Thanks,

    hi what is your version of database?
    are you chaging the database version also or simply operating system?
    if you are only changing OS, then exp/imp is the best option. but to acheive this you need to do some groundwork like collecting all the tablespaces information and schemas and their privileges etc.
    also depends on database size also you can choose come other options.
    if your database version is 10g then you can best use the option of datapump exp/imp or network_link parameter of datapump.

  • Shifting Database from 8i to 9i

    I have a 8i Oracle database running on a machine , now i have installed orcale 9i on a sepreate machine , i want to move the complete 8i database on this new 9i machine , kindly guide me through the process in detail as i am a bit new to Oracle.

    If your downtime window permits it, exporting from the 8i database and importing into a fresh 9i install is probably the easiest option. If your downtime window is too small for that, you would need to install 8i on the new machine, recover your 8i database to the new machine, and then run the database upgrade assistant (or upgrade manually). This is more work for the DBA and a bit more complex, but it takes less time overall.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • How to shift Manual Standby Database to Primary Database

    Hi all,
    My Database edition is Oracle 10G standard Edition and runing 24X7 and configure Manual Stand by Database. if I were changing some iniliazation parameter and datafiles.
    What can I do ?
    i) How to swift the Manual Stand by Database to Primary Database.
    ii) What is the procedure by step by step information need.
    Regards.....

    If you're using a Manual Standby Database I assume you are using a pfile to apply the archived logs transported from the primary database created while creating the Manual Standard. at that time you should have kept the spfile in place too.
    If you have done this, then you can simply open an SQL*Plus session connect as sysdba and issue a simple STARTUP command.
    This will use the SPFILE by default and your database will be opened normally.
    But if you don't have an SPFILE you can always create one, just specify the necessary control files (not the standby control file) in your pfile, remove unwanted parameters and create the spfile, and use the same step as above and issue a STARTUP.
    But once you open your standby database normally you will not be able to switch back to standby mode, you have to recreate it again from a cold backup and create a new standby control file.
    Regards,
    Tony

Maybe you are looking for

  • Nexus 4001i and MST tons of log errors

    Went looking through my Nexus 4001i logs today, and started noticing a bunch of STP role and port change messages: 2013 Jul  5 14:40:31 N4k-SLOT7-SW1 %STP-6-PORT_ROLE: Port Ethernet1/1 instance MST0000 role changed to designated 2013 Jul  5 14:40:31

  • Regarding reports

    I have created a simple report named as "Employee Details" I am filtering the details as per the emp_id but when I run the report one error I am getting and that is  An error has occurred during report processing. (rsProcessingAborted) The processing

  • Using USEREXIT_AVAILABILITY_OUT

    Does anyone have documentation or an example on how to use this userexit?

  • How to mount a CD-ROM as write protected Read only

    Hello, I have a Mac OS X Snow Leopard version. What I want to do is the following: 1. Burn a .cdr image onto CD-R 2. Go To Terminal and Locate the optical medium drive I forgot what the command is. 3. As the CD-R is recognized as a CD-ROM or in UDF f

  • One Note

    When syncing Onenote to my desktop I had a folder with a .one file for each tab in the onenote file of a size commensurate with the amount of data held. I have now transferred to the OneDrive and I have a .ms-one-stub file in my folder but it is of v