FWMARIADB 17.03 Fast Loading/Browsing Very Large Tables

aferra
Posts: 88
Joined: Wed Apr 28, 2010 6:34 pm

Re: FWMARIADB 17.03 Fast Loading/Browsing Very Large Tables

Post by aferra »

0.998 seconds here!

Great work, Rao!

PostGree +1
User avatar
Carles
Posts: 937
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona
Contact:

Re: FWMARIADB 17.03 Fast Loading/Browsing Very Large Tables

Post by Carles »

Nageswaragunupudi,

Fantastic !

Simple code, very fast and easy, congratulations.

A couple of questions.

1.- "oCn:RecSet( "custbig", 1000 )" is the pagination size ?
2.- Do you need a id or key unique, no ? then you need define this special field. This is true ? Or how it works?

Great !

edited: (field married don't update)
Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

https://modharbour.app
https://modharbour.app/compass
https://forum.modharbour.app
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: FWMARIADB 17.03 Fast Loading/Browsing Very Large Tables

Post by nageswaragunupudi »

1.- "oCn:RecSet( "custbig", 1000 )" is the pagination size ?
2.- Do you need a id or key unique, no ? then you need define this special field. This is true ? Or how it works?
1000 is the pagination size.
We use this syntax SELCT.... FROM table ORDER BY <uniquekey> LIMIT ? OFFSET ? internally. LIMIT ? OFFSET ? is more reliable than LIMIT ?,?

The recommended usage is going to be oCn:RecSet( <table/sql>, -1 ).

RecSet (also Rowset) method automatically ascertains the primary or unique field to construct the ORDERY BY expression.

Existing oCn:RowSet() also operates on a similar principe. But in this case, RowSet keeps expanding automatically on demand, whereas in case of RecSet() navigation is by paging. It is the way the paging is managed that gives experience of continuous navigation of the entire table.

Note:
RowSet() is already a fully developed class
RecSet() is under develoment. In 17.03 it can be used with limitations and by 17.04 it will mature fully.
Regards

G. N. Rao.
Hyderabad, India
User avatar
augustogomes
Posts: 23
Joined: Mon Jun 06, 2016 8:38 pm
Location: Ribeirão Preto - SP - Brasil

Re: FWMARIADB 17.03 Fast Loading/Browsing Very Large Tables

Post by augustogomes »

nageswaragunupudi wrote:
Is there any chance for 'FWPOSTGRESDB' ? :)
As of now, we do not have any plans.
We would consider if we see many users interested in it.


I have interest in the class for FWPOSTGRESDB, currently use third-party class.
Augusto Gomes /Suprisystem Informática - Fivewin 16.08 - xharbour 123 - BCC70 - DBFNTX e PostGreSql
User avatar
jose_murugosa
Posts: 943
Joined: Mon Feb 06, 2006 4:28 pm
Location: Uruguay
Contact:

Re: FWMARIADB 17.03 Fast Loading/Browsing Very Large Tables

Post by jose_murugosa »

Very Good,

I load and browse the 1.000.000 records database in 0.94 seconds in a slow internet connection.
Congratulations!!!!

An excelent work!!
Saludos/Regards,
José Murugosa
FWH + Harbour + Bcc7. Una seda!
Post Reply