Welcome
Welcome to the Dark Side, Mark!
.comment-link {margin-left:.6em;}
Please use http://oraclesponge.wordpress.com
Well it turns out that thanks to "Homeland Security" your complete driver's license information may be on the Internet ... although the good news is that you can get it taken off. It seemed like such a good idea that I've taken mine off.
Natural selection is a fine thing, but when a person's stupidity and arrogance takes someone else's life we can only hope that there will be some serious repurcussions.
http://www.computerworld.com/securitytopics/security/story/0,10801,110880,00.html
It's that time again, when the wife and I have to fill in forms and wishlists to try and influence our next posting. Last time we got pretty lucky - Colorado Springs wasn't on our list but it turned out pretty well.
It seems that when you update rows within compressed blocks the data is temporarily decompressed then recompressed, possibly causing the table to grow.
SQL> drop table t1
2
Table dropped.
SQL>
SQL> create table t1
2 nocompress
3 pctfree 0
4 as
5 select * from dba_objects
6 /
Table created.
SQL>
SQL> exec dbms_stats.gather_table_stats(user,'T1')
PL/SQL procedure successfully completed.
SQL>
SQL> select blocks,empty_blocks from user_tables
2 where table_name ='T1'
3 /
BLOCKS EMPTY_BLOCKS
---------- ------------
788 0
SQL>
SQL> select min(dbms_rowid.rowid_block_number(rowid)) min_block,
2 max(dbms_rowid.rowid_block_number(rowid)) max_block,
3 count(distinct dbms_rowid.rowid_block_number(rowid)) num_blocks
4 from t1
5 /
MIN_BLOCK MAX_BLOCK NUM_BLOCKS
---------- ---------- ----------
1610346 1611133 788
SQL>
SQL> update t1 set owner = rtrim(owner)
2 /
60120 rows updated.
SQL> commit
2 /
Commit complete.
SQL>
SQL> exec dbms_stats.gather_table_stats(user,'T1')
PL/SQL procedure successfully completed.
SQL>
SQL> select blocks,empty_blocks from user_tables
2 where table_name ='T1'
3 /
BLOCKS EMPTY_BLOCKS
---------- ------------
788 0
SQL> select min(dbms_rowid.rowid_block_number(rowid)) min_block,
2 max(dbms_rowid.rowid_block_number(rowid)) max_block,
3 count(distinct dbms_rowid.rowid_block_number(rowid)) num_blocks
4 from t1
5 /
MIN_BLOCK MAX_BLOCK NUM_BLOCKS
---------- ---------- ----------
1610346 1611133 788
SQL>
SQL> drop table t1
2 /
Table dropped.
SQL>
SQL> create table t1
2 compress
3 pctfree 0
4 as
5 select * from dba_objects
6 /
Table created.
SQL>
SQL> exec dbms_stats.gather_table_stats(user,'T1')
PL/SQL procedure successfully completed.
SQL>
SQL> select blocks,empty_blocks from user_tables
2 where table_name ='T1'
3 /
BLOCKS EMPTY_BLOCKS
---------- ------------
256 0
SQL> select min(dbms_rowid.rowid_block_number(rowid)) min_block,
2 max(dbms_rowid.rowid_block_number(rowid)) max_block,
3 count(distinct dbms_rowid.rowid_block_number(rowid)) num_blocks
4 from t1
5 /
MIN_BLOCK MAX_BLOCK NUM_BLOCKS
---------- ---------- ----------
1611146 1611401 256
SQL>
SQL> update t1 set owner = rtrim(owner)
2 /
60121 rows updated.
SQL> commit
2 /
Commit complete.
SQL>
SQL> exec dbms_stats.gather_table_stats(user,'T1')
PL/SQL procedure successfully completed.
SQL>
SQL> select blocks,empty_blocks from user_tables
2 where table_name ='T1'
3 /
BLOCKS EMPTY_BLOCKS
---------- ------------
1038 0
SQL> select min(dbms_rowid.rowid_block_number(rowid)) min_block,
2 max(dbms_rowid.rowid_block_number(rowid)) max_block,
3 count(distinct dbms_rowid.rowid_block_number(rowid)) num_blocks
4 from t1
5 /
MIN_BLOCK MAX_BLOCK NUM_BLOCKS
---------- ---------- ----------
1611146 1611401 256
SQL> update t1 set owner = lower(owner)
2 /
60121 rows updated.
SQL> commit
2 /
Commit complete.
SQL> exec dbms_stats.gather_table_stats(user,'T1')
PL/SQL procedure successfully completed.
SQL>
SQL> select blocks,empty_blocks from user_tables
2 where table_name ='T1'
3 /
BLOCKS EMPTY_BLOCKS
---------- ------------
1038 0
SQL> select min(dbms_rowid.rowid_block_number(rowid)) min_block,
2 max(dbms_rowid.rowid_block_number(rowid)) max_block,
3 count(distinct dbms_rowid.rowid_block_number(rowid)) num_blocks
4 from t1
5 /
MIN_BLOCK MAX_BLOCK NUM_BLOCKS
---------- ---------- ----------
1611146 1611401 256
I wandered over to Similar Minds to try their Jung personality test.
ISTP - "Engineer". Values freedom of action and following interests and impulses. Independent, concise in speech, master of tools. 5.4% of total population. |
I just finished filling in the thirteen-pages of forms required to transfer Number Three Son to a new day care. Here are some statistics on the number of times the forms required particular information
As a UK ex-patriate and US resident I'm very sensitive to date formats. Moving from the DD/MM/YYY format to the MM/DD/YYYY format was a traumatic experience, and after eight years I still get a nervous twitch when I need to place the month before the day. What kind of a twisted mind thought that up?
I was asked in an email this morning about how to improve materialized view refresh performance, and it's something that appears in Google hits for the blog quite frequently. So I thought I'd write a quick-and-dirty posting to summarise some of the research (and the resulting practical applications) that I've been fiddling with recently.
My dishwasher has two levels in it. The bottom level is for plates and Large Things, the top level is for cups and Small Things, and there is a removable cutlery partition attached to the door.
I notice that the blog just passed it's 80,000 page load since I started using Statcounter to monitor it, and that's just one day short of its first anniversary so it's time for stats.
186 www.google.com
77 tkyte.blogspot.com
23 www.google.co.uk
23 www.bloglines.com
20 oracledoug.blogspot.com
19 www.google.co.in
14 www.google.com.au
10 www.google.ca
9 www.google.fr
8 thinkoracle.blogspot.com
7 blogs.oracle.com
7 orawin.info
6 www.google.de
6 oradot.com
6 www.rittman.net
5 www.google.es
5 www.blogger.com
5 www.petefinnigan.com
4 my5.statcounter.com
4 www.google.be
4 www.google.it
4 search.blogger.com
4 www.newsgator.co.uk
4 www.netvibes.com
3 www.google.com.tr
3 www.google.fi
3 uk.my.yahoo.com
3 www.edpadgett.com
3 ora-dev.blogspot.com
3 search.msn.com
3 www.google.se
2 www.google.com.sg
2 www.google.co.il
2 www.oracle-base.com
2 www.google.ru
2 www.google.ro
2 www.google.ch
2 search.yahoo.com
2 pjs-random.blogspot.com
2 www.google.ie
2 bloglines.com
2 www.google.com.ph
2 www.google.nl
2 oracle-base.com
2 discuss.joelonsoftware.com
2 www.google.com.sg
1 blogsearch.google.com
1 www.dbasupport.com
1 my2.statcounter.com
1 oramossoracle.blogspot.com
1 www.nomad8.com
1 www.google.co.za
1 my.yahoo.com
1 www.google.com.tw
1 www.google.com.hk
1 www.google.pl
1 www.google.co.kr
1 tkyte-test.blogspot.com
1 www.google.is
1 www.google.cl
1 idyller.blogspot.com
1 www.google.com.ar
1 www.google.co.jp
1 peec2006.blogspot.com
1 www.google.com.br
1 www.google.gr
1 portal.umbrialistens.com
1 www.google.co.ve
1 kdsatplay.blogspot.com
1 www.google.dk
1 www.google.com.eg
1 oraqa.com
1 www.google.com.co
1 ambigramania.blogspot.com
1 www.google.pt
1 www.surfwax.com
1 www.google.com.mx
1 www.alltheweb.com
402 41.66% United States
132 13.68% United Kingdom
80 8.29% Canada
60 6.22% Lithuania
39 4.04% Netherlands
37 3.83% India
26 2.69% Australia
20 2.07% Germany
17 1.76% France
15 1.55% Switzerland
13 1.35% Spain
11 1.14% Unknown -
9 0.93% Russian Federation
8 0.83% Belgium
7 0.73% Turkey
7 0.73% Japan
6 0.62% Norway
6 0.62% Denmark
5 0.52% Portugal
4 0.41% United Arab Emirates
4 0.41% Italy
4 0.41% Sweden
4 0.41% Israel
3 0.31% Colombia
3 0.31% Greece
3 0.31% Singapore
2 0.21% Romania
2 0.21% Philippines
2 0.21% Poland
2 0.21% Austria
2 0.21% Ireland
2 0.21% Serbia And Montenegro
2 0.21% Finland
2 0.21% Latvia
2 0.21% Bolivia
2 0.21% Uruguay
2 0.21% Argentina
2 0.21% South Africa
2 0.21% Puerto Rico
1 0.10% Pakistan
1 0.10% Bulgaria
1 0.10% Estonia
1 0.10% Kenya
1 0.10% Chile
1 0.10% Andorra
1 0.10% Ukraine
1 0.10% Iceland
1 0.10% New Zealand
1 0.10% Egypt
1 0.10% Brazil
1 0.10% Slovenia
1 0.10% Korea, Republic Of
1 0.10% Hong Kong
The sorry tale here ... http://discuss.joelonsoftware.com/default.asp?joel.3.328948.11
An article by Jonathan Lewis on constraint problems with materialized views set off a little bell in my head about a metalink document on the subject, Note 284101.1.
Not the musical form, obviously there's nothing wrong with that at all.
I had a pithy thought earlier today.
A number of things.
It didn't used to be this bad, and it seems to be getting worse. AdBlock has been the only reason to keep using it, but that's not enough anymore. I'd actually rather have adverts on the page than put up with the all of Firefox's crap .