Page 1 of 1

Testing the capacity of the Virtual GRID

Posted: Mon Feb 14, 2022 11:10 pm
by andyglezl
Aquí solo probando la capacidad del Virtual GRID.
En general la respuesta es rápida al recorrerlo, solo la duración de la carga
cuando son archivos demasiado grandes.
*------------------------------------------------------------------------------------------------------------------
Here just testing the capacity of the Virtual GRID.
In general, the response is fast when going through it, only the duration of
the load when the files are too large.

imagen_2022-02-14_165807.png
imagen_2022-02-14_165807.png (559.94 KiB) Viewed 1293 times

Re: Testing the capacity of the Virtual GRID

Posted: Tue Feb 15, 2022 1:26 am
by franco
I think we looked at this before.
If you create a browse instead I think you can do most things you do in a grid, but load time is much faster for large files.
I use grids for only part of a file when working it.
index on folio to temp for 'JOSE' $ nombe.
then grid.
Try the same function with a browse just for fun.

Re: Testing the capacity of the Virtual GRID

Posted: Tue Feb 15, 2022 4:50 am
by Rathinagiri
It is not the virtual grid taking time. It is the time to load the entire file into the memory.

Once it is loaded, virtual grid takes the data from the memory. The idea is not to pull all the data into the memory. As franco suggested keep index properly and whenever each cell requires data, just supply the data to grid.

At any point in time, the maximum read/write will be not more than 25 to 30 times (the rows of the grid) and not the entire 1 Million+ row of the data.

Re: Testing the capacity of the Virtual GRID

Posted: Tue Feb 15, 2022 1:04 pm
by SALINETAS24
andyglezl wrote: Mon Feb 14, 2022 11:10 pm Aquí solo probando la capacidad del Virtual GRID.
En general la respuesta es rápida al recorrerlo, solo la duración de la carga ...
Hola Andy, el GRID VIRTUAL es rápidisimo una vez tiene los datos cargados.
Entonces la pregunta....¿quien quiere tener cargados 1MM de registros...?
Yo lo que cargo son los 1000 o 10000 primeros registros, y me he creado una función para seguir cargando otros tantos registros más, y otra función de busqueda con OrdWildSeek( "*" + cCod + "*" ) y va de maravilla.

Si no mal recuerdo en las fuentes de alguno de mis programas que he colgado en el foro se puede ver.

Un saludo y cervecita fresquita!!

Re: Testing the capacity of the Virtual GRID

Posted: Tue Feb 15, 2022 4:36 pm
by andyglezl
Yo pienso que el GRID tiene mucho potencial.
* El tiempo de carga del mismo archivo, bajó a 20 seg. ...
*Al abrirlo "compartido" lo puedo editar con otro programa ...
* Puedo correr 2 instancias del mismo programa y modificar el mismo registro
y al cambiar de registro veo la última modificación que se hizo...
*------------------------------------------------------------------------------------------------
I think the GRID has a lot of potential.
* Loading time for the same file dropped to 20 sec. ...
*When I open it "shared" I can edit it with another program...
* I can run 2 instances of the same program and modify the same registry
and when I change the record I see the last modification that was made...
imagen_2022-02-15_102940.png
imagen_2022-02-15_102940.png (580.37 KiB) Viewed 1209 times
imagen_2022-02-15_103002.png
imagen_2022-02-15_103002.png (570.55 KiB) Viewed 1209 times

Re: Testing the capacity of the Virtual GRID

Posted: Wed Feb 23, 2022 6:37 pm
by SALINETAS24
andyglezl wrote: Tue Feb 15, 2022 4:36 pm Yo pienso que el GRID tiene mucho potencial.
... /...
Estoy contigo, ademas creo que el BROWSE cuando trabaja en RED y con una DBF como la de tu ejemplo cae un montón en su tiempo de respuesta.