Re: [sqlite] SQLite with NAS storage

2009-01-07 Thread Edward J. Yoon
>>> Each NAS_000 ~ N storages have approximately 300,000 >>> files, the average size of file is few MB (not over GB). >>> The broker servers (with SQLite library) are on the >>> NAS > > It's not clear how many broker servers there are. > One per NAS? 80 ~ 100 servers. and generally one per nas, bu

Re: [sqlite] SQLite with NAS storage

2009-01-07 Thread Kees Nuyt
On Wed, 7 Jan 2009 11:14:11 +0900, "Edward J. Yoon" wrote in General Discussion of SQLite Database : > Thanks for your reply. > >> That's a lot of files. Or did you mean rows? >> Are you sure? There can be many other reasons. > > There is a lot of files. So, I don't know exactly > why at this ti

Re: [sqlite] SQLite with NAS storage

2009-01-07 Thread Kees Nuyt
On Wed, 7 Jan 2009 10:17:06 -0800, "Jim Dodgen" wrote in General Discussion of SQLite Database : > I'm a little worried about how long it takes to open one > of 20,000,000 files in a directory on the NAS? I agree. It would require a very cleverly contructed directory tree, and very short (sub)

Re: [sqlite] SQLite with NAS storage

2009-01-07 Thread Carl Lindgren
Edward J. Yoon wrote: >> Is access to *one* of the 20 million different SQLite files getting >> progressively slower? How big is that specific SQLite file? Is that >> the one that is "huge"? I use SQLite over an NAS (at times), and never >> experience any noticeable slowdown. Is access to his NAS

Re: [sqlite] SQLite with NAS storage

2009-01-07 Thread Jim Dodgen
I'm a little worried about how long it takes to open one of 20,000,000 files in a directory on the NAS? On Wed, Jan 7, 2009 at 6:36 AM, Edward J. Yoon wrote: > > Is access to *one* of the 20 million different SQLite files getting > > progressively slower? How big is that specific SQLite file? Is

Re: [sqlite] SQLite with NAS storage

2009-01-07 Thread Edward J. Yoon
> Is access to *one* of the 20 million different SQLite files getting > progressively slower? How big is that specific SQLite file? Is that > the one that is "huge"? I use SQLite over an NAS (at times), and never > experience any noticeable slowdown. Is access to his NAS itself slow, > perhaps not

Re: [sqlite] SQLite with NAS storage

2009-01-07 Thread P Kishor
On 1/7/09, Thomas Briggs wrote: >I actually thought the original question was perfectly clear. I > thought the proposed solution (included in the original post) was > perfectly logical too. So what's all the fuss? The confusion, at least for me, arose from the following sentence in the OP

Re: [sqlite] SQLite with NAS storage

2009-01-07 Thread Thomas Briggs
I actually thought the original question was perfectly clear. I thought the proposed solution (included in the original post) was perfectly logical too. So what's all the fuss? On Wed, Jan 7, 2009 at 7:28 AM, P Kishor wrote: > On 1/6/09, Edward J. Yoon wrote: >> Thanks, >> >> In more detai

Re: [sqlite] SQLite with NAS storage

2009-01-07 Thread P Kishor
On 1/6/09, Edward J. Yoon wrote: > Thanks, > > In more detail, SQLite used for user-based applications (20 million is > the size of app-users). and MySQL used for user location (file path on > NAS) addressing. Edward, At least I still don't understand why you have 20 million databases. My sus

Re: [sqlite] SQLite with NAS storage

2009-01-06 Thread Edward J. Yoon
Thanks, In more detail, SQLite used for user-based applications (20 million is the size of app-users). and MySQL used for user location (file path on NAS) addressing. On Wed, Jan 7, 2009 at 1:31 PM, P Kishor wrote: > On 1/6/09, Edward J. Yoon wrote: >> > Do you have 20 million sqlite databases?

Re: [sqlite] SQLite with NAS storage

2009-01-06 Thread P Kishor
On 1/6/09, Edward J. Yoon wrote: > > Do you have 20 million sqlite databases? > > > Yes. Since all these databases are just files, you should stuff them into a Postgres database, then write an application that extracts the specific row from the pg database with 20 mil rows giving you your specifi

Re: [sqlite] SQLite with NAS storage

2009-01-06 Thread Edward J. Yoon
> Do you have 20 million sqlite databases? Yes. On Wed, Jan 7, 2009 at 12:36 PM, Jim Dodgen wrote: > I think the question was about the structure of your data > > a sqlite database is a file and can contain many tables. tables can contain > many rows. > > Do you have 20 million sqlite databases?

Re: [sqlite] SQLite with NAS storage

2009-01-06 Thread Jim Dodgen
I think the question was about the structure of your data a sqlite database is a file and can contain many tables. tables can contain many rows. Do you have 20 million sqlite databases? This information can help people formulate an answer. On Tue, Jan 6, 2009 at 6:14 PM, Edward J. Yoon wrote:

Re: [sqlite] SQLite with NAS storage

2009-01-06 Thread Edward J. Yoon
Thanks for your reply. > That's a lot of files. Or did you mean rows? > Are you sure? There can be many other reasons. There is a lot of files. So, I don't know exactly why at this time, But thought network latency can“t be denied. /Edward On Wed, Jan 7, 2009 at 4:07 AM, Kees Nuyt wrote: > On

Re: [sqlite] SQLite with NAS storage

2009-01-06 Thread Kees Nuyt
On Tue, 6 Jan 2009 11:23:29 +0900, "Edward J. Yoon" wrote in General Discussion of SQLite Database : > Hi, I'm newbie in here. > > I'm using SQLite, all data (very huge and 20 million files) That's a lot of files. Or did you mean rows? > stored on NAS storage. Lately my system has been getting

Re: [sqlite] SQLite with NAS storage

2009-01-05 Thread Edward J. Yoon
Again, We have a lot of read/write operation. So, I guess the network latency is problem and think about lock management system. On Tue, Jan 6, 2009 at 11:23 AM, Edward J. Yoon wrote: > Hi, I'm newbie in here. > > I'm using SQLite, all data (very huge and 20 million files) stored on > NAS storag