dbTalk Databases Forums  

Database grow up more on Linux than Windows

sybase.public.sqlanywhere.general sybase.public.sqlanywhere.general


Discuss Database grow up more on Linux than Windows in the sybase.public.sqlanywhere.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Renato Cramer
 
Posts: n/a

Default Database grow up more on Linux than Windows - 04-25-2006 , 01:50 PM






Hello,

I use SQL Anywhere 5.5.04 on Windows and SQL Anywhere 7.0.2
on Linux.
I exclude many rows of a table and the database grow up.
OK, caused by rollback and checkpoint logs.

But, the database grow up more on Linux than Windows.

Obviously my tests starts with the same database.

Why this different behavior between Linux and Windows?

Thanks in advance,
Renato Cramer.

Reply With Quote
  #2  
Old   
Glenn Paulley
 
Posts: n/a

Default Re: Database grow up more on Linux than Windows - 04-25-2006 , 09:57 PM






For a start, the database file format is different between the two
releases, so that may account for some of the difference. Is the database
page size identical between the two databases?

What *is* the difference, anyway?

Glenn

Renato Cramer wrote in news:444e6f87.d0b.1681692777 (AT) sybase (DOT) com:

Quote:
Hello,

I use SQL Anywhere 5.5.04 on Windows and SQL Anywhere 7.0.2
on Linux.
I exclude many rows of a table and the database grow up.
OK, caused by rollback and checkpoint logs.

But, the database grow up more on Linux than Windows.

Obviously my tests starts with the same database.

Why this different behavior between Linux and Windows?

Thanks in advance,
Renato Cramer.



--
Glenn Paulley
Research and Development Manager, Query Processing
iAnywhere Solutions Engineering

EBF's and Patches: http://downloads.sybase.com
choose SQL Anywhere Studio >> change 'time frame' to all

To Submit Bug Reports: http://casexpress.sybase.com/cx/cx.stm

SQL Anywhere Studio Supported Platforms and Support Status
http://my.sybase.com/detail?id=1002288


Reply With Quote
  #3  
Old   
Renato Cramer
 
Posts: n/a

Default Re: Database grow up more on Linux than Windows - 04-26-2006 , 10:34 AM



Yes, the database page size is identical because is the same
database (files .db and .log) to both tests. In others
words, I have a database, I get this database, put on linux
and make the test. After, I get the same database, put on
Windows and make exactly the same test. This database was
created with SQL Anywhere 5.5.

The database has 200 MB. After the test on Linux, 250 MB.
After the test on Windows, 220 MB.
Why?

Thanks in advance.
Renato Cramer.

Quote:
For a start, the database file format is different between
the two releases, so that may account for some of the
difference. Is the database page size identical between
the two databases?

What *is* the difference, anyway?

Glenn

Renato Cramer wrote in
news:444e6f87.d0b.1681692777 (AT) sybase (DOT) com:

Hello,

I use SQL Anywhere 5.5.04 on Windows and SQL Anywhere
7.0.2 on Linux.
I exclude many rows of a table and the database grow up.
OK, caused by rollback and checkpoint logs.

But, the database grow up more on Linux than Windows.

Obviously my tests starts with the same database.

Why this different behavior between Linux and Windows?

Thanks in advance,
Renato Cramer.

Reply With Quote
  #4  
Old   
Kerry Liles
 
Posts: n/a

Default Re: Database grow up more on Linux than Windows - 04-26-2006 , 10:40 AM



What sort of file system are you using on the two platforms?
Perhaps the differing characteristics of the underlying file system might
explain the delta in the space consumed.

Kerry Liles
iAnywhere



<Renato Cramer> wrote

Quote:
Yes, the database page size is identical because is the same
database (files .db and .log) to both tests. In others
words, I have a database, I get this database, put on linux
and make the test. After, I get the same database, put on
Windows and make exactly the same test. This database was
created with SQL Anywhere 5.5.

The database has 200 MB. After the test on Linux, 250 MB.
After the test on Windows, 220 MB.
Why?

Thanks in advance.
Renato Cramer.

For a start, the database file format is different between
the two releases, so that may account for some of the
difference. Is the database page size identical between
the two databases?

What *is* the difference, anyway?

Glenn

Renato Cramer wrote in
news:444e6f87.d0b.1681692777 (AT) sybase (DOT) com:

Hello,

I use SQL Anywhere 5.5.04 on Windows and SQL Anywhere
7.0.2 on Linux.
I exclude many rows of a table and the database grow up.
OK, caused by rollback and checkpoint logs.

But, the database grow up more on Linux than Windows.

Obviously my tests starts with the same database.

Why this different behavior between Linux and Windows?

Thanks in advance,
Renato Cramer.



Reply With Quote
  #5  
Old   
Reg Domaratzki \(iAnywhere Solutions\)
 
Posts: n/a

Default Re: Database grow up more on Linux than Windows - 04-26-2006 , 11:40 AM



Version 5.5 is different that version 7.0, so we still don't know whether
the change in size is the result of the different OS (which I doubt) or the
different software (which is much more likely). Is it possible for you to
perform the following test :

1) Install ASA v702 on Windows.
2) Start with your v5.5 database that is 200 MB in size.
3) Run your test on Linux using ASA v702.
4) Run your test on Windows using ASA v702.
5) Compare the size of the files database files after each test.

Aside : Both v702 and v55 have been end-of-lifed for some time now
(http://www.ianywhere.com/developer/eol/index.html). We're not going to be
making any changes to either branch regardless of what the results of this
test are. A better test to see if the OS is really the cause of the
increased growth would be :

1) Download and install the v902 Developer Editions for both Windows and
Linux (http://www.ianywhere.com/downloads/index.html)
2) Start with your v5.5 database that is 200 MB in size.
3) Do an unload and reload of the database to bring the database to the v902
file format.
4) Run your test on Linux using ASA v902.
5) Run your test on Windows using ASA v902.
6) Compare the size of the files database files after each test.

If you see a significant difference after this second test, then it's
something we'd like to look at.

--
Reg Domaratzki, Sybase iAnywhere Solutions
Sybase Certified Professional - Sybase ASA Developer Version 8
Please reply only to the newsgroup

iAnywhere Developer Community : http://www.ianywhere.com/developer
iAnywhere Documentation : http://www.ianywhere.com/developer/product_manuals
ASA Patches and EBFs : http://downloads.sybase.com/swd/base.do
-> Choose SQL Anywhere Studio
-> Set filter to "Display ALL platforms IN ALL MONTHS"


<Renato Cramer> wrote

Quote:
Yes, the database page size is identical because is the same
database (files .db and .log) to both tests. In others
words, I have a database, I get this database, put on linux
and make the test. After, I get the same database, put on
Windows and make exactly the same test. This database was
created with SQL Anywhere 5.5.

The database has 200 MB. After the test on Linux, 250 MB.
After the test on Windows, 220 MB.
Why?

Thanks in advance.
Renato Cramer.

For a start, the database file format is different between
the two releases, so that may account for some of the
difference. Is the database page size identical between
the two databases?

What *is* the difference, anyway?

Glenn

Renato Cramer wrote in
news:444e6f87.d0b.1681692777 (AT) sybase (DOT) com:

Hello,

I use SQL Anywhere 5.5.04 on Windows and SQL Anywhere
7.0.2 on Linux.
I exclude many rows of a table and the database grow up.
OK, caused by rollback and checkpoint logs.

But, the database grow up more on Linux than Windows.

Obviously my tests starts with the same database.

Why this different behavior between Linux and Windows?

Thanks in advance,
Renato Cramer.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.