Autor Beitrag
Der Jan
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 98

Win2k prof, WinXP prof, Linux
D6 Prof, BCB4 Std, BCB6 Ent, BDS 2006 Ent
BeitragVerfasst: Fr 25.11.05 10:27 
Kann man irgendwie Blobs in Firebird auch größer als 32k machen bzw. gibt es eine Möglichkeit, Daten größer als 32k irgendwie in einer FB-DB zu speichern?
Amiga-Fan
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 534



BeitragVerfasst: Fr 25.11.05 10:28 
?? ich habe da nie ein Problem mit Größenbeschränkungen gehabt.

_________________
- Leg dich nie mit einem Berufsprogrammierer an
- Wahre Profis akzeptieren keine einfachen Lösungen
Der Jan Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 98

Win2k prof, WinXP prof, Linux
D6 Prof, BCB4 Std, BCB6 Ent, BDS 2006 Ent
BeitragVerfasst: Fr 25.11.05 10:31 
na das nenn ich schnell :)
Wenn ich ein Blob-Feld in einer Tabelle anlege ist, die Größe auf 32767 Bytes beschränkt. Zumindest im IB-Ixpert und auch bei IBOConsole....

_________________
Gruß, Jan
Amiga-Fan
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 534



BeitragVerfasst: Fr 25.11.05 10:33 
tatsächlich? Na dann schau dir mal die Optionen an, die du angegeben hast. Oder erstelle die Tabelle manuell.

_________________
- Leg dich nie mit einem Berufsprogrammierer an
- Wahre Profis akzeptieren keine einfachen Lösungen
Der Jan Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 98

Win2k prof, WinXP prof, Linux
D6 Prof, BCB4 Std, BCB6 Ent, BDS 2006 Ent
BeitragVerfasst: Fr 25.11.05 10:50 
Also in den Optionen hab ich nichts gefunden.
Habs mal manuell eine Testtabelle erzeugt.

ausblenden Quelltext
1:
2:
3:
4:
CREATE TABLE my-table
(
  blob1 BLOB;
);

Jetzt habe ich das Problem, daß IBExp beim laden der Tabelle automatisch die Größe des Blob-Feldes auf 80 setzt. --> Ganz schlecht.
Wie verhält sich das eigentlich mit der Größe? Muss man die unbedingt im Voraus definieren oder kann man auch einfach sagen "hier kommt ein blob hin" ? Im Prinzip werden die Blobs ja eh serarat gespeichert....

_________________
Gruß, Jan
Lemmy
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 792
Erhaltene Danke: 49

Windows 7 / 10; CentOS 7; LinuxMint
Delphi 7-XE10.1, VS 2015
BeitragVerfasst: Fr 25.11.05 10:56 
Hi,

die 80 Zeichen auf die Du anspielst ist nur die Größe der Blöcke die auf einmal geladen werden. Damit kann man u.u. die Blob-Operationen beschleunigen (oder verlangsamen wenn man rumspielt).

Eine Größenbeschränkung der Blobs gibt es nicht, wenn dann kann vielleicht die Oberfläche die Blobs nur bis zu einer gewissen Größe anzeigen. Hast Du schon mal versucht die Blobs (sind vermutlich Texte, oder) mittels Delphi in ne Textdatei zu speichern?

Grüße
Lemmy
Der Jan Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 98

Win2k prof, WinXP prof, Linux
D6 Prof, BCB4 Std, BCB6 Ent, BDS 2006 Ent
BeitragVerfasst: Fr 25.11.05 11:06 
Alles klar, habs auch grad gerafft :?
Es geht um die Segment-Größe, nicht um die Größe des Blobs.
War jetzt echt schwer ins Grübeln gekommen. :?!?:
aber es heißt ja
ausblenden Quelltext
1:
2:
3:
4:
CREATE TABLE test
(
  blob1 BLOB SEGMENT SIZE 16384 //z.B.
);

_________________
Gruß, Jan