Apenas palpite:
Provavelmente o MySQL precisa fazer o select completo, desde o primeiro até a quantidade que atenda o limit.
18001,19000 vai pegar os primeiros 19000 e usar somente os últimos 1000.

Moderador: Moderadores
jelias escreveu:Pude notar que o comentário é especÃfico ao conector 3.51, algo que o Quintas atribui como normal cair.
amigos boa noite!asimoes escreveu:migrei de dbf para o MariaDb
está parado no tempo há muitos anos e sabemos que vivemos a maior demanda de armazenamento de dados da história,
Harbour File Size Limits
Max record size: 2^16-1 = 65535 byts ( 64 MB )
Max number of recors : 2^32-1 = 4,294,967,295 ( 4 Bilion )
Max .dbf file size : 2^48 = 256 TB
Max DBT memo file size : 2 TB
Max FPT memo file size : 256 GB
Max SMT memo file size : 128 GB
Max NTX file size (standard) : 4GB
Max NTX file size (incresead ) : 4TB
Max CDX file size : 4GB
...
*
Harbour extended Field Types
Type Short
Code Name Width (Bytes) Description
---- ------- ----------------- -------------------------------------------------------------------
D Date 3, 4 or 8 Date
M Memo 4 or 8 Memo
+ AutoInc 4 Auto increment
= ModTime 8 Last modified date & time of this record
^ RowVers 8 Row version number; modification count of this record
@ DayTime 8 Date & Time
I Integer 1, 2, 3, 4 or 8 Signed Integer ( Width : )" },;
T Time 4 or 8 Only time (if width is 4 ) or Date & Time (if width is 8 ) (?)
V Variant 3, 4, 6 or more Variable type Field
Y Currency 8 64 bit integer with implied 4 decimal
B Double 8 Floating point / 64 bit binary
do while &WMACRO
@ 06,16 say str(WQTD)
@ 07,19 say CARRO
WCARRO = alltrim(CARRO)
WMCT = alltrim(MCT)
WLATITUDE = alltrim(LATITUDE)
WLONGITUDE = alltrim(LONGITUDE)
WDATA = dtos(DATA)
WHORA = alltrim(HORA)
WVELOC = alltrim(str(VELOC))
WLOCAL = alltrim(LOCAL)
oConexao:Execute( "INSERT INTO QTRACS (CARRO, MCT, LATITUDE, LONGITUDE, DATA, HORA, VELOC, LOCAL) VALUES ('"+WCARRO+"', '"+WMCT+"', '"+WLATITUDE+"', '"+WLONGITUDE+"', "+WDATA+", '"+WHORA+"', "+WVELOC+", '"+WLOCAL+"')")
WQTD = WQTD + 1
skip +1
enddo
Retornar para Contribuições, Dicas e Tutoriais
Usuários vendo este fórum: Nenhum usuário registrado online e 21 visitantes