Clipper On Line • Ver Tópico - LETODB ou HBNETIO qual o mais viável ?

LETODB ou HBNETIO qual o mais viável ?

Discussão sobre Banco de Dados e RDDs para Clipper/[x]Harbour.

Moderador: Moderadores

 

LETODB ou HBNETIO qual o mais viável ?

Mensagempor RamonXHB » 11 Abr 2014 16:50

Boa tarde, galera.

Das duas opções acima, qual a mais viável em termos de desempenho e estabilidade ?

Onde encontro os fontes para compilar as duas opções ?

Gostaria de saber a opinião do grupo, pois o cliente não quer que mude para bancos de dados SQL.

Obrigado a todos.
Ramon A. Körber Jr.
Harbour 3.2 MiniGUI Extended Edition
xDevStudio v0.70 - BCC 5.82 - Lazarus FreePascal
Firebird
AdoDB - ODBC
Windows - Linux
Linux User Number 404280
MSN - ramon15061959@hotmail.com
Skype - ramon15061959
ICQ - UIN 82580595
Avatar de usuário

RamonXHB
Usuário Nível 3

Usuário Nível 3
 
Mensagens: 151
Data de registro: 03 Mar 2007 14:55
Curtiu: 10 vezes
Mens.Curtidas: 3 vezes

LETODB ou HBNETIO qual o mais viável ?

Mensagempor Itamar M. Lins Jr. » 13 Abr 2014 13:56

Se puder testar os dois, e mandar um relato p/ nós, será de grande ajuda.
Eu só uso o Letodb.
Como instalar o letodb está nos posts mais abaixo.

Saudações,
Itamar M. Lins Jr.
Avatar de usuário

Itamar M. Lins Jr.
Colaborador

Colaborador
 
Mensagens: 6927
Data de registro: 30 Mai 2007 11:31
Cidade/Estado: Ilheus Bahia
Curtiu: 309 vezes
Mens.Curtidas: 503 vezes

LETODB ou HBNETIO qual o mais viável ?

Mensagempor Edymor » 03 Jul 2014 12:00

Bom dia,

Caros colegas, também gostaria de receber esta informação, segundo minhas pesquisas na rede, o LetOdb aguenta mais requisições, porém obtive relatos que o Netion que quando tinham muitas requisições ele travava. Ainda não fiz um teste para ver comprar os fatos citados.

Abraços a todos.
Avatar de usuário

Edymor
Usuário Nível 1

Usuário Nível 1
 
Mensagens: 1
Data de registro: 03 Jul 2014 11:41
Cidade/Estado: Fortaleza/Ce
Curtiu: 0 vez
Mens.Curtidas: 0 vez

LETODB ou HBNETIO qual o mais viável ?

Mensagempor frazato » 03 Jul 2014 15:14

Boa tarde! eu uso o letodb com harbour em sistema de cotação online a muito tempo e funciona muito bem mesmo, só não mudei meu sistema inteiro ainda em função de ter que refazer muita coisa em relação a criação de indice temporário, principalmente em telas de consulta e relatórios mais no caso e por preguiça minha, uso juntamente com a GTWVW, tenho o executável que envio para o cliente e ele acessa como se estivesse local o meu servidor ( compartilhado) bem rápido mesmo.

Frazato
frazato
Usuário Nível 3

Usuário Nível 3
 
Mensagens: 219
Data de registro: 08 Jul 2004 07:45
Curtiu: 0 vez
Mens.Curtidas: 4 vezes

Como baixar e instalar LETODB ou HBNETIO

Mensagempor jcsprog » 17 Out 2017 12:40

Ola podeiram informar onde consigo LETODB ou HBNETIO para baixar e instalar

agradeço
jcsprog
jcsprog
Usuário Nível 2

Usuário Nível 2
 
Mensagens: 56
Data de registro: 27 Abr 2005 12:04
Cidade/Estado: sao paulo - jd.brasil
Curtiu: 1 vez
Mens.Curtidas: 2 vezes

LETODB ou HBNETIO qual o mais viável ?

Mensagempor Cisino Junior » 06 Nov 2017 13:41

jcsprog escreveu:Ola podeiram informar onde consigo LETODB ou HBNETIO para baixar e instalar

agradeço


Olá, você pode fazer o download do fonte neste link -> https://github.com/elchs/LetoDBf. Essa é a versão do Elchs, é um fork do projeto original. Já fiz uns testes com o servidor Letodb rodando no Windows 10 e ficou legal.

Aqui uma postagem sobre o LetoDBf do colega Itamar: http://www.pctoledo.com.br/forum/viewtopic.php?f=42&t=18083

Aqui o link para download do LetoDBf compilado + libs que postei a alguns meses: http://www.pctoledo.com.br/forum/filebase.php?d=1&id=243&c_old=0&what=c&page=1

Atenciosamente,
Cisino Junior.
HMG 3.4.3 + DBF, Java, MySQL, PostgreSQL, PHP, JavaScript + HTML5 + CSS3, Bootstrap, Spring, Thymeleaf.
Cisino Junior
Usuário Nível 2

Usuário Nível 2
 
Mensagens: 67
Data de registro: 14 Abr 2016 13:12
Cidade/Estado: Rio de Janeiro
Curtiu: 12 vezes
Mens.Curtidas: 5 vezes

LETODB ou HBNETIO qual o mais viável ?

Mensagempor Cisino Junior » 06 Nov 2017 13:50

jcsprog escreveu:HBNETIO para baixar e instalar


Se você utiliza o HMG(acredito que com o harbour também), o Netio já vem compilado com a IDE: C:\HMG.3.4.3\SAMPLES\Miscellaneous\NETIO e os fontes na pasta C:\HMG.3.4.3\HARBOUR\contrib\hbnetio

Atenciosamente,
Cisino Junior.
HMG 3.4.3 + DBF, Java, MySQL, PostgreSQL, PHP, JavaScript + HTML5 + CSS3, Bootstrap, Spring, Thymeleaf.
Cisino Junior
Usuário Nível 2

Usuário Nível 2
 
Mensagens: 67
Data de registro: 14 Abr 2016 13:12
Cidade/Estado: Rio de Janeiro
Curtiu: 12 vezes
Mens.Curtidas: 5 vezes

LETODB ou HBNETIO qual o mais viável ?

Mensagempor Itamar M. Lins Jr. » 17 Set 2019 14:36

Ola!
Resumindo, NETIO para LAN, LETODBf para LAN/WAN.

Saudações,
Itamar M. Lins Jr.
Avatar de usuário

Itamar M. Lins Jr.
Colaborador

Colaborador
 
Mensagens: 6927
Data de registro: 30 Mai 2007 11:31
Cidade/Estado: Ilheus Bahia
Curtiu: 309 vezes
Mens.Curtidas: 503 vezes

LETODB ou HBNETIO qual o mais viável ?

Mensagempor JoséQuintas » 17 Set 2019 15:22

hazael escreveu:Poderia afirmar que HBNETIO é o melhor em LAN e que o LetoDBF é o melhor em WAN (mas que também funciona em LAN só que o HBNETIO seria o mais especializado)?
Essa afirmação seria verdadeira?


Totalmente falso

hbnetio é a possibilidade de trabalhar com dbfs via TCPIP. Apenas funciona. Conexão melhor tem resultado melhor. Por isso vamos ter resultado melhor em rede do que por internet.

letodbf foi criado especificamente pra trabalhar com dbfs remotamente via TCP/IP, tanto faz se rede ou internet.
José M. C. Quintas
Harbour 3.2, mingw, gtwvg, multithread, dbfcdx, ADO+MySql, PNotepad
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"

https://github.com/JoseQuintas/
Avatar de usuário

JoséQuintas
Membro Master

Membro Master
 
Mensagens: 18007
Data de registro: 26 Fev 2007 11:59
Cidade/Estado: São Paulo-SP
Curtiu: 15 vezes
Mens.Curtidas: 1206 vezes

LETODB ou HBNETIO qual o mais viável ?

Mensagempor Itamar M. Lins Jr. » 17 Set 2019 15:25

Ola!
Deixa o Przmek explicar.
http://www.pctoledo.com.br/forum/viewtopic.php?f=42&t=18083#p113910

O LetoDbf tem mais recursos. Por exemplo roda duas estâncias no servidor, aumentando em muito a performance, eu trabalho com todo tipo de CPU-celeron, dual, etc com 2mb ram, XP, 7/10 parece está rodando local as estações é rápido, via ADSL precária de 1mb etc... para atualizar remotamente. Não que o NetIO não faça, talvez, possa até ser melhorado mais que o LetoDBf. Porém o LetoDBf tem criptografia etc... otimizado para SAMBA. coisa que não tem no NetIO.

Saudações,
Itamar M. Lins Jr.
Avatar de usuário

Itamar M. Lins Jr.
Colaborador

Colaborador
 
Mensagens: 6927
Data de registro: 30 Mai 2007 11:31
Cidade/Estado: Ilheus Bahia
Curtiu: 309 vezes
Mens.Curtidas: 503 vezes

LETODB ou HBNETIO qual o mais viável ?

Mensagempor JoséQuintas » 17 Set 2019 15:42

Itamar M. Lins Jr. escreveu:com 2mb ram


2MB de Ram... acho que errou na digitação, deve ser 2GB.

Mas no hbnetio/lettodbf....
Pode ficar mais claro assim: hbnetio é um servidor de conexão, letodbf é um servidor de dbfs.
José M. C. Quintas
Harbour 3.2, mingw, gtwvg, multithread, dbfcdx, ADO+MySql, PNotepad
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"

https://github.com/JoseQuintas/
Avatar de usuário

JoséQuintas
Membro Master

Membro Master
 
Mensagens: 18007
Data de registro: 26 Fev 2007 11:59
Cidade/Estado: São Paulo-SP
Curtiu: 15 vezes
Mens.Curtidas: 1206 vezes

LETODB ou HBNETIO qual o mais viável ?

Mensagempor Itamar M. Lins Jr. » 17 Set 2019 15:51

Ola!
O LetoDBf, trabalha em pé de igualdade com servidores DBF comerciais. Esses que custam os olhos da cara.
Esse é o problema do Harbour, quando o código OPEN colide com os interesses comerciais.

O Pritpal fez isso ai em baixo, mas não vejo niguém comentar.

2016-12-12 18:53 UTC-0800 Pritpal Bedi (bedipritpal at hotmail.com)(r444)
  * hbqtwidgets/scripts.prg
    + Added: RecNo() field in SELECT statement. At times it is a must have info.

      SELECT age,state,RecNo(),func(age*salary),Right(state,1),sum(salary),Min(salary),Max(salary),avg(salary),count(*) ;
      FROM c:\harbour\tests\test.dbf GROUP BY age,state ORDER BY age-desc,state WHERE age > 66

2016-12-12 16:43 UTC-0800 Pritpal Bedi (bedipritpal at hotmail.com)(r443)
  * hbqtwidgets/scripts.prg
    % Changed : SQL parser from procedural to class code.

    + Array browser window adjusts to number of columns in the record upto
       maximum columns which can be accomodated on the screen.

    + Implemented: SQL aggregate functions:
       a) Count( * )
       b) Min( cNumFieldName *|+|-|/ cSecondNumField *|+|-|/ cThirdNumField )
       c) Max( cNumFieldName *|+|-|/ cSecondNumField *|+|-|/ cThirdNumField )
       d) Avg( cNumFieldName *|+|-|/ cSecondNumField *|+|-|/ cThirdNumField )
       e) Sum( cNumFieldName *|+|-|/ cSecondNumField *|+|-|/ cThirdNumField )

    + Implemented: SQL string functions:
       a) SubStr( cCharFieldName, nFrom [, nCount ] )
       b) Left( cCharFieldName, nCount )
       c) Right( cCharFieldName, nCount )
       d) Upper( cCharFieldName )
       e) Lower( cCharFieldName )

    + Implemented: A general purpose field to club multiple numeric columns.
       It is like SUM() function but is not an aggregate function. Syntax is:
       a) Func( salary * age )

       
    ; WARNING: no parenthesis inside the function body.
    ; Title of the column representing above functions is constructed
       automatically. Still, I am at a loss how to implement AS clause.
       [ Preprocessor Limitation ].

    ; Example calls:
       SELECT * FROM c:\harbour\tests\test.dbf ORDER BY age WHERE age>=90

       SELECT first,last,age,state,zip,sum(age * age),count(*) ;
       FROM c:\harbour\tests\test.dbf ORDER BY age-desc,state WHERE age>66

       SELECT age,state,Func(age*salary),Right(state,1),Sum(salary),Min(salary),Max(salary),Avg(salary),Count(*) ;
       FROM c:\harbour\tests\test.dbf GROUP BY age,state ORDER BY age-desc,state WHERE age > 66

2016-12-06 16:27 UTC-0800 Pritpal Bedi (bedipritpal at hotmail.com)(r442)
  * hbqtwidgets/scripts.prg
    + Implemented LIKE operator in WHERE clause.
      SELECT first,last,age,state,zip ;
        FROM c:\harbour\tests\test.dbf ;
        ORDER BY age-desc,state ;
        WHERE last LIKE 'Vedal%'

      OR

      SELECT first,last,age,state,zip ;
        FROM c:\harbour\tests\test.dbf ;
        ORDER BY age-desc,state ;
        WHERE last LIKE 'Vedal'

      If "%" is not postfixed with search string then the behavior will
      be exactly the same as "=" opertaor.

      "=" operator matches the exact string.
      "LIKE" without "%" will match the exact string.
      "LIKE" with "%" will match the first characters of the string.

    + Implemented local resizable array browser to display the result set.
       instead of calling Browse() which reduces the overhead to save
       results in a table and then display. INTO clause is still respected,
       though.

2016-12-02 16:39 UTC-0800 Pritpal Bedi (bedipritpal at hotmail.com)(r441)
  * hbqtwidgets/scripts.prg
    ! Fixed: not to call 3rd rdd functions under a directive.

2016-12-02 16:18 UTC-0800 Pritpal Bedi (bedipritpal at hotmail.com)(r440)
  * hbdbu/dbu.prg
  * hbdbu/hbdbu.hbp
  * hbqtwidgets/misc.prg
    ! Something missed.

2016-12-02 14:08 UTC-0800 Pritpal Bedi (bedipritpal at hotmail.com)(r439)
  * hbdbu/dbu.prg
  * hbdbu/hbdbu.hbp
    + Added few more contribs.

  * hbqtwidgets/dbucreate.prg
    ! Fixed: <Create> and <Cancel> buttons on the "Create Table"
       interface were not working.

  * hbqtwidgets/getlist.prg
    ! Fixed a potential memoty leak. (Not confirmed).

  * hbqtwidgets/hbqtdbu.prg
    ! Fixed: application freeze if editing was performed on ghost record.
       Now a blank record is appeneded as soon as first editing action
       is confirmed with ENTER.

  * hbqtwidgets/scripts.ui
  * hbqtwidgets/scripts.prg
    - Removed: <-include> line edit.

    + Added: <-include> combo-box where multiple paths can be added and
       managed as a drop-down list.

       How to Add   : Just type in the path in combo's edit field and
                      press ENTER.
       How to Delete: Select the desired entry so that you can see it
                      in the combo's edit field, right-click, select
                      <Delete> from the context menu.

       In single lineEdit control it was a mess to organize the paths.

    + The .hsv (Harbour Scripts View) filename is dispalyed on the
       header of scripts tree. While saving and opening a new .hsv
       the file open dialog now respects this path for .hsv files.

    + The path to the root of HbDBU is passed as an -i(nclude) directive
       when a script is run.
    + If the script is a saved disk file, then, this path is also sent
       as an -i(nclude) directive. Moreover, for console mode run,
       the script is run while thread stays in this path.

    + Added: FUNCTION __hbqtExecSelect( cFields, cFrom, cWhere, cOrder, cInto )
       which is activated with a statement like:

       SELECT first,last,age,state FROM c:\harbour\tests\test.dbf ;
       ORDER BY age-desc,state WHERE age>60

       #command SELECT <fld,...> FROM <from> ;
                  [INTO <into>] ;
                  [ORDER BY <order,...>] ;
                  [WHERE <*whr*>] ;
              => ;
        __hbqtExecSelect( #<fld>, <"from">, #<whr>, #<order>, <"into"> )

       preprocessor directive is sent with the script buffer automatically.

     ; Yes, you read it right. HbQtScripts now implement a sub-set of
        SQL SELECT statement which is translated to database commands and
        result is displayed via Browse(). Let us understand the difference
        in true SQL statement components vs HbQt.
         
        SELECT    * | comma sapartaed list of valid field names - no UDFs yet.

        FROM      fully qualified table name with path and extention. By default
                  DBFCDX driver is used, but to use another driver prefix the
                  table name with driver and "|", like:
                        dbfcdx|c:\harbour\tests\test.dbf
                  This must be the 2nd component of the statement.

        INTO      fully qualified table name with path and extention where
                  results will be deposited. DBFCDX is used for this purpose.

        ORDER BY  a comma separated list of field names contained in the result
                  set. Keyword "-desc" can be post-fixed with a fieldname to
                  present in descending order. In example statement as above
                  it is represented as - age-desc,state - where the whole result
                  is sorted descending on age first, then within each age group
                  state is sorted ascending.

        WHERE     This must be the last component of the statement.
                  The only operator supported for multiple conditions is
                  "AND" only, like: age > 90 and last = 'Thomas'.
                  The supported operators within a single condition are
                  >=, <=, !=, <>, =, <, >.

                  A condition has 3 components
                  //
                  1. FieldName - must be present in the table
                  2. Operator  - one of the >=, <=, !=, <>, =, <, >
                  3. Value     - string 'Thomas', numeric 90.0, date '2016-12-02'

                  a '=' condition is looked for if any index starting with its
                  FieldName is available or not. If available, then index order
                  is set to it and seek is performed with Value part which
                  greately enhances the speed.

    ; You can test it by simply placing the above SQL statement in a function
      and just run it in console mode, assuming that test.dbf actually resides
      where it is pointed to.

      FUNCTION __test()

         SELECT first,last,age,state FROM c:\harbour\tests\test.dbf ;
         ORDER BY age-desc,state WHERE age>60

         RETURN NIL



Muita gente não sabe o que tem pronto, e cria mais um recurso, mais um fork e a divisão vai aumentando.

Saudações,
Itamar M. Lins Jr.
Avatar de usuário

Itamar M. Lins Jr.
Colaborador

Colaborador
 
Mensagens: 6927
Data de registro: 30 Mai 2007 11:31
Cidade/Estado: Ilheus Bahia
Curtiu: 309 vezes
Mens.Curtidas: 503 vezes

LETODB ou HBNETIO qual o mais viável ?

Mensagempor JoséQuintas » 17 Set 2019 16:06

Itamar M. Lins Jr. escreveu:O Pritpal fez isso ai em baixo, mas não vejo niguém comentar.


Eu nem sabia disso, não acompanho qtcontribs.
Tá aí uma coisa muuuuito interessante.
José M. C. Quintas
Harbour 3.2, mingw, gtwvg, multithread, dbfcdx, ADO+MySql, PNotepad
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"

https://github.com/JoseQuintas/
Avatar de usuário

JoséQuintas
Membro Master

Membro Master
 
Mensagens: 18007
Data de registro: 26 Fev 2007 11:59
Cidade/Estado: São Paulo-SP
Curtiu: 15 vezes
Mens.Curtidas: 1206 vezes

LETODB ou HBNETIO qual o mais viável ?

Mensagempor JoséQuintas » 18 Set 2019 09:25

Sim, letodbf é melhor que hbnetio porque foi feito pra tirar vantagem da comunicação tcpip.

Tava pensando aqui... e se juntar o script.prg do Pritpal com o lettodbf?
Teríamos dbf com comandos sql?
José M. C. Quintas
Harbour 3.2, mingw, gtwvg, multithread, dbfcdx, ADO+MySql, PNotepad
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"

https://github.com/JoseQuintas/
Avatar de usuário

JoséQuintas
Membro Master

Membro Master
 
Mensagens: 18007
Data de registro: 26 Fev 2007 11:59
Cidade/Estado: São Paulo-SP
Curtiu: 15 vezes
Mens.Curtidas: 1206 vezes

LETODB ou HBNETIO qual o mais viável ?

Mensagempor Itamar M. Lins Jr. » 18 Set 2019 09:30

Ola!
O problema do Pritpal é que ele é muito ocupado.
Se formos ver o tanto de código da QtContribs, e que ele fica muito tempo sem aparecer. Agora apareceu com outro projeto do NetIO nas nuvens... Tem que esperar para ver o que vem por ai.

Saudações,
Itamar M. Lins Jr.
Avatar de usuário

Itamar M. Lins Jr.
Colaborador

Colaborador
 
Mensagens: 6927
Data de registro: 30 Mai 2007 11:31
Cidade/Estado: Ilheus Bahia
Curtiu: 309 vezes
Mens.Curtidas: 503 vezes

Próximo



Retornar para Banco de Dados

Quem está online

Usuários vendo este fórum: Nenhum usuário registrado online e 11 visitantes


Ola Amigo, espero que meu site e forum tem lhe beneficiado, com exemplos e dicas de programacao.
Entao divulgue o link da Doacao abaixo para seus amigos e redes sociais ou faça uma doacao para o site forum...
MUITO OBRIGADO PELA SUA DOACAO!
Faça uma doação para o forum
cron
v
Olá visitante, seja bem-vindo ao Fórum Clipper On Line!
Efetue o seu login ou faça o seu Registro