Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Programm zur Datenbankkonvertierung
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
LL0rd
l33t
l33t


Joined: 24 May 2004
Posts: 652
Location: Schlundcity

PostPosted: Wed Dec 15, 2004 11:16 am    Post subject: Programm zur Datenbankkonvertierung Reply with quote

Hallo,

kennt von euch jemand ein Programm, mit dem ich Datenbanken konvertieren kann? Ich muss Daten aus einer MySQL Datenbank in eine Postgres schaffen. Für Windows gibt es ein Programm namens SQL Porter, jedoch finde ich 999€ etwas zu viel für eine einmalige Nutzung
Back to top
View user's profile Send private message
Gekko
l33t
l33t


Joined: 29 Oct 2002
Posts: 773

PostPosted: Wed Dec 15, 2004 11:35 am    Post subject: Reply with quote

Du könntest ja die Tabellen fetchen und in die Postgres reinquetschen. Mit nem Perl Script z.B...
Back to top
View user's profile Send private message
LL0rd
l33t
l33t


Joined: 24 May 2004
Posts: 652
Location: Schlundcity

PostPosted: Wed Dec 15, 2004 11:38 am    Post subject: Reply with quote

ich kann leider kein Perl, mit php würde das zwar auch gehen, nur 1GB Daten per php schaufeln find ich auch etwas viel.
Back to top
View user's profile Send private message
Gekko
l33t
l33t


Joined: 29 Oct 2002
Posts: 773

PostPosted: Wed Dec 15, 2004 11:42 am    Post subject: Reply with quote

Schon ausprobiert?
Ich glaub das geht ziemlich flott sogar. Auf alle Fälle schneller, als Du 999,-- Euro verdienen könntest :lol:
Back to top
View user's profile Send private message
zielscheibe
l33t
l33t


Joined: 02 Apr 2004
Posts: 804
Location: Aachen

PostPosted: Wed Dec 15, 2004 12:08 pm    Post subject: Reply with quote

Hi,

Hier gibts ein Tutorial (2. Link inkl. Scriptdownloads). :)
http://www.sitepoint.com/print/site-mysql-postgresql-1
http://www.sitepoint.com/print/site-mysql-postgresql-2
Back to top
View user's profile Send private message
LL0rd
l33t
l33t


Joined: 24 May 2004
Posts: 652
Location: Schlundcity

PostPosted: Wed Dec 15, 2004 12:29 pm    Post subject: Reply with quote

@Gekko

naja....... das würde ich nicht umbedingt sagen.......
2 Min Aus dem haus raus
3 Min Fahrt zur nächsten Lotostelle
5 Min Los ausfüllen und abgeben.
-----------
10 Min Arbeit für 21.000.000 Gewinn

999,00€ * 10min / 21.000.000€ = 4,75*10 ^-4 min :)

ergo. Es dauert länger das Script zu schreiben als 999,-- zu verdienen.

.... und in der nächsten Sendung reden wir über Wahrscheinlichkeiten :D


@zielscheibe

Danke, werde ich mir gleich anschauen.
Back to top
View user's profile Send private message
schmutzfinger
Veteran
Veteran


Joined: 26 Oct 2003
Posts: 1287
Location: Dresden/Germany

PostPosted: Wed Dec 15, 2004 12:59 pm    Post subject: Reply with quote

Tatsache ist, das es relativ kompliziert ist das mal eben in ein perl script zu verpacken. Man muss relativ viele sachen beachten. Angefangen davon das int nicht gleich int ist, das eine db smallint kennt und die andere nich...
Richtig lustig wird es bei AUTOINCREMENT :) und so weiter.
Ich habe das letztens mal gemacht, und es war echt ein krampf.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum