[Firebird-devel] [FB-Tracker] Created: (CORE-3514) extentions of GSTAT output in 3.0

2011-06-04 Thread kdv (JIRA)
extentions of GSTAT output in 3.0
-

 Key: CORE-3514
 URL: http://tracker.firebirdsql.org/browse/CORE-3514
 Project: Firebird Core
  Issue Type: New Feature
  Components: GSTAT
Affects Versions: 3.0 Alpha 1, 3.0 Beta 1, 3.0.0
Reporter: kdv


I ask to extend GSTAT output with the information, already provided by 
InterBase XE gstat.

These options are:
for tables:
now
Average record length: 67.06, total records: 31
nice to implement
Average record length: 67.06, total records: 31, max record length: 83

i.e. add maximal record length detected (rounded up integer)

and information about Blobs in tables (don't exist now at all), like this: 

JOB (129)
Primary pointer page: 382, Index root page: 383
Average record length: 67.06, total records: 31, max record length: 83
Average version length: 0.00, total versions: 0, max versions: 0
Data pages: 4, data page slots: 4, average fill: 65%
Fill distribution:
 0 - 19% = 0
20 - 39% = 1
40 - 59% = 0
60 - 79% = 3
80 - 99% = 0

Blob pointer page: 446
Average blob length: 129.95, total blobs: 39, max blob length: 273
Average segment length: 44.81, total segments: 114, max segment length: 85
Blob pages: 7, blob page slots: 7, average fill: 90%
Fill distribution:
 0 - 19% = 0
20 - 39% = 0
40 - 59% = 0
60 - 79% = 1
80 - 99% = 6



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] [FB-Tracker] Created: (CORE-3820) RDB$TYPES contain duplicated character sets

2012-04-17 Thread kdv (JIRA)
RDB$TYPES contain duplicated character sets
---

 Key: CORE-3820
 URL: http://tracker.firebirdsql.org/browse/CORE-3820
 Project: Firebird Core
  Issue Type: Bug
  Components: Charsets/Collation
Affects Versions: 2.5.1
Reporter: kdv
Priority: Minor


table RDB$TYPES have duplicate records for some rdb$character_set_name. 
Duplicates can be found by query

select rdb$field_name, rdb$type_name, count(rdb$type_name) 
from rdb$types
group by rdb$field_name, rdb$type_name
having count(rdb$type_name)  1

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] [FB-Tracker] Created: (CORE-3957) gbak does not have option to turn off no_reserve

2012-10-19 Thread kdv (JIRA)
gbak does not have option to turn off no_reserve


 Key: CORE-3957
 URL: http://tracker.firebirdsql.org/browse/CORE-3957
 Project: Firebird Core
  Issue Type: New Feature
  Components: GBAK
Reporter: kdv
Priority: Minor



Interesting, but gbak have only option -use_all_space for restore, but does not 
have reverse option, to turn database flag no_reserve off.
gfix, instead, have -use full/reserve.
Thus, if I have backup, I can't turn no_reserve off. 
I need to 
- have existing database (or restore it from backup)
- run gfix -use reserve
- gbak -b
- gbak -c

which is a bit long way.

for the name of the option I can suggest -use_reserve, but it will conflict 
with -use_all..., because default part of the option is -use_
But, making it not default, I think, will not break any existing functionality 
or scripts. Can vote for any other name of this option.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] [FB-Tracker] Created: (CORE-4080) Disable ability to create database without path

2013-04-09 Thread kdv (JIRA)
Disable ability to create database without path
---

 Key: CORE-4080
 URL: http://tracker.firebirdsql.org/browse/CORE-4080
 Project: Firebird Core
  Issue Type: Improvement
Affects Versions: 2.5.2, 2.1.5, 2.0.7, 2.5.1, 2.1.4, 2.5.0, 2.0.6, 2.1.3, 
2.1.2, 2.0.5, 2.1.1, 2.1.0
Reporter: kdv


Currently ability to create database without path is near to security breach. 
Because it allows user to create database somewhere (and then user can fill 
it with data and consume free space on the system drive).
Yes, it will be placed into system directory, but user may not find this 
database later. So, the requirement to specify path may save FB from some 
complaints.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] [FB-Tracker] Created: (CORE-4169) A.

2013-08-06 Thread kdv (JIRA)
A.
--

 Key: CORE-4169
 URL: http://tracker.firebirdsql.org/browse/CORE-4169
 Project: Firebird Core
  Issue Type: New Feature
Reporter: kdv




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] [FB-Tracker] Created: (CORE-4170) Allow (add) ability to specify database cache in kb/mb/gb

2013-08-06 Thread kdv (JIRA)
Allow (add) ability to specify database cache in kb/mb/gb
-

 Key: CORE-4170
 URL: http://tracker.firebirdsql.org/browse/CORE-4170
 Project: Firebird Core
  Issue Type: New Feature
  Components: Engine
Affects Versions: 3.0 Alpha 1
Reporter: kdv


I ask in addition to existing DefaultDbCachePages add new 
firebird.conf/database.conf parameter
DefaultDBCacheSize which can be specified in kilobytes, megabytes or gigabytes 
of memory directly.

For example, 
DefaultDBCacheSize = 8m
i.e allocate 8 megabytes of cache for the DB.

Of course, engine can divide this value by page_size and select closest round 
number of pages for cache.

If both DefaultDbCachePages and DefaultDBCacheSize specified, bigger value can 
be taken.

As alternative to gfix -buffers n, I think, need to be added new parameter. 
maybe -cachesize n ?
Also we need new dpb parameter like isc_dpb_num_buffers.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] [FB-Tracker] Created: (CORE-5814) excessive sorting of expressions

2018-05-04 Thread kdv (JIRA)
excessive sorting of expressions


 Key: CORE-5814
 URL: http://tracker.firebirdsql.org/browse/CORE-5814
 Project: Firebird Core
  Issue Type: Bug
  Components: Engine
Affects Versions: 3.0.3, 2.5.7
Reporter: kdv


Grouping and sorting on expression produces additional SORT in plan.
Example.

When we group and sort on non-indexed field

select first_name, max(first_name)
from employee
group by 1
order by 1

we see PLAN SORT (EMPLOYEE NATURAL)
i.e only one sort used for grouping and sorting.
But, if we convert field to expression

select first_name||'', max(first_name)
from employee
group by 1
order by 1

plan will have 2 sorts - for group by and order by
PLAN SORT (SORT (EMPLOYEE NATURAL))

I don't know is this a real bug or engine specific, but maybe it can be fixed.

In addition. If I create computed index
create index bfc on employee computed by (first_name||'')

plan for the last query will be 
PLAN SORT (EMPLOYEE ORDER BFC)

So, index is used by group by, but order by still uses additional sorting.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel