sorry for mistyped, not
threat different by two kind of triggers
only
treated different by two kind of triggers
and not
warry about trigger
only
worry about trigger
my English is really bad..
regards,
Karol Bieniaszewski
W dniu 2016-08-19 06:25:26 użytkownik liviuslivius
napisał:
.@Dm
GBAK ERROR:Malformed string (different Linux distribution and bitness)
--
Key: CORE-5334
URL: http://tracker.firebirdsql.org/browse/CORE-5334
Project: Firebird Core
Issue Ty
.@Dmitry.
look at this like extension to feature. DBA set some timeout settings but
developer can write those kind of trigger and take decision kill or cancell
kill.
@Vlad
maybe inside trigger you can run command like:CANCEL_KILLREPEAT_AFTER time this
is only proposition implementation det
18.08.2016 20:12, Dimitry Sibiryakov wrote:
>
> May be there are simpler and safer solutions for these problems?
I doubt that.
> How about
How about an optimizer mistake (yes, this is possible even in MSSQL and
Oracle) that causes a bad access path being chosen?
Don't substitute one issue with
18.08.2016 18:59, Dmitry Yemanov wrote:
> Prevent production server from being unexpectedly overloaded *before*
> DBA can analyse such cases and take actions to avoid them. Typical cases:
>
> - possibly heavy ad-hoc queries parallel to fast well-tuned ones
> - unlucky database/application upgrade (
18.08.2016 19:01, Dimitry Sibiryakov wrote:
>
> Ok but then what is a _real_ problem that subj is supposed to _solve_?
Prevent production server from being unexpectedly overloaded *before*
DBA can analyse such cases and take actions to avoid them. Typical cases:
- possibly heavy ad-hoc queries p
18.08.2016 18:59, Adriano dos Santos Fernandes wrote:
> On 18/08/2016 11:55, Vlad Khorsun wrote:
>>Global timeout is a last line of defense for DBA against bad apps, wrong
>> queries,
>> developer mistakes, unlucky days (dropped some indices last week but now
>> some queries
>> got crazy) and
18.08.2016 17:54, Dmitry Yemanov wrote:
> Logging slow queries is a completely different topic and it's already
> covered by trace/audit.
Ok but then what is a _real_ problem that subj is supposed to _solve_?
PS: Was query cancellation stress-tested enough to be considered safe and
robust?
-
On 18/08/2016 11:55, Vlad Khorsun wrote:
>Global timeout is a last line of defense for DBA against bad apps, wrong
> queries,
> developer mistakes, unlucky days (dropped some indices last week but now some
> queries
> got crazy) and so on. It is *last* line, therefore it should be used with
18.08.2016 18:51, Dimitry Sibiryakov wrote:
>
>On the other hand it provides DBA a choice, not kill the query
> unconditionally.
>You are not going to make an option "log, but do not kill", are you?..
Logging slow queries is a completely different topic and it's already
covered by trace/
18.08.2016 17:26, Vlad Khorsun wrote:
>>What can be an advantage of this feature over cron-ed script chat check
>> monitoring
>> > tables and send DBA mail with list of bad queries?
> - no need to create such script
> - no need to create such script for every database
> - no need to check mail
18.08.2016 13:04, liviuslivius wrote:
>
> I suppose better feature will be "timeout messaging" - something like
> TRIGGER ON STATEMENT_TIMEOUT
> TRIGGER ON TRANSACTION_TIMEOUT
Triggers are for developers. Asking DBAs to create special triggers is a
bad idea.
Dmitry
---
On 08/18/2016 06:26 PM, Vlad Khorsun wrote:
> 18.08.2016 18:08, Dimitry Sibiryakov wrote:
>> 18.08.2016 16:55, Vlad Khorsun wrote:
>>> Global timeout is a last line of defense for DBA against bad apps,
>>> wrong queries,
>>> developer mistakes, unlucky days (dropped some indices last week but
18.08.2016 18:08, Dimitry Sibiryakov wrote:
> 18.08.2016 16:55, Vlad Khorsun wrote:
>>Global timeout is a last line of defense for DBA against bad apps, wrong
>> queries,
>> developer mistakes, unlucky days (dropped some indices last week but now
>> some queries
>> got crazy) and so on. It is
18.08.2016 13:04, liviuslivius wrote:
> If i can start general discussion..
>
> do you really use such feature in real systems?
> I saw this in MSSQL environment and what was advice of DBA when someone reach
> timeout?
> Increase timeout settings...
IIRC, default query timeout in MSSQL is 30 s
18.08.2016 16:55, Vlad Khorsun wrote:
>Global timeout is a last line of defense for DBA against bad apps, wrong
> queries,
> developer mistakes, unlucky days (dropped some indices last week but now some
> queries
> got crazy) and so on. It is *last* line, therefore it should be used with
> m
Dimitry Sibiryakov wrote Thu, 18 Aug 2016 16:41:23
+0300:
> 18.08.2016 15:33, Vlad Khorsun wrote:
>>Do you intentionally mixed timeouts set by DBA and by app developer
>> or you really not
>> understand what is for what ?
>
>Yes, I don't understand.
>
>>Global timeout set by DBA u
18.08.2016 16:41, Dimitry Sibiryakov пишет:
> 18.08.2016 15:33, Vlad Khorsun wrote:
>>Do you intentionally mixed timeouts set by DBA and by app developer or
>> you really not
>> understand what is for what ?
>
>Yes, I don't understand.
>
>>Global timeout set by DBA usually measured in
Hi,
that's very neat idea. +1
best regards
Pavel Cisar
IBPhoenix
Dne 18.8.2016 v 12:04 liviuslivius napsal(a):
> If i can start general discussion..
>
> do you really use such feature in real systems?
> I saw this in MSSQL environment and what was advice of DBA when someone reach
> timeout?
> I
18.08.2016 15:33, Vlad Khorsun wrote:
>Do you intentionally mixed timeouts set by DBA and by app developer or you
> really not
> understand what is for what ?
Yes, I don't understand.
>Global timeout set by DBA usually measured in tens of minutes or in hours.
Could you provide an
18.08.2016 10:14, Dimitry Sibiryakov wrote:
> 18.08.2016 8:47, Vlad Khorsun wrote:
>>What about 2500 ms ? :)
>> If user fetch one record per hour - yes,
>
>2500 ms is much less that an hour, you know...
Do you intentionally mixed timeouts set by DBA and by app developer or you
real
This is a GREAT idea! +1
And you might define the timeout in the CREATE/ALTER command (no need
for config).
On 2016.08.18. 12:04, liviuslivius wrote:
> Kiling statement or transaction is not good as a general solution
> It must be customized for situations.
>
> I suppose better feature will be "
If i can start general discussion..
do you really use such feature in real systems?
I saw this in MSSQL environment and what was advice of DBA when someone reach
timeout?
Increase timeout settings...
Kiling statement or transaction is not good as a general solution
It must be customized for sit
Mismatch in null flag
-
Key: CORE-5333
URL: http://tracker.firebirdsql.org/browse/CORE-5333
Project: Firebird Core
Issue Type: Bug
Components: Engine
Affects Versions: 3.0.0
Environment: windows
> > Query timeout is good for queries that consume CPU resources and not
> > finished in limited time.
>
>CPU is important but not the only resource.
Yes, i know - time cost to take action as a whole like cpu + I/O + sync should
cause timeout -
statement as a whole
>
> > But queries that
W dniu 2016-08-18 10:01:17 użytkownik Molnár Attila napisał:
> Hi!
>
> I think timeout should depend on these independent factors :
> - transaction parameters : RORC = false else true
why do you need to take different action for readonly transaction?
If statement consume to much resources durin
18.08.2016 10:37, liviuslivius wrote:
>
>
> W dniu 2016-08-18 09:26:22 użytkownik Vlad Khorsun
> napisał:
>> 18.08.2016 10:08, liviuslivius пишет:
>>> Hi Vlad,
>>>
> I.e interactive Delphi application that fetch only really shown records
> will get error
> when user press "Down" key,
Hi!
I think timeout should depend on these independent factors :
- transaction parameters : RORC = false else true
- first fetch : not possible at the timeout moment = true else false
- average fetch time (start to measure after the first fetch) : very
high (config) = true else fales
and optiona
W dniu 2016-08-18 09:26:22 użytkownik Vlad Khorsun
napisał:
> 18.08.2016 10:08, liviuslivius пишет:
> > Hi Vlad,
> >
> >>> I.e interactive Delphi application that fetch only really shown records
> >>> will get error
> >>> when user press "Down" key,
> >>
> >> If user fetch one record per h
18.08.2016 10:08, liviuslivius пишет:
> Hi Vlad,
>
>>> I.e interactive Delphi application that fetch only really shown records
>>> will get error
>>> when user press "Down" key,
>>
>> If user fetch one record per hour - yes, such application should be
>> better rewritten
>
> Is this query in
libfbclient.so ANDROID ARM64
Key: CORE-5332
URL: http://tracker.firebirdsql.org/browse/CORE-5332
Project: Firebird Core
Issue Type: New Feature
Components: API / Client Library
Reporter: hor
18.08.2016 8:47, Vlad Khorsun wrote:
>What about 2500 ms ? :)
> If user fetch one record per hour - yes,
2500 ms is much less that an hour, you know...
> such application should be better rewritten
It will require to implement background fetch. Much out of skills for most
Delphi
Hi Vlad,
>> I.e interactive Delphi application that fetch only really shown records will
>> get error
> > when user press "Down" key,
>
> If user fetch one record per hour - yes, such application should be
> better rewritten
Is this query in different state that can be distinguished from "
33 matches
Mail list logo