Autor Beitrag
TheOutlaw
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 19


Delphi 6-7,2007
BeitragVerfasst: Mi 18.04.07 11:15 
Hallo,

ich wollte mal fragen, welche Komponente sinnvoller/schneller ist um in Delphi 2007 auf MySQL Datenbanken zuzugreifen... die TSQLConnection oder die TADOConnection? Wo liegen den der genaue Unterschied?
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Mi 18.04.07 11:29 
Das erste ist über dbExpress, das 2. über ADO.

_________________
Markus Kinzler.
TheOutlaw Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 19


Delphi 6-7,2007
BeitragVerfasst: Mi 18.04.07 11:59 
aber was ist schneller???
noidic
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 851

Win 2000 Win XP Vista
D7 Ent, SharpDevelop 2.2
BeitragVerfasst: Mi 18.04.07 13:01 
Nach meiner Erfahrung kommt das drauf an, auf welche Datenbank man sich verbinden möchte. Bei Oracle z.B. ist dbExpress realtiv fix, ADO Schneckenlahm.

Bei dbExpress exisitert aber zumindest in der D7-Version ein Speicherleck, wenn die Verbindung zur DB abbricht und neu aufgebaut werden soll.

Wenn man nur eine Art von Datenbankserver ansprechen will, lohnt es sich meist, native Komponenten zu verwenden, wie z.B. die DOA-Teile für Oracle.

_________________
Bravery calls my name in the sound of the wind in the night...
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Mi 18.04.07 13:33 
Am schnellesten sind immer Native Kompos (sehr gut sind die von Core Labs). Sollen mehrere Datenbanken unterstütz werden erleichtert die Verwendung von abstrakteren Sammlungen (Zeos, dbExpress, Ado, AnyDAC, ...) oder Bridge-Pattern das Ganze.

_________________
Markus Kinzler.
TheOutlaw Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 19


Delphi 6-7,2007
BeitragVerfasst: Mi 18.04.07 13:53 
Also der Connect soll auf eine MYSQL5 Datenbank gehen.... ich habe z.B. in Delphi 7 die Zeos Komponente genommen, die einfach schnecken lahm war!
WIng2005
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 49



BeitragVerfasst: Do 10.05.07 12:48 
Hat schonmal jemand die zeos-Komonenten in Verbindung mit Delphi 2007 getestet?
Könnte es da Probleme geben?

MFG
Steffen
MagicAndre1981
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Do 10.05.07 14:01 
Probier mal DBX4, das soll ja richtig fix sein :)
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Do 10.05.07 17:44 
Zitat:
Hat schonmal jemand die zeos-Komonenten in Verbindung mit Delphi 2007 getestet?
Wenn es möglichst schnell sein soll, ist Zeos nicht die richtige Lösung.

_________________
Markus Kinzler.