FWMARIADB 17.03 Fast Loading/Browsing Very Large Tables

Re: FWMARIADB 17.03 Fast Loading/Browsing Very Large Tables

Postby aferra » Mon Mar 27, 2017 1:13 pm

0.998 seconds here!

Great work, Rao!

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

Re: FWMARIADB 17.03 Fast Loading/Browsing Very Large Tables

Postby Carles » Mon Mar 27, 2017 5:17 pm

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..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
Skype -> https://join.skype.com/cnzQg3Kr1dnk
User avatar
Carles
 
Posts: 1135
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona

Re: FWMARIADB 17.03 Fast Loading/Browsing Very Large Tables

Postby nageswaragunupudi » Mon Mar 27, 2017 5:33 pm

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
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: FWMARIADB 17.03 Fast Loading/Browsing Very Large Tables

Postby augustogomes » Mon Apr 03, 2017 6:16 pm

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
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

Postby jose_murugosa » Tue Apr 04, 2017 9:37 am

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
"Los errores en programación, siempre están entre la silla y el teclado y la IA!!"
User avatar
jose_murugosa
 
Posts: 1180
Joined: Mon Feb 06, 2006 4:28 pm
Location: Uruguay

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 100 guests