Thanks for the feedback.

> Fragmentation would depend on cache behaviour. Would be worth testing 
> representative load.

I don't know what a representative load could be. Some users may want to delete 
tiles 
by zoom level, others by tiles range or others delete/update single tiles.

> Strictly speaking MBTiles is only web-mercator:> 
> https://github.com/mapbox/mbtiles-spec/blob/master/1.2/spec.md#content-1> ;
> That may not be a big issue, but we should be cautious about how we refer to 
> it.

You are correct.

> Shared store is almost certainly a bad idea.

Yes SQLitle based specifications should not be used with shared stores.

Le jeudi 19 mai 2016 à 20:36 +1000, Brad Hards a écrit :
> > SQLite files cannot be managed as simple files. When connections to an 
> > SQLite
> > database are open we should not delete, move or switch the associated file.
> > Databases files can be filled with "empty space" after deleting an huge 
> > amount
> > of data or can become fragmented after frequent inserts, updates or delete
> > operations.
> Fragmentation would depend on cache behaviour. Would be worth testing 
> representative load.
>  
> > To remove the fragmented space (or the empty space), the VACUUM command
> > needs to be executed. Although, performing a VACUUM command as a few
> > drawbacks:
> > 
> >     - During a VACUUM twice the size of the original database file is 
> > required in
> > disk.
> >     - During the VACUUM operation no access to the database is allowed.
> >     - The VACUUM operation copies the whole database which can take minutes.
> There is also auto_vacuum, which works quite differently but may be useful:
> https://www.sqlite.org/pragma.html#pragma_auto_vacuum
> 
> Without that, or VACUUM, the cache will probably continue to grow.
> 
> > MBTiles force us to have at least a file per layer and format. If we want to
> > support more CRSs we will also need a file for each CRSs. By configuration 
> > it
> > will be possible to configure the granularity  of the database files. By 
> > default
> > we will have a granularity per layer, crs, format and zoom level.
> Strictly speaking MBTiles is only web-mercator:
> https://github.com/mapbox/mbtiles-spec/blob/master/1.2/spec.md#content-1
> 
> That may not be a big issue, but we should be cautious about how we refer to 
> it.
> 
> > SQLite allow multiple readers but only allow one writer at the time which 
> > will
> > block the entire database. At most only one connection should be open to 
> > each
> > SQLite database, the total number of open connections is limited by the
> > number of open files allowed by the OS (in linux this is controlled by the
> > ulimit). A connection pool that will control the number of open connections
> > and that will be responsible to manage the connections will be implemented.
> Shared store is almost certainly a bad idea.
> 
> Brad
> 
-- 
==
GeoServer Professional Services from the experts! 
Visit http://goo.gl/it488V for more information.
==
Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:   +39 0584 1660272
mob:   +39  333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i sono
da considerarsi strettamente riservate. Il loro utilizzo è consentito 
esclusivamente al destinatario del messaggio, per le finalità indicate
nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il 
destinatario, Vi preghiamo cortesemente di darcene notizia via e
-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal 
Vostro sistema. Conservare il messaggio stesso, divulgarlo
anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per 
finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.
 
The information in this message and/or attachments, is intended solely for the 
attention and use of
the named addressee(s) and may be confidential or proprietary in nature or 
covered by the provisions of privacy act (Legislative Decree
June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord 
with its purpose, any disclosure, reproduction, copying,
distribution, or either dissemination, either whole or partial, is strictly 
forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact immediately 
the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender does 
not give any warranty or accept liability as the content,
accuracy or completeness of sent messages and accepts no responsibility  for 
changes made after they were sent or for other risks which
arise as a result of e-mail transmission, viruses, etc.


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to