AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

advantage db

Ein Thema von chukalv · begonnen am 29. Jan 2007 · letzter Beitrag vom 29. Jan 2007
Antwort Antwort
chukalv

Registriert seit: 21. Mär 2005
8 Beiträge
 
Delphi 6 Professional
 
#1

advantage db

  Alt 29. Jan 2007, 13:44
Datenbank: Advantage • Zugriff über: x
Hello!

I`m now starting to understand database structures and how they`re working. As i understood, the Advantage database's are one of the good. I'm looking forward to make a local db, for huge entries (70 000 and up). It's for a lexicon.
Right now there's a mysql+php version already ready, but my goal is to make an local version. To understand I was exploring an already ready project. I think I understood how the delphi is communicating with the db files (local db), but
there are some questions:
- for what is the *.adt file and for what is the *.adi file? Do I have to include both of them into my project?
- how to make an Advantage table (the adt and adi files) from a sql code? Do I have to use delphi or are there any other tools?
- how much space would the advantage local db file take, that includes 70 000 entries?
- what exactly is not free in the Advantage db system? I'v downloaded the TDataSet and as it seems, it works and reads the db files for free.
- are there any other better solutions or example how to manage and create a local lexicon?


Thanks in advance!
May the source be with You!
  Mit Zitat antworten Zitat
hsg

Registriert seit: 24. Apr 2006
Ort: Wustermark
354 Beiträge
 
Delphi 10.3 Rio
 
#2

Re: advantage db

  Alt 29. Jan 2007, 14:18
Zitat von chukalv:
Hello!

I`m now starting to understand database structures and how they`re working. As i understood, the Advantage database's are one of the good. I'm looking forward to make a local db, for huge entries (70 000 and up). It's for a lexicon.
Right now there's a mysql+php version already ready, but my goal is to make an local version. To understand I was exploring an already ready project. I think I understood how the delphi is communicating with the db files (local db), but
there are some questions:
- for what is the *.adt file and for what is the *.adi file? Do I have to include both of them into my project?
- how to make an Advantage table (the adt and adi files) from a sql code? Do I have to use delphi or are there any other tools?
- how much space would the advantage local db file take, that includes 70 000 entries?
- what exactly is not free in the Advantage db system? I'v downloaded the TDataSet and as it seems, it works and reads the db files for free.
- are there any other better solutions or example how to manage and create a local lexicon?


Thanks in advance!
I try to answer some of your questions, sorry my english is not the best (feel free to correct me):
1) adt-files are a special table format from advantage similar to .dbf (old dbase-format), .adi are the index-files

2) download the adac or tdatadescands from advantage (adac if your delphi-version is above delphi8) and install it, so you have native access to the table, use a TADSConnection for the connection to the databases and a TADSQuery for your sql-stateman. If you don't want to play with delphi directly, you can use the advantage database architect (arc32), with this tool you can create new databases and connections to dictionarys (a set of tables), also it offers a grid to show the data inside and a sql-tool to build your queries.

3) the size of the whole database is depends on the fieldsize.

4) the local database-system is free, if you need a client-server solution then you must by a server with more capabilities (transactions for example)

hth
Jörg
  Mit Zitat antworten Zitat
Benutzerbild von Bernhard Geyer
Bernhard Geyer

Registriert seit: 13. Aug 2002
17.171 Beiträge
 
Delphi 10.4 Sydney
 
#3

Re: advantage db

  Alt 29. Jan 2007, 14:34
Zitat von hsg:
4) the local database-system is free, if you need a client-server solution then you must by a server with more capabilities (transactions for example)
It's not free if you use it as a "server". For this you need a license.
A "server" is when you use it in Webbased/Server-Technik like ASP.NET or Intraweb or Citrix or Remote Desktop!
Windows Vista - Eine neue Erfahrung in Fehlern.
  Mit Zitat antworten Zitat
hsg

Registriert seit: 24. Apr 2006
Ort: Wustermark
354 Beiträge
 
Delphi 10.3 Rio
 
#4

Re: advantage db

  Alt 29. Jan 2007, 14:43
Zitat von Bernhard Geyer:
Zitat von hsg:
4) the local database-system is free, if you need a client-server solution then you must by a server with more capabilities (transactions for example)
It's not free if you use it as a "server". For this you need a license.
A "server" is when you use it in Webbased/Server-Technik like ASP.NET or Intraweb or Citrix or Remote Desktop!
Advantage has two products: "advantage database local" (this is free) and "advantage database server", wich is not free (so here you must by a license ). the "advantage server" is a service on a computer and your application talk through a client-mechanismen over the lan/wan with the server. I hope now is it clearer...

Jörg
  Mit Zitat antworten Zitat
Pfoto

Registriert seit: 26. Aug 2005
Ort: Daun
541 Beiträge
 
Turbo Delphi für Win32
 
#5

Re: advantage db

  Alt 29. Jan 2007, 14:46
Hello!

I'm currently using the NexusDB-system,
there is a free embedded version too with no restrictions!
(also full support of transactions)

One of the reason I use NexusDB is the very large pool of SQL-Statements,
even SQL 2003 and Nexus-own commands.
And there is a really huge newsgroup with a fast und helpfull support...

Of course, that's only my experience... (ADS is a fine DB-system too)


I always would recommend to use a database-system for your task,
because with a real database you needn't to load in the whole (uge) file -
after a user has made a database-query there will be just loaded in
the result you are asked for...

Do not worry about the file size! If you have only text (no media-files)
it's not all to mutch. (And of course you can optimized your table/datafield-
strukture as long until you satisfied)


Regards
Pfoto
Jürgen Höfs
  Mit Zitat antworten Zitat
Benutzerbild von Bernhard Geyer
Bernhard Geyer

Registriert seit: 13. Aug 2002
17.171 Beiträge
 
Delphi 10.4 Sydney
 
#6

Re: advantage db

  Alt 29. Jan 2007, 14:58
Zitat von hsg:
Advantage has two products: "advantage database local" (this is free) and "advantage database server", wich is not free (so here you must by a license ). the "advantage server" is a service on a computer and your application talk through a client-mechanismen over the lan/wan with the server. I hope now is it clearer...
Thats clear. But starting with Version 7.0 your app will not run in a Remote Desktop-Environment if you use the ADS Local Server. You will get a Message-Dialog that show this limitation.
Windows Vista - Eine neue Erfahrung in Fehlern.
  Mit Zitat antworten Zitat
chukalv

Registriert seit: 21. Mär 2005
8 Beiträge
 
Delphi 6 Professional
 
#7

Re: advantage db

  Alt 29. Jan 2007, 18:19
many thanks guys
May the source be with You!
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 02:39 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz