Best Method to Move Partitioned Data to Another Server

Hi,
In our company we have a monthly maintenance to move one partition from many partitioned tables to another server. I want to know what is the following:
1- Best way to do this task and to move table partitions to another database on another server?
2- When I delete table partition, do I need to analyze the table or rebuild the indexes?
Appreciate your prompt response.
Thanks

2- When I delete table partition, do I need to analyze the table or rebuild the indexes?What do you mean by delete table partition? If you mean truncate or drop parition then you should use "UPDATE GLOBAL INDEXES" clause in order to avoid rebuilding global indexes as shown in the below examle:
create table TAB1 ( Value number(10))
  partition by range(value)
  partition p1 values less than (10),
  partition p2 values less than (20),
  partition p3 values less than (30),
  partition p4 values less than (40),
  partition p5 values less than (50)
insert into tab1
select rownum
from dual connect by rownum < 50;
commit;
create index tab1_indx1 on tab1(value);
sql> select index_name, status
  2  from user_indexes
  3  where index_name = 'TAB1_INDX1';
INDEX_NAME                     STATUS
TAB1_INDX1                     VALID
sql> alter table tab1 drop partition p2 UPDATE GLOBAL INDEXES;
Table altered.
sql> select index_name, status
  2  from user_indexes
  3  where index_name = 'TAB1_INDX1';
INDEX_NAME                     STATUS
TAB1_INDX1                     VALID
sql> alter table tab1 drop partition p3;
Table altered.
sql> select index_name, status
  2  from user_indexes
  3  where index_name = 'TAB1_INDX1';
INDEX_NAME                     STATUS
TAB1_INDX1                     UNUSABLEMohamed Houri

Similar Messages

  • I am moving from PC to Mac.  My PC has two internal drives and I have a 3Tb external.  What is best way to move the data from the internal drives to Mac and the best way to make the external drive read write without losing data

    I am moving from PC to Mac.  My PC has two internal drives and I have a 3Tb external.  What is best way to move the data from the internal drives to Mac and the best way to make the external drive read write without losing data

    Paragon even has non-destriuctive conversion utility if you do want to change drive.
    Hard to imagine using 3TB that isn't NTFS. Mac uses GPT for default partition type as well as HFS+
    www.paragon-software.com
    Some general Apple Help www.apple.com/support/
    Also,
    Mac OS X Help
    http://www.apple.com/support/macbasics/
    Isolating Issues in Mac OS
    http://support.apple.com/kb/TS1388
    https://www.apple.com/support/osx/
    https://www.apple.com/support/quickassist/
    http://www.apple.com/support/mac101/help/
    http://www.apple.com/support/mac101/tour/
    Get Help with your Product
    http://docs.info.apple.com/article.html?artnum=304725
    Apple Mac App Store
    https://discussions.apple.com/community/mac_app_store/using_mac_apple_store
    How to Buy Mac OS X Mountain Lion/Lion
    http://www.apple.com/osx/how-to-upgrade/
    TimeMachine 101
    https://support.apple.com/kb/HT1427
    http://www.apple.com/support/timemachine
    Mac OS X Community
    https://discussions.apple.com/community/mac_os

  • Purchasing new iMac (27 i5), what is best method to transfer programs/files/documents from 24" iMAC?  What is the best method to remove personal data from OS?

    Purchasing a new iMac (27 i5), what is the best method to transfer programs/files,documents from a 24" iMac?
    What is the best method to remove personal data from the 24" iMac?

    Use setup assistant which is offered when you setup your new Mac.  It will transfer information from a Time Machine backup, Clone or another Mac.
    It's best to do this during setup to avoid issues with duplicate IDs.
    Regards

  • What is the Best Method to move the Applcations to a New Server Setup

    Hi All...
    Happy Christmas...
    Advanced Happy New YEAR 2009...
    We are using oracle Apex 3.1 on Database base oracle 10g Rel2 across Server 2000 platform,
    Made a New Installationof Oracle Apex 3.1 on HP-Unix PA-RISC and database is oracle 10g Rel2(New Server),
    Sucessfully...
    my Question is
    what is the Best Method to move the Applcations to a New Server ?
    1) Using Export/Import option .can I move the Applications/ Reports to New Server?
    2) Is it possible By Taking Application level Export and Import to the new Server?
    3)Do I need to create the Workspace as similar to old Server then Move the ApplicationS?
    or taking the Application EXPORT/IMPORT also imports the Workspace?
    (OR)
    Do I need to import the Database tables taking table level Dumps as well?
    THANKS ALOT in Advance
    MKZ
    Edited by: Z on Dec 31, 2008 12:10 PM
    Edited by: Z on Dec 31, 2008 12:57 PM

    Hello:
    You pretty much have it right. Here's what I do to move applications between APEX installations.
    1) Export/Import Workspaces
    2) Export/Import Applications for each workspace. (I retain the source application id in the target)
    3) Export/Import Workspace Images/Files etc
    4) Use Oracle exp/imp , Oracle DataPump or plain old sqlplus scripts to move database objects from source to target.
    Varad

  • Move Central Instance to Another Server

    Hello expert,
    Now we have a distributed system: CI on server 1, DB on server 2. Now we want to move the CI to another server 3 without change the DB server.
    We get some information from link Move the central instance to another server in SAP
    We have few questions:
    1. Can we change the SID of CI with method provided in link?
    2. Any other additional steps should we do?
    Thanks & Best Regards,
    Tong Ning

    Hi Tong,
    You can install a new SAP instance (CI) on the new server as your DB is not moving and is on different host, and replicate important files from your old CI host.
    For eg, the host file, services file, trans directory and some work directory contents.
    Also, if your server on same OS or different ?
    You should check the compatibility of new OS and DB in service market place (PAM).
    For changing SID, please use standard guides and tested WIKI links.
    Regards,
    Divyanshu

  • Replicating data to another server

    Hi all,
    I am using oracle 11g R2 with oracle application express (APEX) and I have a big database.
    and I want to replicate all my data to another server (Server 2).
    I need this to replace the server directly in case of failure of server 1 and change all users to server 2.
    So any body can guide me to a solutition to start with this.
    Regards,
    Mohd.

    So any body can guide me to a solutition to start with this.Data Guard

  • Best method to move "previous system-users" to the new user folder

    I was doing an Archive and Install of a current 10.5.8 system because of problems with the "usr" folder showing in the root listing of the hd folders while booted from this same hd. I knew that wasn't a good sign.
    Anyway, it failed saying that the previous Users could not be moved into the new OS's User folder and they would be placed in the "Previous System" folder.
    I have updated the newly installed OS to the latest Apple updates.
    Now I'm wondering what is the best method to get the User folders (with lots of data) from the Previous Users folder into the new Users folder so that all the data is recognized.
    Thanks in advance!

    Just drag contents of the previous Home folder to their respective locations in the new Home folder.
    Do not simply drag the entire Home folder into the new /Users/ folder. Just the content of the old Home folder, i.e., Documents, Downloads, etc. The system may prevent you from replacing some folders, so you will need to move the contents of those folders.
    Oh, and see this: How to get files from a previous home directory after Archive and Install.
    Message was edited by: Kappy

  • Best way to push change data from sql server to windows/web application

    i apologized that i do not know should i ask this question in this forum or not.
    i have win apps which will load all data initially from db and display through grid but from the next time when any data will change in db or any data will be inserted newly in db then only change or newly inserted data need to be pushed from db side to
    my win apps. now only sql dependency class is coming to my mind but there is a problem regarding sql dependency class that it notify client but do not say which data is updated or inserted.
    so i am looking for best guidance and easy way to achieve my task. what will be the best way to push data from sql server to win or web client.
    there is two issue
    1) how to determine data change or data insert. i guess that can be handle by trigger
    2) next tough part is how very easily push those data from sql server end to win apps end.
    so looking for expert guide. thanks

    Hello,
    Yes, you can create DML trigger on INSERT and UPDATE to get the changed data into a temp table. And then query the temp table from application.
    If you are use SQL Server 2008 or later version, you can also try to use
    Change data capture, which
    can track insert, update, and delete activity that is applied to a SQL Server table and store the changed values on the Change Table.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Move Image Data from Sql Server to Oracle

    I try to move Image data from a Sql Server Database to a Oracle Database.
    The dataType in Sql Server is Image and the target datatype in Oracle is BLOB.
    When I try to move my Sql Server data to Oracle I get the following error message
    Data Move information:Rows : 0 Errors: 76
    Commit failed: Getrennte Verbindung
    [InfogateSystem].[dbo].[ISErrorLogStepInfo] Getrennte Verbindung
    Anmeldung beim Server muß erfolgt sein
    [InfogateSystem].[dbo].[ISErrorLogStepInfo] ORA-00600: Interner Fehlercode, Argumente: [kokegPinLob1], [], [], [], [], [], [], []
    Getrennte Verbindung
    [InfogateSystem].[dbo].[ISErrorLogStepInfo] ORA-22275: invalid LOB locator specified Ungültigen LOB-Locator angegeben
    Inserting ' ' into column ISErrorLogStepInfo.ExtModulInfoSer (Row number 1)

    wow, you're getting a ora600 error here which is a bad sign for your database.
    I havent seen errors doing an online image data move, but I would diagnose the 600 error first and come back to us
    Barry

  • Loading a movie on html from another server

    I have a question: I have a form on Flash and I want to make
    the swf file a part of a HTML page.
    Here is the(for me) tricky part: on Flash I use an external
    php-file to send the information back to me, but the server where
    the HTML page runs is an ASP.Net server. So I came up with the idea
    to load the swf file from another server that runs the php-script.
    But is not working.
    Does anyone know if what I am doing is correct? Do I have to
    write some code on flash or the HTML-page? Or do I just have to go
    and learn ASP.Net?
    Thanks a lot for any information.
    Norman Parra

    No. Movies are not eligible for iTunes in the Cloud (the movie studios won't grant Apple the necessary permissions, reportedly). So if you want the movie on another computer, you have to copy it there yourself from your work computer. Copy the movie to some removable medium or shared location, then just drag it into the iTunes window on your laptop.
    Regards.

  • Best method to move data from ArcSDE to Oracle Spatial/Mapviewer environment?

    If ArcGIS Geodatabase is the standard data store for GIS data, but business IT wants to make use of an Oracle Spatial/Mapviewer environment, what is the best practices recommended approach for interfacing between the two data stores.  (perhaps this is an Oracle Spatial question, but tools exist here as well.)

    Yes, This question is more suited for the Oracle Spatial Forum.
    And about the question, you must use Esri's owns products like ArcCatalog or Arcmap to connect to oracle and change the format of your geometries. Arcgis is capable of storing geometrical data in oracle in SDO_Geometry format.
    If you have question about the procedure of this action, don't hesitate to ask.
    Regards,
    Farid

  • I just bought a macbook pro. I currently have a G4. What is the best method to move all my data to my new computer?

    My main concern are songs that I imported from cd's.

    Don't use migration/setup assistant.  Going from a PowerPC G4 to an Intel-based system is best handled outside of migration assistant.  It's not difficult (I've done several of these conversions).
    See this Apple user guide: https://discussions.apple.com/docs/DOC-2295
    In addition, see this thread, about half way down, pick up Cornelius's post: https://discussions.apple.com/thread/2195685?threadID=2195685&tstart=0

  • Best method to load XML data into Oracle

    Hi,
    I have to load XML data into Oracle tables. I tried using different options and have run into a dead end in each of those. I do not have knowledge of java and hence have restricted myself to PL/SQL solutions. I tried the following options.
    1. Using DBMS_XMLSave package : Expects the ROWSET and ROW tags. Connot change format of the incoming XML file (Gives error oracle.xml.sql.OracleXMLSQLException: Start of root element expected).
    2. Using the XMLPARSER and XMLDOM PL/SQL APIs : Works fine for small files. Run into memory problems for large files (Gives error java.lang.OutOfMemoryError). Have tried increasing the JAVA_POOL_SIZE but does not work. I am not sure whether I am changing the correct parameter.
    I have read that the SAX API does not hog memory resources since it does not build the entire DOM tree structure. But the problem is that it does not have a PL/SQL implementation.
    Can anyone PLEASE guide me in the right direction, as to the best way to achieve this through PL/SQL ??? I have not designed the tables so am flexible on using purely relational or object-relational design. Although would prefer to keep a purely relational design. (Had tried used object-relational for 1. and purely relational for 2. above)
    The XML files are in the following format, (EXAMINEEs with single DEMOGRAPHIC and multiple TESTs)
    <?xml version="1.0"?>
    <Root_Element>
    <Examinee>
    <MACode>A</MACode>
    <TestingJID>TN</TestingJID>
    <ExamineeID>100001</ExamineeID>
    <CreateDate>20020221</CreateDate>
    <Demographic>
    <InfoDate>20020221</InfoDate>
    <FirstTime>1</FirstTime>
    <LastName>JANE</LastName>
    <FirstName>DOE</FirstName>
    <MiddleInitial>C</MiddleInitial>
    <LithoNumber>73</LithoNumber>
    <StreetAddress>SomeAddress</StreetAddress>
    <City>SomeCity</City>
    <StateCode>TN</StateCode>
    <ZipCode>37000</ZipCode>
    <PassStatus>1</PassStatus>
    </Demographic>
    <Test>
    <TestDate>20020221</TestDate>
    <TestNbr>1</TestNbr>
    <SrlNbr>13773784</SrlNbr>
    </Test>
    <Test>
    <TestDate>20020221</TestDate>
    <TestNbr>2</TestNbr>
    <SrlNbr>13773784</SrlNbr>
    </Test>
    </Examinee>
    </Root_Element>
    Thanks for the help.

    Please refer to the XSU(XML SQL Utility) or TransX Utility(for Multi-language Document) if you want to load data in XML format into database.
    Both of them require special XML formats, please first refer to the following docs:
    http://otn.oracle.com/docs/tech/xml/xdk_java/doc_library/Production9i/doc/java/xsu/xsu_userguide.html
    http://otn.oracle.com/docs/tech/xml/xdk_java/doc_library/Production9i/doc/java/transx/readme.html
    You can use XSLT to transform your document to the required format.
    If you document is large, you can use SAX method to insert data into database. But you need to write the code.
    The following sample may be useful:
    http://otn.oracle.com/tech/xml/xdk_sample/xdksample_040602i.html

  • How to move all data to another drive?

    I've just upgraded to Tiger and simultaneously installed two internal Seagate 325GB drives in mirror RAID configuration. I plan to keep the original 80GB drive for OSX and applications only, and move all documents, photos and music to RAID. But I'm not sure how to link the applications (iPhoto, iTunes, Word, Entourage etc) so they know where to find existing data and where to save new data. I can't find specific instructions anywhere. Could someone walk me through the steps?

    Allan: I do appreciate your spending so much time to try to make sure I understand your real concerns about RAID as a backup. Since first questioning your explanation I have re-read most of the discussion threads on the topic, and noted that over the years, you have been passionately warning about mirrored RAID arrays for private and amateur people like me, on the perfectly reasonable grounds that we are not fully protected. I also noted that you are/were an IBM IT professional and bring that experience and viewpoint to the discussion. I suggest that explains our different perspectives. For the last five years I have been running without hard drive backup of any kind; relying on burning my most important data - photos and movies - to disk, until I could figure out the best way to use my machine's capabilities. Heeding warnings of the inevitabile end of my one internal drive, I decided to install twin drives in the available bays and configure them in a mirrored RAID to insure against main drive failure. That is my priority. In 26 years use of PCs and Macs, I have not found accidental deletion, application quits or keyboard mistakes to have been a noticeable, let alone significant problem. (I did lose a whole chapter of a book once, but that was because I forgot to enable Auto-save. Neither RAID nor backup would have protected against that!) I did also notice that in the forum discussions, nobody could report problems with their RAID setups or with recovery in the case of a failed drive. (I know, absence of evidence is not evidence of absence but at least there doesn't seem to be a great problem). So for a home user, I've concluded that the RAID setup is both the most appropriate for my needs, and the best value for money. I guess we'll have to disagree, but thank you for explaining your point of view. I do hope that our discussions has set out the pros and cons of RAIDs clearly, for the benefit of other readers.
    Geoffrey
    Powermac G4 Quicksilver Dual 800/ iBook G3 700   Mac OS X (10.4.9)  
    Powermac G4 Quicksilver Dual 800/ iBook G3 700   Mac OS X (10.4.9)  

  • Best method to access archived data

    We are archiving off General Ledger data from JRNL_LN and JRNL_HEADER from our production system to a reporting environment. The customer wants to have a content reference that will allow them to read the archived journal data in the other environment. The requirement is to have the same page that is used under General Ledger--Journals--Journal Entry--Create Journal Entries--Find an Existing Value. This screen provides a link to journals where you can view detailed journal information including approvals and attachments for the journal. It will need to be read only and display the archived journal data that resides in the reporting environment. I did some research and was thinking of creating a whole new component consisting of all the pages in the JOURNAL_ENTRY_IE component. This presents a problem though. The archived tables will not be the same name (JRNL_LN and JRNL_HEADER). For reasons, these table names will be changed (something like JRNL_LN_HST). There is a ton of PeopleCode that references the JRNL_LN and JOURNAL_HEADER records and fields. There is also the FUNCLIB_GL library that includes a bunch of references to the table fields as well. I would have to create copies of all the pages, update them with the correct table/field names and copy the FUNCLIB_GL library as well and rename all the references. This would be a huge undertaking. What would be the best approach to providing a read only screen for data that resides in a separate environment? They want the same screen to be used that is used in the production environment (listed above) that is used for reading GL data and making changes. Any thoughts?
    Edited by: charlesd81 on Apr 15, 2011 6:54 PM
    Edited by: charlesd81 on Apr 15, 2011 6:56 PM

    Is your reporting environment another PeopleSoft database or just a collection of archive tables?
    If it is a PeopleSoft database, you could keep the table names the same and run the same journal entry component in the reporting database. If users want to get to it directly from the production system, you could configure single sign-on and connect to the component in the reporting database from production.
    Note that there are additional tables that you should probably be archiving in addition to the header and lines. Some are probably not used, but you will probably have data in the JRNL_CF_BAL_TBL.
    You would have to be very careful to set security correctly in the reporting database so users don't accidently enter new journals in the wrong system. Customizing the page title, background color, etc. to provide visual cues would also help.
    Regards,
    Bob

Maybe you are looking for

  • Fonts not showing up

    i have installed some fonts in both the Windows/Font dir and the Adobe/Indesign/fonts dir. The font is a collection, but only the first font, a bold, in the collection is showing up anywhere - CS3 or even in Office. All the variations light, condense

  • Save As- for the dummies

    Here is a clean way to retrieve Save As… feature in Pages --(SCRIPT Pages_save_a_copy] Enregistrer le script en tant que Script : Pages_save_a_copy.scpt déplacer le fichier créé dans le dossier <VolumeDeDémarrage>:Utilisateurs:<votreCompte>:Bibliothè

  • Adjusting Automatically Generated Document Properties?

    Background: I create documents with Word Perfect X4.  I then print to PDF using a printer called "Adobe PDF."  I also have a program installed on my computer called Adobe Distiller that I think may be involved. I've notice recently that my PDF files

  • Firefox 1.0 in Forms 10g

    Hi, I tried to have Forms Builder run forms in Mozilla (Changed my browser location in "Preferences"), but it won't work, it says I need a Firefox plugin. Where can I find that plugin? Help would be appreciated. Thanks in advance, Chris

  • Episodes of a podcast which I see on iTunes won't transfer to the iPad. Why is this happening?

    I have subscribed to a podcast called Polònia (by TV3) and I have applied the same settings as for all other podcasts I have working fine. I click on get all episodes and keep all unplayed episodes too, on Settings. Whenever I click on Sync, the epis