NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Trying to use BUFFERS
« previous
next »
Print
Pages: [
1
]
Author
Topic: Trying to use BUFFERS (Read 4309 times)
Alberto
Hero Member
Posts: 1873
Trying to use BUFFERS
«
on:
November 20, 2008, 06:42:43 AM »
Hi, I´m trying to use
BUFFER(Goc:DeCargador_OptionView,100,5,2,300)
adding it at Start of "Option Filter & Order
but it does not work, the page simply hangs.
How can I useit?
Must I use BUFFERS for each file in the view?
Thanks
Logged
-----------
Regards
Alberto
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: Trying to use BUFFERS
«
Reply #1 on:
November 21, 2008, 12:43:22 AM »
Hi Alberto,
Are you using a SQL backend?
The template already generates a buffer statement for you - except in cases where there are "known issues".
For example, the ODBC driver fails if you buffer and the Sort order contains a decimal field.
Cheers
Bruce
Logged
Alberto
Hero Member
Posts: 1873
Re: Trying to use BUFFERS
«
Reply #2 on:
November 21, 2008, 05:41:23 AM »
Yes, I´m using MsSql and I´not using any decimal in keys or filters.
I noticed a huge ammount of "duration" with the Profiler in the first or two cursor retreivements and I thought a buffer statement is nedded so I try it.
Which statement are the template using?
Is there any way to moddify it?
Rgards
Alberto
Logged
-----------
Regards
Alberto
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: Trying to use BUFFERS
«
Reply #3 on:
November 24, 2008, 05:25:40 AM »
Right-click on the procedure in the app tree.
choose source.
Search for BUFFER
and you'll see what the template is generating.
You can also put a STOP in to see the value of loc:nobuffer
Cheers
Bruce
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: Trying to use BUFFERS
«
Reply #4 on:
November 27, 2008, 11:22:26 PM »
Hi Michelis,
As of PR20 I've removed the BUFFERS setting completely as it caused really weird effects with SQL. I might experiment with it a bit and bring it back in later on.
Cheers
Bruce
Logged
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Trying to use BUFFERS