Problem copying data from postgres to Oracle via dg4odbc

Hi All,
I am trying to migrate data from a postgres moodle database to an oracle one.  I have set up dg4odbc and it is mainly working, except when I try to insert select for some tables only.
Eg.
SQL*Plus: Release 11.2.0.3.0 Production on Wed Feb 12 13:28:37 2014
Copyright (c) 1982, 2011, Oracle.  All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> insert into M_ASSIGNFEEDBACK_COMMENTS(
assignment
,commenttext
,commentformat
,id
,grade
select
"assignment"
,"commenttext"
,"commentformat"
,"id"
,"grade"
from "mdl_assignfeedback_comments"@"to_moodle";
  2    3    4    5    6    7    8    9  10  11  12  13  14  insert into M_ASSIGNFEEDBACK_COMMENTS(
ERROR at line 1:
ORA-28502: internal communication error on heterogeneous database link
ORA-02063: preceding line from TO_MOODLE
But the select part of the statement works.
SQL> select "assignment" ,"commenttext" ,"commentformat" ,"id" ,"grade" from "mdl_assignfeedback_comments"@"to_moodle";
2 3 4 5 6 7 assignment
commenttext
commentformat id grade
4
Excellent work
1 1 1 5 1 2 2 10
Excellent work
1 3 3 11 1 4 4
SQL>
And it works if I leave out the commenttext field which is of postgres type text
1 insert into M_ASSIGNFEEDBACK_COMMENTS(
2 assignment
3 ,commentformat
4 ,id
5 ,grade
6 )
7 select
8 "assignment"
9 ,"commentformat"
10 ,"id"
11 ,"grade"
12* from "mdl_assignfeedback_comments"@"to_moodle"
SQL> /
4 rows created.
Other text fields in other tables seem to work fine however.
My database and the postgres database are Unicode character set
NLS_CHARACTERSET AL32UTF8
NLS_NCHAR_CHARACTERSET AL16UTF16
My initmdl_dev23.ora config
HS_FDS_CONNECT_INFO = MDL_DEV23
HS_FDS_TRACE_LEVEL = 4
HS_FDS_TRACE_FILE_NAME=/tmp/ora_hs_trace.log
HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so
HS_LANGUAGE=american_america.we8mswin1252 # this had to be set due to some bug with the postgres connection?
HS_NLS_NCHAR=UCS2
HS_FDS_REMOTE_DB_CHARSET=AL32UTF8
HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
# ODBC specific environment variables #
set ODBCINI=/etc/odbc.ini
Table Desc Oracle
SQL> desc M_ASSIGNFEEDBACK_COMMENTS
Name                      Null?    Type
ID                      NOT NULL NUMBER(10)
ASSIGNMENT                  NOT NULL NUMBER(10)
GRADE                      NOT NULL NUMBER(10)
COMMENTTEXT                        CLOB
COMMENTFORMAT                  NOT NULL NUMBER(4)
Table Desc Postgres
mdl_dev23=> \d mdl_assignfeedback_comments
                            Table "public.mdl_assignfeedback_comments"
    Column    |  Type  |                                Modifiers                    
---------------+----------+----------------------------------------------------------------
id            | bigint  | not null default nextval('mdl_assignfeedback_comments_id_seq'::
regclass)
assignment    | bigint  | not null default 0
grade        | bigint  | not null default 0
commenttext  | text    |
commentformat | smallint | not null default 0

Here is the info for the table that works:-
Oracle Table
SQL> desc m_assign
Name                       Null?    Type
ID                       NOT NULL NUMBER(10)
COURSE                    NOT NULL NUMBER(10)
NAME                       NOT NULL VARCHAR2(255 CHAR)
INTRO                       NOT NULL CLOB
INTROFORMAT                   NOT NULL NUMBER(4)
ALWAYSSHOWDESCRIPTION               NOT NULL NUMBER(2)
NOSUBMISSIONS                   NOT NULL NUMBER(2)
SUBMISSIONDRAFTS               NOT NULL NUMBER(2)
SENDNOTIFICATIONS               NOT NULL NUMBER(2)
SENDLATENOTIFICATIONS               NOT NULL NUMBER(2)
DUEDATE                   NOT NULL NUMBER(10)
ALLOWSUBMISSIONSFROMDATE           NOT NULL NUMBER(10)
GRADE                       NOT NULL NUMBER(10)
TIMEMODIFIED                   NOT NULL NUMBER(10)
REQUIRESUBMISSIONSTATEMENT           NOT NULL NUMBER(2)
COMPLETIONSUBMIT               NOT NULL NUMBER(2)
CUTOFFDATE                   NOT NULL NUMBER(10)
TEAMSUBMISSION                NOT NULL NUMBER(2)
REQUIREALLTEAMMEMBERSSUBMIT           NOT NULL NUMBER(2)
TEAMSUBMISSIONGROUPINGID           NOT NULL NUMBER(10)
BLINDMARKING                   NOT NULL NUMBER(2)
REVEALIDENTITIES               NOT NULL NUMBER(2)
ATTEMPTREOPENMETHOD               NOT NULL VARCHAR2(10 CHAR)
MAXATTEMPTS                   NOT NULL NUMBER(6)
MARKINGWORKFLOW               NOT NULL NUMBER(2)
MARKINGALLOCATION               NOT NULL NUMBER(2)
Postgres table
mdl_dev23=> \d mdl_assign
                                           Table "public.mdl_assign"
           Column            |          Type          |                        Modifiers                       
-----------------------------+------------------------+---------------------------------------------------------
id                          | bigint                 | not null default nextval('mdl_assign_id_seq'::regclass)
course                      | bigint                 | not null default 0
name                        | character varying(255) | not null default ''::character varying
intro                       | text                   | not null
introformat                 | smallint               | not null default 0
alwaysshowdescription       | smallint               | not null default 0
nosubmissions               | smallint               | not null default 0
submissiondrafts            | smallint               | not null default 0
sendnotifications           | smallint               | not null default 0
sendlatenotifications       | smallint               | not null default 0
duedate                     | bigint                 | not null default 0
allowsubmissionsfromdate    | bigint                 | not null default 0
grade                       | bigint                 | not null default 0
timemodified                | bigint                 | not null default 0
requiresubmissionstatement  | smallint               | not null default 0
completionsubmit            | smallint               | not null default 0
cutoffdate                  | bigint                 | not null default 0
teamsubmission              | smallint               | not null default 0
requireallteammemberssubmit | smallint               | not null default 0
teamsubmissiongroupingid    | bigint                 | not null default 0
blindmarking                | smallint               | not null default 0
revealidentities            | smallint               | not null default 0
attemptreopenmethod         | character varying(10)  | not null default 'none'::character varying
maxattempts                 | integer                | not null default (-1)
markingworkflow             | smallint               | not null default 0
markingallocation           | smallint               | not null default 0
Indexes:
    "mdl_assi_id_pk" PRIMARY KEY, btree (id)
    "mdl_assi_cou_ix" btree (course)
    "mdl_assi_tea_ix" btree (teamsubmissiongroupingid)
Insert works fine
SQL> insert into M_ASSIGN(
markingworkflow
,blindmarking
,completionsubmit
,sendlatenotifications
,sendnotifications
,name
,teamsubmissiongroupingid
,timemodified
,duedate
,introformat
,attemptreopenmethod
,revealidentities
,cutoffdate
,submissiondrafts
,course
,alwaysshowdescription
,intro
,maxattempts
,requireallteammemberssubmit
,teamsubmission
,requiresubmissionstatement
,allowsubmissionsfromdate
,nosubmissions
,id
,markingallocation
,grade
select
"markingworkflow"
,"blindmarking"
,"completionsubmit"
,"sendlatenotifications"
,"sendnotifications"
,nvl("name",' ')
,"teamsubmissiongroupingid"
,"timemodified"
,"duedate"
,"introformat"
  2    3    4    5    6    7    8    9   10   11   12   13   14   15   16   17   18   19   20   21   22   23   24   25   26   27   28   29   30   31   32   33   34   35   36   37   38   39   40  ,nvl("attemptreopenmethod",' ')
,"revealidentities"
,"cutoffdate"
,"submissiondrafts"
,"course"
,"alwaysshowdescription"
,"intro"
,"maxattempts"
,"requireallteammemberssubmit"
,"teamsubmission"
,"requiresubmissionstatement"
,"allowsubmissionsfromdate"
,"nosubmissions"
,"id"
,"markingallocation"
,"grade"
from "mdl_assign"@"to_moodle";
41   42   43   44   45   46   47   48   49   50   51   52   53   54   55   56 
20 rows created.
Link to trace file for "working" insert
https://www.dropbox.com/s/blplgfuzsjds9ht/mdl_dev23_agt_12834.trc

Similar Messages

  • Copy data from mysql to oracle database help?

    Im an sql newb and trying to understand how I can automatically copy data from one dtabase to another systems database on the same server.
    We have two differnt applications, but both share customer information, but one is on a win server, while the other is on oracle.
    Each time a customer contacts us via online chat (win server, mysql), we want to copy their entire chat transcript into our CRM's (oracle) customer account. So the folks that use the CRM can see the past chat histories. I hope this makes sense.
    Where can i look to get started on this?
    Thanks

    You could look at Heterogeneous Services (see the forum here Heterogeneous Connectivity but if you want to push data from mysql to oracle you might be better looking at it from the mssql side. I don't know what they offer.
    It might be simpler to do it at the client end. ie cut and paste from the online chat application into a new utility which inserts into the oracle database.
    Incidentally, this forum is specifically for the SQLDeveloper tool. You might get more general help in the "database - general" or "sql and pl/sql" forums

  • Read data from an external Oracle-DB: Codepage problems

    Hi,
    I try to get data from an external Oracle-DB which runs under NLS_CHARACTER
    WE8ISO8859P1. In this DB are russian texte stored. If I read these texts via native-SQL I obviously get wrong characters. (e.g. Èíñòðóìåíòû äëÿ óãëîâîé øëèôîâàëüíîé ìàøèíû instead of Инструменты для угловой шлифовальной машины). If I save the text as a html file and then open it with IE. I can change the encoding and get the right view.
    Has anybody got an idea ? (Mabye I can read the data in a different codepage or maybe there is a possibility to convert the codepage in SAP after reading it from oracle)
    Thanks a lot !!!!

    The problem is solved.
    Many thanks !

  • How to copy data from one BB to another via Desktop Manager

    I've got two BBs (8900 and 9300), both actively in use and with different data (contacts, memos, etc.) on them.
    I need to copy my tasks, memos and contacts from 8900 to 9300. I tried "switch phones" option, but it substitutes data, while I need to syncronize it, so that data from 8900 is added to what is currently is on the 9300. 
    Is it possible to do it via Desktop Manager? It seems there was somewhere an option "copy data from another BB", but I can't find it in the latest Desktop Manager version.

    You would need to use Desktop Mangaer to sync BB1 with a local PIM program (such as Outlook or Lotus Notes) to get the information off BB1. Then use Desktop Manager to sync BB2 with the same PIM program. 

  • How to handle DATE type problems in migrating from mysql to oracle.?

    Hi,
    I'm migrating only the data from mysql to oracle with the help of sql loader.But with this type i cannot able to insert the date values from mysql to oracle.In mysql i have defined date as "DATETIME" type and in oracle it is in TimeStamp.Whenever i'm inserting the values thru CTL file ,i'm getting an error invalid date format entered.How to solve this problem?
    Thanks in Advance
    JAI

    you need to supply a mask to the timestamp entry. see http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14215/ldr_field_list.htm#i1006714 for details on datatypes within the ctl file
    B

  • Problem reading data from oracle database 11g using OleDbDataReader

    Hi everyone I work with Visual Studio 2010 and C# programming language. I have a problem reading data from the oracle database. I created a WPF application with my main Window Xaml and class files and 1 more class called DataFiles. The thing I want is to read some data from the database on my grid in my WPF window. Problem is even though it connects to the database the grid is always empty. It isn't the connection string as I tested it and it connects to the database the problem seems to be in showing the LASTNAME (PREZIME in my native tongue) on the grid which is what it's supposed to do.
    Here is the code:
    Data Files Code
    using System;
    using System.Collections.ObjectModel;
    using System.Data.SqlClient;
    using System.Data.OleDb;
    namespace SQLKonekcija
        public class clsEmployee
            public string Prezime { get; set; }
        public class DataAccess
            OleDbConnection oleCon;
            OleDbCommand oleComd;
            public DataAccess()
                string connectionString = "provider=ORAOLEDB.ORACLE; data source=ORCL; password=****; user id=****;";
                oleCon = new OleDbConnection(connectionString);
            public ObservableCollection<clsEmployee> GetAllEmployee()
                ObservableCollection<clsEmployee> EmpCol = new ObservableCollection<clsEmployee>();
                oleComd = new OleDbCommand();
                oleComd.Connection = oleCon;
                oleComd.CommandText = "Select PREZIME from UPOSLENICI";
                oleCon.Open();
                OleDbDataReader Reader = oleComd.ExecuteReader();
                Reader.Read();
                while (Reader.Read())
                    EmpCol.Add(new clsEmployee()
                        Prezime = Reader["PREZIME"].ToString()
                oleCon.Close();
                return EmpCol;
            }And here is my main window.cs code
    public partial class MainWindow : Window
            clsEmployee objEmpToAdd;
            DataAccess objDs;
            public MainWindow()
                InitializeComponent();
            private void Window_Loaded(object sender, RoutedEventArgs e)
                objDs = new DataAccess();
                dgEmp.ItemsSource = objDs.GetAllEmployee();And the XAML
    <Window x:Class="SQLKonekcija.MainWindow"
            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            Title="MainWindow" Height="350" Width="525" Loaded="Window_Loaded">
        <Grid>
            <DataGrid AutoGenerateColumns="False" Height="237"
                      HorizontalAlignment="Left" Margin="18,66,0,0" Name="dgEmp"
                      VerticalAlignment="Top" Width="466" ColumnWidth="*"
                       >
                <DataGrid.Columns>
                    <DataGridTextColumn Binding="{Binding PREZIME}" Header="Prezime"></DataGridTextColumn>
                </DataGrid.Columns>
            </DataGrid>
            <TextBlock Height="42" HorizontalAlignment="Left" Margin="18,15,0,0" Name="textBlock1" Text="TEST CONNECTION" VerticalAlignment="Top" Width="462" TextAlignment="Center" FontSize="28" FontWeight="ExtraBold" />
        </Grid>
    </Window>
    The guys on the MSDN forums told me I should ask the question here so sorry if it's not your field.
    Hope u guys can help, thanks.

    I tried it, commented out the reader.read and have the following connection string
    string connectionString = "provider=ORAOLEDB.ORACLE; data source=ORCL; password=****; user id=****; OLEDB.NET=True"
    Unfortunately the result is the same.
    Edited by: Dino2dy on Nov 24, 2011 12:53 AM

  • Problems Displaying data from RFC on Adobe Forms

    Hi,
    I have some Problems with creating an Adobe Form and hope, someone can help me or give me some hinds to some tutorials, which can help me.
    I'm developing an webdynpro-application which get data from a R/3 via RFC-Call.
    Context-Binding and so on is done and works. I created also an interactive form and can display some datas on it.
    Here my questions:
    I have an field 'unit' which shoulb be displayed on several positions onto the form. My problem is, i can display it only once. If i copy the field, there is no output in it. What can i do, to solve the problem?
    From the RFC i get a table with several rows of data, i want to display on the form.
    With drag&drop i can place the fields onto the form but they are displayed only once. I want one line for every row from the table.
    What do i have to do? Are there tutorials which show the steps?
    When I am not using a form, i can display the data from RFC in a table with no problems (i create a table ui and choose create binding from context menue). Are the nescessary steps for displaying the data on an interactive form the same.
    I read something about creating a dynamic form design. Do i have to create it? What are the steps i have to do.
    Many questions, but i hope that someone can give me some helpful hints.
    Many thanks
    Mathias Lange

    Hi Mathias,
    If I caught you correctly, you want to display data in Adobe forms in form of tabel, right?
    So, follow the steps:
    1. Insert one sub form on your adobe form.
    2. Set its type as "flow content" in object->subform property.
    3. Set flow direction as "Table".
    4. Insert another subform inside this subform.
    5. set its type as "flow content" and flow direction as "Table row".
    6. Now, choose binding tab, and there check "repeat subform for each Data item check box" and specify min. count for your rows.
    7. Now, insert your column fields inside this sub form once.
    8. Format its look and feel as you want.
    When you run this application, it will show you multiple data as table on Adobe form.
    Regards,
    Bhavik

  • Data from Excel to Oracle DB

    Hi,
    I can upload data from excel to access having created stored procedure on access.
    I do the upload using my vb code.
    How can I upload data from excel to oracle db? could i use the same technique as above? only problem is im not sure if that vb code will work with oracle?
    has anyone done this before? anyone have example code?
    kindly assist me here
    thanks

    The easiest way to do this is to use a Oracle ODBC connection which can be found on OTN. You do not need a stored proc.
    After installing Oracle ODBC on the machine where Excel and Access live, do the following.
    Note, you already have steps 1, 2 and 3. I list all the steps for others.
    1. Create your MS/Excel workbook
    2. Add data to it.
    3. Save it as "book1.xls".
    4. Open MS/Access
    5. Create new blank database, call it db1.
    6. Then from the file menu, get external data, import, make sure the file type is xls, select book1.xls.
    7. The wizard will walk you through the process of importing you Excel workbook into a new table.
    8. Save
    9. From the file menu select export table.
    10. Select ODBC at the bottom of the "Save as type list".
    11. Then (depending how you set up ODBC) select Machine Data Source.
    12 . Select your Oracle ODBC connection and press OK.
    You now have taken data from Excel to Access and placed it in the Oracle schema that was named when you setup your Oracle ODBC connection.
    BG...

  • Copy data from one Table to another Table

    How can I copy data from one Oracle Table to another Oracle Table on a different server? Question 2: How can I clear all of the data in one Table with a single SQL script?
    Thanks...

    Question 1:
    I assume you have the privileges. If you don't, ask the DBA to give them to you. Then
    1. Login to database_source (It could be either the source or the target. Let's assume it's the source.)
    2. Create a database link to database_target: CREATE DATABASE LINK link_to_database_target CONNECT TO myuserid IDENTIFIED BY mypassword USING 'database_target'; Note the single quotes.
    3. Copy the table data: INSERT INTO targetowner.mytable@link_to_database_target SELECT * FROM sourceowner.mytable; COMMIT;
    Question 2:
    You have two options, but you may not have privileges for both.
    Option 1:
    DELETE FROM tableowner.tablename; COMMIT;
    Advantage: Since this is a DML (Data Manipulation Language) statement, you have to commit the transaction. Also, the data will be gone but the table size is NOT changed, so it's ready for accepting replacement data. DML statements can simply be executed not only from SQL scripts, but from PL/SQL scripts as well.
    Disadvantage: Slow, because all record deletion is logged, so you can recover from it by issuing a ROLLBACK; instead of the COMMIT; above. The table size is NOT changed, so if you are short of disk space or tablespace space, you have not resolved the issue.
    Option 2:
    TRUNCATE TABLE tableowner.tablename;
    Advantage: Since this is a DDL (Data Definition Language) command, you do NOT have to commit the transaction. (DDL commands automatically commit both before and after their execution.) The table size will be changed back to the initial extent size which is the minimum size a table can have and can only be set when the table is created. If it needs to be changed, the table has to be dropped and recreated with a different initial extent size. The statement execution of this command is not logged, therefore it's much faster then the DELETE.
    Disadvantage: No rollback. Being a DDL, this command cannot be executed straight from PL/SQL. If you need to issue this within PL/SQL, you will have to use dynamic SQL.

  • Copying data from one table to another table thru java

    Hi
    I have to copy data from table emp in Database A to table emp in Database B. My input would be table name and number of rows to be fetched. these rows i need to insert in table B.
    The problem over here is I won't be having any info. of table emp i.e the number of columns it has and their type.
    So is their any way i can copy the data from one table to other without having the info abt the number of cols and their type.
    TIA

    Cross post - http://forum.java.sun.com/thread.jspa?threadID=5169293&messageID=9649839#9649839

  • Clean install on new 1TB hdd, Yosemite keeps freezing when copying data from an ext drive and also from a usb

    Hi all,
    I'm trying to figure out why my macbook keeps freezing when I try to drag my data across to it (even small files from a USB).
    I've had to force restart over a dozen times today :/
    I ran EtreCheck and there are a couple of issues (I've no idea what they mean).
    If anybody could share some light into the report below I would be very grateful:
    Problem description:
    Macbook Pro mid 2010, Yosemite, blank new install on 1 TB hdd, keeps freezing when copying data from an ext drive and also from a usb
    EtreCheck version: 2.2 (132)
    Report generated 5/2/15, 4:55 PM
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        MacBook Pro (13-inch, Mid 2010) (Technical Specifications)
        MacBook Pro - model: MacBookPro7,1
        1 2.4 GHz Intel Core 2 Duo CPU: 2-core
        8 GB RAM Upgradeable
            BANK 0/DIMM0
                4 GB DDR3 1067 MHz ok
            BANK 1/DIMM0
                4 GB DDR3 1067 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery: Health = Normal - Cycle count = 2061 - SN = W013358KQD3BA
    Video Information: ℹ️
        NVIDIA GeForce 320M - VRAM: 256 MB
            Color LCD 1280 x 800
    System Software: ℹ️
        OS X 10.10.3 (14D136) - Time since boot: 0:7:25
    Disk Information: ℹ️
        ST1000LM024 HN-M101MBB disk0 : (1 TB)
            EFI (disk0s1) <not mounted> : 210 MB
            Macintosh HD (disk0s2) / : 999.35 GB (968.00 GB free)
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
        HL-DT-ST DVDRW  GS23N 
    USB Information: ℹ️
        Apple Inc. Built-in iSight
        Apple Internal Memory Card Reader
        Apple Inc. BRCM2046 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Computer, Inc. IR Receiver
        Apple Inc. Apple Internal Keyboard / Trackpad
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Problem System Launch Daemons: ℹ️
        [failed]    com.apple.mtrecorder.plist
    Launch Daemons: ℹ️
        [failed]    com.apple.spirecorder.plist
    User Launch Agents: ℹ️
        [failed]    com.apple.CSConfigDotMacCert-[...]@me.com-SharedServices.Agent.plist [Click for details]
        [loaded]    com.google.keystone.agent.plist [Click for support]
    User Login Items: ℹ️
        iTunesHelper    UNKNOWN Hidden (missing value)
        Caffeine    Application  (/Applications/Caffeine.app)
    Internet Plug-ins: ℹ️
        Default Browser: Version: 600 - SDK 10.10
        QuickTime Plugin: Version: 7.7.3
    3rd Party Preference Panes: ℹ️
        None
    Time Machine: ℹ️
        Time Machine not configured!
    Top Processes by CPU: ℹ️
            20%    WindowServer
             6%    com.apple.WebKit.WebContent(7)
             4%    Safari
             3%    hidd
             1%    launchd
    Top Processes by Memory: ℹ️
        1.07 GB    com.apple.WebKit.WebContent(7)
        439 MB    kernel_task
        90 MB    spindump
        57 MB    mdworker(5)
        57 MB    Safari
    Virtual Memory Information: ℹ️
        4.54 GB    Free RAM
        3.46 GB    Used RAM
        0 B    Swap Used
    Diagnostics Information: ℹ️
        May 2, 2015, 04:47:31 PM    Self test - passed
        May 2, 2015, 01:39:52 PM    /Library/Logs/DiagnosticReports/DesktopServicesHelper_2015-05-02-133952_[redact ed].cpu_resource.diag [Click for details]
        May 2, 2015, 01:23:20 PM    /Library/Logs/DiagnosticReports/com.apple.AmbientDisplayAgent_2015-05-02-132320 _[redacted].crash
    Regards
    Hoz

    Thanks - I had a 1TB hdd in my macbook for about 12 months but it started playing up a few days ago (I got the question mark folder on bootup) so I bought another 1TB hdd (same model) and started from scratch.
    My macbook is an early 2010... now I'm wondering if Yosemite is a bit too much for it?
    The ext hdd is my timemachine backup, so yes I have used it often and it has my TM backups - and the usb is a new usb which Ive used a few times.
    The issue seems to be when Im transferring files from an ext drive to my mac. I can use it fine and browse (worked find for 45 mins) then I tried to bring my data across.. and it copied a few gig over before total freeze.
    This has happened about a dozen times.
    I keep running disk utility and checking the disk. I also just ran the apple diagnostics tool that came in the apps cd - the hardware apears to be fine.
    I have a 250 gb partition for the OS and the rest is my second partition for data.
    I'm now wondering if I should reformat the first partition, install leopard from the CD, then upgrade to mavericks and leave it at that.
    Any thoughts would be awesome. Thank you for reading and replying!
    Hoz

  • Problems transferring data from MacBook Pro to MacBook Pro

    I just bought a new MacBook Pro and I am having problems transferring data from my old MacBook Pro. I am using an Apple Thunderbolt to FW adapter to hook both computers and I am using the Migration Assistant. Everything looked ok until the "Transferring Your Information" screen got stuck. It says that it is "Transferring your Application folder..." And it has been stuck for at least the last two hours giving a message that says "About 3 minutes remaining..." This is starting to get ridiculously annoying. Options?

    I guess I am finding my own way as time progresses and frustration increases but these are two things that I have found so far:
    1. Transfering from one machine to another does not seem to be the most efficient way to do this so using the TimeMachine backup must be the way to go...
    HOWEVER
    2. In this process I also found another "complication" called: Legacy FaultVault - My computer is encripted and I used this now so called "Legacy FaultVault" app to do it (when it was no a Legacy!). The thing is that you can not transfer documents from your TimeMachine backup to your new Mac if the Legacy Fault Valut is active on your old machine so you first need to desactivate the encription. HOWEVER, this brought another issue...when I tried to desactivate the encription using the Legacy FaultVault screen I got a message saying that I did not have enough disk space to allow me to do that....Isn't that great??? This is a problem by itself and it seems to have some sort of solution I was reading about (not straight forward at all). What I am trying to do now is to copy the folder that contains my files and just paste them on my new machine to see if that works....it looks like my apps are on my new machine, unsure if they are working...need to test this next....
    I guess the transfer machine to machine could have sorted out the conflict eventually...after tens of hours or maybe not! Who knows....
    A very frustrated Apple fan...
    I love Apple products but this is an ISSUE...I feel like there is lack of adecuate documentation around to deal with this or the data transfering apps should be able to deal with this on a more efficient way....just saying...

  • How to copy data from one planning area to other planning area

    Hi ,
    I need to copy data from one planning area to other planning area, the MPOS for two planning areas are differant and  here my scenario is one planning area having extra key figures.
    First i need to release forecast data to CIP planning area and then,  i load the data from infocube  to MPS planning area and copy the data from CIP planning area. here both MPS and CIP planning areas having different MPOS .
    Please help me in this. Please give me the stepls i need to follow.
    Thanks in advance.
    Regards,
    Chandu

    Hi,
    You can use the transaction /sapapo/tscopy.
    In this you can configure your source plng area and destination plng area. You also have an option to map your KF. There is no problem if the MPOS are different as long as you are able to map the characteristics between the 2 MPOS.
    Alternatively, you can create an Infocube which shares common ground between the 2 planning areas and extract data from CIP plng area into the infocube and then copy teh data from infocube to MPS plng area using the the transaction /sapapo/tscube.
    Hope this helps.
    Thanks
    Mani Suresh

  • Data from BW to Oracle.

    Hi All,
    I am new into BW and i know how to get the data from my applications backend i.e ORACLE to BW system for reporting purpose. I have a scenario where user can edit this information through IP. I want this modified data to go back to ORACLE DB so that i can use this in my webdynpro application for further processing.
    So how can i achieve the transfer of data from BW to ORACLE DB in real time.
    Hope i am clear and will get some solution for this.
    thanks & regards,
    Manoj

    @Jai
    no, it's not DBCONNECT.
    Database links are an ORACLE feature that comes for free if you have Oracle on both sides.
    Main steps for the implementation part:
    BW side:
    1. you have to invite the Oracle database in the protocol.ora file of the MY_BW database.
    The host is the server where the local Oracle database instance is running.
    protocol.ora:
    TCP.INVITED_NODES= (myORACLEserver,...other hosts...)
    2. Define a database user in the BW database MY_BW_USER
    3. Grant SELECT privileges for the user MY_BW_USER that is used  in the link:
    grant select on my_bw_table to my_bw_user;
    Oracle side:
    1. database link
    CREATE DATABASE LINK "MY_BW.WORLD"  CONNECT TO "MY_BW_USER"
        IDENTIFIED BY "my_bw_user_password" 
        USING '(DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (COMMUNITY = SAP.WORLD)(PROTOCOL = TCP)(HOST = mySAPBWServer.com)(PORT = 1521))
        (CONNECT_DATA = (SID = MY_BW)(GLOBAL_NAME = MY_BW.WORLD))
    2. Create a view with the SELECT to extract from BW via the link (listed after the @):
    Create view view_extract_from_bw as
    select * from my_bw_table@MY_BW.WORLD
    You can do any transformations in the SELECT part to fit the data into the local Oracle table later in the insert.
    3. You will pull the data on the Oracle DB side from the BW database via the view that inturn uses the link
    to the BW Oracle system:
    insert into local_Oracle_table select * from view_extract_from_bw
    You see some support is needed from Basis guys to establish the link. But once implemented
    you have a interface from your local Oracle to the BW database.
    bye
    yk
    Edited by: Bernd Boecker on Jul 2, 2008 1:52 PM

  • How to get data from PostgresSQL to Oracle 11g

    I have a general idea on the topic but need more information on the procedure to get data from Postgres (version 8.2 on Linux) database to Oracle 11g (on AIX Unix). Thanks very much in advance!

    You need to configure DG4ODBC (=Database Gateway for ODBC). When you install it on a 64bit OS (for example on the same machine as your Oracle database), then it requires a 64bit Postgres ODBC driver. If you install it on a 32bit machine (for example on a 32bit Linux), then you need a 32bit Postgres ODBC driver. Commonly on Unix you also need to install a matching ODBC Dreiver Manager (for example you can get it from www.unixodbc.org) when Postgres doesn't ship one with their driver.
    A note describing the DG4ODBC configuration can be found on My Oracle Support:
    How to Setup DG4ODBC on Linux x86 32bit          (Doc ID 466228.1)
    and
    How to Setup DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX)          (Doc ID 561033.1)

Maybe you are looking for