Testing the capacity of the Virtual GRID

Utilities like DBU, Make, IDE written in HMG/ used to create HMG based applications

Moderator: Rathinagiri

Post Reply
User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Testing the capacity of the Virtual GRID

Post 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 846 times
Andrés González López
Desde Guadalajara, Jalisco. México.
franco
Posts: 822
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Location: Canada

Re: Testing the capacity of the Virtual GRID

Post 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.
All The Best,
Franco
Canada
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Testing the capacity of the Virtual GRID

Post 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.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
SALINETAS24
Posts: 667
Joined: Tue Feb 27, 2018 3:06 am
DBs Used: DBF
Contact:

Re: Testing the capacity of the Virtual GRID

Post 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!!
Como dijo el gran pensador Hommer Simpson..., - En este mundo solo hay 3 tipos de personas, los que saben contar y los que no. :shock:
User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: Testing the capacity of the Virtual GRID

Post 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 762 times
imagen_2022-02-15_103002.png
imagen_2022-02-15_103002.png (570.55 KiB) Viewed 762 times
Andrés González López
Desde Guadalajara, Jalisco. México.
User avatar
SALINETAS24
Posts: 667
Joined: Tue Feb 27, 2018 3:06 am
DBs Used: DBF
Contact:

Re: Testing the capacity of the Virtual GRID

Post 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.
Como dijo el gran pensador Hommer Simpson..., - En este mundo solo hay 3 tipos de personas, los que saben contar y los que no. :shock:
Post Reply