Indexes On Small Tables Part III (Another Brick In The Wall Part III) April 29, 2009
Posted by Richard Foote in Non-Unique Indexes, Oracle Indexes, Small Indexes.14 comments
So far, in Part I and Part II of this little series, we’ve looked at how Oracle performs a Full Table Scan (FTS) when accessing a small table. With very small tables, Oracle needs to still access the table segment header and perform a number of fetch operations, even if the table is as small as you can get with all the rows in the table residing in one table block and even if we’re only interested in accessing the one row. In the little example we went through, Oracle still needs to access 2 distinct table blocks and perform 4 consistent get operations to read this one row of interest.
OK, let’s now finally introduce an index into the discussion. To begin with, we’ll just create a standard, Non-Unique index on the ID column.
SQL> create index small_id_i on small(id);
Index created.
Now surely, there would be no real benefit in creating such an index on such a tiny table. This would be a separate index segment from the existing table segment so that if Oracle were to ever use the index to retrieve rows, it would need to visit both the index and table segments.
How can that possibly be more efficient than reading directly from the only table block in the table segment that contains rows ?
Well, let’s see what happens:
SQL> select * from small where id = 42;
ID NAME ---------- ----- 42 BOWIE -------------------------------------------- |Id|Operation |Name | -------------------------------------------- | 0|SELECT STATEMENT | | | 1| TABLE ACCESS BY INDEX ROWID|SMALL | |*2| INDEX RANGE SCAN |SMALL_ID_I| -------------------------------------------- Statistics ------------------------------------------- 0 recursive calls 0 db block gets 3 consistent gets 0 physical reads 0 redo size 465 bytes sent via SQL*Net to client 396 bytes received via SQL*Net from client 2 SQL*Net roundtrips to/from client 0 sorts (memory) 0 sorts (disk) 1 rows processed
Well, we notice 2 very interesting points.
Firstly, the CBO does indeed decide to use the index, even though the table is so tiny.
Secondly, we notice that the actual number of consistent gets has actually reduced from 4 with the FTS down to just 3. The index scan does indeed require less consistent gets than the equivalent FTS.
If we look at the consistent get stats via another session before and after the SELECT staement as we did in Part I, we can again confirm only 3 consistent gets were necessary:
SQL> SELECT n.name, s.value FROM v$sesstat s, v$statname n
WHERE s.statistic# =n.statistic# AND s.sid = 134 AND n.name LIKE ‘consistent%’;
NAME VALUE ----------------------------- ------- consistent gets 110 consistent gets - examination 25
And again after the SELECT on the small table:
SQL> SELECT n.name, s.value FROM v$sesstat s, v$statname n
WHERE s.statistic# =n.statistic# AND s.sid = 134 AND n.name LIKE ‘consistent%’;
NAME VALUE ----------------------------- ------- consistent gets 113 (+3) consistent gets - examination 25
The consistent gets indeed increased by 3 rather than 4 but again as in the FTS example, none of these consistent gets were the cheaper “consistent gets – examination” (to be discussed later).
But why did the index scan only require 3 consistent gets ? Again, by flushing the buffer cache and tracing the session, we get the necessary information to answer the question:
SQL> alter system flush buffer_cache;
System altered.
SQL> exec dbms_monitor.session_trace_enable(waits=> true);
PL/SQL procedure successfully completed.
SQL> select * from small where id = 42;
ID NAME ---------- ----- 42 BOWIE
SQL> exec dbms_monitor.session_trace_disable();
PL/SQL procedure successfully completed.
If we now look at an example trace file:
=====================
PARSING IN CURSOR #2 len=33 dep=0 uid=88 oct=3 lid=88 tim=24452815463 hv=2225904586 ad=’23bdd320′ sqlid=’7pjs08q2at6ya’
select * from small where id = 42
END OF STMT
PARSE #2:c=0,e=7613,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=1,tim=24452815457
EXEC #2:c=0,e=42,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,tim=24452815593
WAIT #2: nam=’SQL*Net message to client’ ela= 5 driver id=1111838976 #bytes=1 p3=0 obj#=12446 tim=24452815631
WAIT #2: nam=’db file sequential read’ ela= 17035 file#=7 block#=118026 blocks=1 obj#=99587 tim=24452832933
WAIT #2: nam=’db file sequential read’ ela= 5592 file#=7 block#=117898 blocks=1 obj#=99586 tim=24452838643
FETCH #2:c=0,e=23057,p=2,cr=2,cu=0,mis=0,r=1,dep=0,og=1,tim=24452838728
WAIT #2: nam=’SQL*Net message from client’ ela= 394 driver id=1111838976 #bytes=1 p3=0 obj#=99586 tim=24452839197
FETCH #2:c=0,e=22,p=0,cr=1,cu=0,mis=0,r=0,dep=0,og=1,tim=24452839275
STAT #2 id=1 cnt=1 pid=0 pos=1 obj=99586 op=’TABLE ACCESS BY INDEX ROWID SMALL (cr=3 pr=2 pw=2 time=0 us cost=2 size=9 card=1)’
STAT #2 id=2 cnt=1 pid=1 pos=1 obj=99587 op=’INDEX RANGE SCAN SMALL_ID_I (cr=2 pr=1 pw=1 time=0 us cost=1 size=0 card=1)’
WAIT #2: nam=’SQL*Net message to client’ ela= 3 driver id=1111838976 #bytes=1 p3=0 obj#=99586 tim=24452839399
The critical part here is the first “db file sequential read” wait event. By looking at the obj#=99587, we can determine this refers to the SMALL_ID_I index segment. By looking at the associated file#=7 block#=118026, a block dump reveals this to be the index leaf block containing the index row entries. Notice how we do not actually access the index segment header at all prior to accessing the leaf block of the index.
The following “db file sequential read” wait event on obj#=99586 corresponds to the table segment and file#=7 blockblock#=117898 corresponds to the table block containing the rows. So the first FETCH uses 2 consistent reads (cr=2) to return the first (and in this case only) row of interest (r=1) by first reading the index leaf block and then reading the table data block containing the row of interest.
Oracle then performs another FETCH to read the leaf block again to determine whether there are any other rows of interest (cr=1) of which there are none (r=0).
There is no PK or Unique constraint on the ID column in table and the index is Non-Unique so there is no possible way for Oracle to know there is indeed only one row of interest hence why Oracle needs to again visit the leaf block just in case there are multiple rows that have an ID = 42.
So that’s our 3 consistent gets, 1 to read the leaf block, 1 to read the table block and 1 to again read the index block again due to a SQL*PLUS quirk to perform a secondary fetch operation for non-unique scans as the first fetch only checks and fetches for one row.
Now in our specific example, that’s a saving of 1 consistent get and effectively 2 latch gets by using the Non-Unique index vs. performing the FTS on this effectively 1 block table. The savings would of course be more substantial if the small table had more than just the one data block containing rows.
Now you might well say, is it really worth the effort, what’s 1 consistent get in the grand scheme of things. Well, that’s 1 consistent get each and every time such a query needs to access this specific table. And this is just one table, you may have many such lookup tables in your databases. In heavily used applications, such lookup tables can potentially be accessed many millions of times per hour. Now all this can add up to potentially many millions of reduced consistent gets, many millions of reduced latch requests, which all in turn can add up to considerable CPU savings as well as the significantly reduced contention issues, increasing the general scalability of your applications.
And as we’ll see, we can actually do a lot better than saving just 1 consistent get by using an index to access such small tables …
However, the key question at this point is why doesn’t Oracle have to visit the index segment header as it does with the table segment during a FTS and how does Oracle know where to find the index block it needs ?
That will be answered in the next instalment coming soon …
AUSOUG 3 ACEs Database Education Day – Perth 11th May 2009 April 28, 2009
Posted by Richard Foote in Richard Presentations, Richard's Musings.2 comments
Just a short note to say I’ll be presenting a 3 hour morning session on all things Oracle indexes at the 3 ACEs Database Education Day in Perth, Australia on 11th May 2009, presented by the Australian Oracle User Group.
Also presenting will be the rather clever Conner McDonald on an “Introduction To RAC” and the also equally rather clever Penny Cookson on “Bind Peeking – The Endless Tuning Nightmare”, so it should be a great day.
And the best news of all is that the event is free for all AUSOUG members with lunch provided. So for those of you lucky enough to get to Perth, follow the link above to book early and guarantee a place.
Also just want to quickly mention that I had the great pleasure of attending Tanel Poder’s “Advanced Oracle Troubleshooting Seminar” in Melbourne last week.
It’s a great seminar that I highly recommend. Although it certainly covers some “advanced” topics, I would actually recommend the seminar to not just experienced DBAs as advertised, but really any DBA who is serious about diagnosing and troubleshooting database related problems. Because by far the most important message from the seminar is that rather than guessing and hoping a database problem might be this or that, rather that hoping increasing or changing this or that parameter might help, rather than crossing your fingers and praying that moving all indexes into a larger blocksize might improves things as it appeared to when you tried it once before, why not actually use database and O/S instrumentation to systematically, accurately and reliably determine exactly what the issue really is and so immediately go about applying a solution that will actually address the real problem. The earlier a DBA learns this basic principle rather than relying on outdated and ultimately inefficient and ineffective “hit and miss” checklists, the earlier one will ultimately become an efficient and effective DBA.
Why guess when you can know …
And Tanel’s seminar provides some great advice, suggestions and the odd script or two (actually many) to go about systematically determining what really is wrong with your database and why it’s causing performance issues (be it globally or to a specific user or group of users). Like I said, a highly recommended seminar and it was great to see I’m not the only one who struggles to get through everything in a seminar in the two days !!
Indexes On Small Tables Part II (The Mysteries) April 24, 2009
Posted by Richard Foote in Oracle Indexes, Small Indexes.14 comments
I’m a bit pushed for time at the moment but I thought I might quickly just expand a little on the observations in Part I of this no doubt soon to be epic series (there’s at least another 3 parts to come) !!
In Part I we saw how even with a tiny table that consists of just one block containing 100 rows of application data, Oracle requires 4 consistent get operations to retrieve just the one row via a Full Table Scan (FTS). This surprises some folks as they expect Oracle to perhaps only need the 1 or maybe 2 consistent gets to access this one block containing application related row data.
If we were to flush the buffer cache before running the SELECT statement and trace the associated session, the resultant trace file shows how Oracle needs to first visit the Segment Header of the table before it can read the actual table block containing the row of interest. Oracle needs to read the table segment header in order to determine what blocks need to be accessed to begin the FTS operation. In this specific case, there’s only the one data block but Oracle also has to check to ensure there indeed are no more blocks it needs to visit. Oracle also has to perform another fetch operation to confirm there are indeed no more rows it needs to return after it fetches the first (and in this case only) row.
The following should help to show what’s going on during the FTS of our little 100 row table where all 100 rows nicely resides in the one data block.
We first flush the buffer cache in order to force Oracle to perform physical I/Os (note the following example was run on 11.1.0.6).
SQL> alter system flush buffer_cache;
System altered.
Next, we trace our session …
SQL> exec dbms_monitor.session_trace_enable(waits=> true);
PL/SQL procedure successfully completed.
Before running the SELECT statement that returns our one row of interest …
SQL> select * from small where id = 42;
ID NAME
---------- -----
42 BOWIE
SQL> exec dbms_monitor.session_trace_disable();
If we look at an example trace file:
=====================
PARSING IN CURSOR #19 len=33 dep=0 uid=88 oct=3 lid=88 tim=24079367090 hv=2225904586 ad=’23bdd320′ sqlid=’7pjs08q2at6ya’
select * from small where id = 42
END OF STMT
PARSE #19:c=0,e=18142,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=1,tim=24079367080
EXEC #19:c=0,e=35,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,tim=24079367262
WAIT #19: nam=’SQL*Net message to client’ ela= 5 driver id=1111838976 #bytes=1 p3=0 obj#=62986 tim=24079367301
WAIT #19: nam=’db file sequential read’ ela= 16020 file#=7 block#=117897blocks=1 obj#=99586 tim=24079383391
WAIT #19: nam=’db file sequential read’ ela= 16820 file#=7 block#=117898blocks=1 obj#=99586 tim=24079416967
FETCH #19:c=15625,e=49760,p=2,cr=3,cu=0,mis=0,r=1,dep=0,og=1,tim=24079417101
WAIT #19: nam=’SQL*Net message from client’ ela= 445 driver id=1111838976 #bytes=1 p3=0 obj#=99586 tim=24079417615
FETCH #19:c=0,e=27,p=0,cr=1,cu=0,mis=0,r=0,dep=0,og=1,tim=24079417699
STAT #19 id=1 cnt=1 pid=0 pos=1 obj=99586 op=’TABLE ACCESS FULL SMALL (cr=4 pr=2 pw=2 time=0 us cost=2 size=9 card=1)’
WAIT #19: nam=’SQL*Net message to client’ ela= 6 driver id=1111838976 #bytes=1 p3=0 obj#=99586 tim=24079439168
Notice how the first highlighted wait event performs a ‘db file sequential read’ to first access the segment header as denoted by file#=7 block#=117897 in order to determine which blocks need to be read during the FTS operation. You can easily confirm the file# and block # corresponds to the table segment header by querying DBA_SEGMENTS.
This is then immediately followed by another ‘db file sequential read’ wait event to access the only data block of interest as denoted by file#=7 block#=117898. Notice how this block is simply the block that follows the segment header, as all 100 rows were inserted at one time by the one transaction. Note this is the only data block in the table that contains rows and is the only table block that needs to be accessed during the FTS operation.
Notice how the first FETCH operation resulted in 3 consistent gets (cr=3), 2 consistent gets that correspond to the 2 physical I/O waits events already identified plus an extra consistent read to confirm there were no more table blocks of interest. This FETCH returns the first and (in this case) only row of interest (r=1).
A second FETCH was required resulting in an additional consistent get (cr=1) to confirm to the client that there are indeed no more rows of interest to be returned after the first row was fetched (r=0). We might know there’s only one row but Oracle doesn’t until it performs this second fetch.
Note BTW that if the query returned no rows at all, this second fetch would not have been required as the first empty fetch would have confirmed to Oracle there were no more rows to come. The total CR count would have been just 3 in this case (but would still have been bettered by an index if present).
This is a small lookup table and we’re generally interested in just the one row. As discussed in Part 1 and now expanded upon here, a FTS requires at least 4 CR behind the scenes when retrieving just the one row of interest, even if the table is tiny and can potentially store all its rows in just the one data block.
You can’t really get a table smaller than one block and yet as we’ll see, an index can beat the 4 CR overhead of reading a row from this tiny table via a FTS.
Next installment coming soon … 🙂
Indexes On Small Tables Part I (One Of The Few) April 16, 2009
Posted by Richard Foote in Oracle Indexes, Small Indexes.26 comments
A common question I get asked is when is a table too small to benefit from being indexed.
If a table only has a few blocks for example, which could all be potentially read via a single multiblock read operation, surely there’s no benefit in indexing such a table (except perhaps to police an associated PK constraint). It must take at least 2 Logical I/O (LIO) operations to read data from the table via an index, at least one LIO to read an index block and at least one LIO to read the associated table block referenced by the ROWID in the index. If a Full Table Scan (FTS) can be effectively performed via a single multiblock read operation, hence reading the entire table with just one LIO , surely an index will always be a more expensive option and so ultimately useless with such small tables.
Well not necessarily …
The first thing to point out is that generally speaking, a Full Table Scan is a relatively expensive operation. Tables can be big, really really big, consisting of potentially many many 1,000s of data blocks, potentially requiring many 1,000s of multiblock read operations to be performed. Therefore, generally speaking, if we’re going to perform a relatively expensive FTS, we’re not going to be too concerned if we use an extra I/O or two, as we potentially have to perform 1,000s of I/Os anyways. A shortcut here or there is not going to generally make much of a difference one way or the other.
Note also that with a FTS being this relatively expensive operation, we’re not likely to generally speaking want to perform 1,000s of such FTS operations every minute within our databases. Generally speaking, a FTS is a much less common event than an Index Range Scan operation and so we wouldn’t take advantage of any possible short cuts here or there very often.
However, generally speaking, an index scan is a relatively inexpensive operation, potentially consisting of just a few LIO operations. We may have an index that has a blevel of say 2 (height of 3) and we may typically only want to select a row or two. That would therefore consist of just 3 LIOs of read the index related blocks (the index root block, an index branch block and an index leaf block) plus an I/O or two to read a row or two from the table. It’s potentially just a handful of blocks, just a few little LIOs but if we could somehow save an I/O or two in the process, this could in fact make a huge difference to the relative costs of the Index Range Scan.
Note also that with an Index Range Scan being this relatively inexpensive operation, we’re quite like to generally speaking want to perform lots and lots of such Index operations each and every minute in our databases. Generally speaking, an Index Range scan is a very very common event and so any short cut here or there can be extremely useful and significant and be taken advantage of frequently within the database.
So a FTS has a tendency to be relatively expensive and is not performed anywhere near as as frequently as Index Range Scan operations which have a tendency to be relatively inexpensive. Generally speaking of course.
But Oracle takes this generalisation very much to heart in how it goes about processing these operations.
The next point to make is that if a table has just a few rows and say consists of just the one data block below its High Water Mark (HWM), it doesn’t necessarily mean we only need just the one I/O operation to read the entire table. For example, how does Oracle know there’s just one block worth of data ? How does Oracle know where to actually physically locate this one block worth of data ? How does Oracle know that once its read this block, there aren’t any other data blocks of interest ?
The answer is that it can’t without referencing data dictionary objects and without accessing the table segment header where the extent map is located. Even for a tiny table with only a handful of rows that can reside in only the one table block, it therefore requires more than just the one consistent get operation to read data from the table via a FTS. However, as a FTS is usually a relatively expensive operation, these few little consistent reads here and there to determine the actual number of blocks in the table and the actual location of these blocks is generally going to be a relatively trivial overhead. Oracle though doesn’t differentiate between a small and a larger table when it comes to a FTS, so these extra few consistent reads can potentially be a significant overhead for FTS operations on smaller tables.
As an example, let’s create a little table and see what consistent gets are required to read it via a FTS …
Let’s begin by creating a small table that consists of just 100 little rows.
SQL> CREATE TABLE small AS SELECT rownum id, ‘BOWIE’ name FROM dual CONNECT BY LEVEL <= 100;
Table created.
SQL> exec dbms_stats.gather_table_stats(ownname=>null, tabname=>’SMALL’, estimate_percent=> null, method_opt=> ‘FOR ALL COLUMNS SIZE 1′);
PL/SQL procedure successfully completed.
SQL> SELECT blocks from user_tables WHERE table_name=’SMALL’;
BLOCKS ---------- 1
Note that this table consists of just the one data block below the HWM. A table can’t really get much smaller that one block.
Let’s now select just one row from this table. Note we haven’t created an index at this point so Oracle has no choice but to read this one row via a FTS.
SQL> SELECT * FROM small WHERE id = 42;
ID NAME ---------- ----- 42 BOWIE
Execution Plan ------------------------------------------ |Id | Operation | Name | Rows | ------------------------------------------ | 0 | SELECT STATEMENT | | 1 | |* 1 | TABLE ACCESS FULL| SMALL | 1 | ------------------------------------------ Statistics -------------------------------------------- 0 recursive calls 0 db block gets 4 consistent gets 0 physical reads 0 redo size 465 bytes sent via SQL*Net to client 396 bytes received via SQL*Net from client 2 SQL*Net roundtrips to/from client 0 sorts (memory) 0 sorts (disk) 1 rows processed
Note to read just this one row from this one block table, we have actually performed 4 consistent gets operations. Not 1 consistent get, but 4 consistent gets …
Let’s look at the actual type of consistent gets, by running the following statement in another session before and after executing the above SELECT statement (note SID 134 refers to the session SID that ran the above SELECT statement) :
SQL> SELECT n.name, s.value FROM v$sesstat s, v$statname n
WHERE s.statistic# =n.statistic# AND s.sid = 134 AND n.name LIKE ‘consistent%’;
NAME VALUE ----------------------------- ------ consistent gets 275851 consistent gets - examination 70901
Note the above figures were the session consistent gets before the SELECT statement and the following consistent gets statistics are after the SELECT statement was executed.
SQL> SELECT n.name, s.value FROM v$sesstat s, v$statname n
WHERE s.statistic# =n.statistic# AND s.sid = 134 AND n.name LIKE ‘consistent%’;
NAME VALUE ----------------------------- ------ consistent gets 275855 (+4) consistent gets - examination 70901 (0)
Note that yes indeed, there were 4 consistent gets performed and that none of the consistent gets were the “cheaper” consistent gets examinations. Therefore, the 4 consistent gets used in performing the FTS of the one block table required 4 x 2 = 8 latches.
Now 4 consistent reads to perform a FTS isn’t too bad, even for this little table and 8 latches isn’t exactly a huge number.
However, as we’ll see next, an index on this tiny one block table can do so much better …
Australia Enters The Space Race !! (Life On Mars) April 1, 2009
Posted by Richard Foote in Richard's Musings.9 comments
Just had to share this incredible news. Makes one proud to be an Australian today !!
“Australia today announced the truly exciting news that starting 2010, it will begin its own space program with the ultimate aim of potentially collonising the planet Mars. This will be the first time a country has specifically stated its intention to lay claims to a territory outside the planet Earth.
Prime Minister Kevin Rudd, currently overseas and about to attend the G-20 summit, said in a press statement that as part of yet another stimulus package to help address the current financial crisis, Australia will invest 20 billion Australian Dollars over the next 15 years, in what will officially be called the Australian Research Space Enterprise. Kevin Rudd claims that not only will this investment create real jobs and help to dramatically stimulate the Australian economy, but by the program’s end, Australia will hopefully also have something incredible to show for it all as well, a big beautiful red planet to claim our own !!
Realistically, experts claim the chances of completing the project in just 15 years is going to be extremely difficult. Although most of the technology to achieve such an incredible objective is already well established within Australia, actually fully developing and building the required infrastructure and the necessary space crafts will be a difficult challenge for a country like Australia. Dr. Sharp from the Australian National University (ANU) however believes the whole enterprise is totally achievable. “We have the natural resources, we have the necessary skills and human resources, we have the climate and natural landscape and we have a country full of people who are natural battlers and who don’t know how to give up, of course we have every chance of success. We’re also used to driving long distances which can’t hurt our chances”.
Industries spokesmen and Australian businesses are fully supportive of the governments announcement and believe it will have a positive impact on many Australian businesses and on the Australian ecconnmy generally. Mr Pennywise from the Australian Business Council (ABC) believes it will help ailing Australian businesses enormously. “We needed a huge injection not only in money and investments but in confidence as well. This is the biggest bloody syringe we could have hoped for ! The resource sector, manufacturing, IT, even tourism and retail will benefit enormously from this initiative. I’m going to buy an “Aussie Aussie Aussie, Mars Mars Mars” t-shirt as soon as they’re available”.
Like Antarctica, where Australia has a 35% claim in the territory, claiming territory rights for the planet Mars is being viewed by many in Australia as a natural extension of Australia’s colonising past. Dr. Frost who is currently working at the Australian Mawson station in Antarctica thought Australia was going one better with it’s space program announcement. “Don’t get me wrong, Antarctica is a fantastic place and has many wonderful discoveries. However, at the end of the day, it’s bloody cold here, it’s stinks of Penguins and there’s not much we can do except watch the occasional Japanese ship harpoon the odd whale. Mars offers far more in terms of potential, both in materials and general resources and in preventing dry skin and chapped lips from this cold wind”.
Foreign Affairs minister Stephen Smith said in a statement “Hopefully, Australia will be viewed as providing strong leadership and guidance on how other countries can invest massive amounts of money in an economic stimulous package, that not only achieves the goal of spending massive amounts of money but also has something significant to show for all the massive amounts of money that is spent. There is nothing stopping other countries in likewise having a dream and investing massive amounts of money in achieving the dream. Yes, the dream may not actually be realised in the end but at least you tried to achieve your dreams while spending the massive amounts of money necessary in a worthwhile economic stimulus package. Other countries too can spend massive amounts of money in attempting to colonize a planet. Not Mars, cause it’s now taken but Venus is still up for grabs”.
Overseas reaction to the news has been mixed. Some countries such as New Zealand appear to view the whole initiative with some skepticism. “They can afford to send Australians to Mars but they can’t afford a decent rugby team” said one Wellington local. The UK was much more supportive with Prime Minister Brown saying “The British wish Australia every success. Who knows, if successful, hopefully one day our two great nations will be able to play a test match on Mars although I suspect the atmosphere will likely result in a swinging ball and turning wicket”.
Obama, the US President who was one of the first overseas leaders to hear of the news during recent talks with Kevin Rudd in Washington, was extremely supportive of the Australian initiative and expressed hopes the two countries would continue their close national ties by cooperating in their Space pioneering endeavors. In a press statement, President Obama said “Hopefully, we can work together in space and the US wishes Australia and its people every success in their space exploration endeavours. As a sign of our friendship and support, the US will provide funds and technical support in helping get the Australian Research Space Enterprise off the ground, with the hope that Australia might perhaps one day help to install a barbecue on the International Space Station”.
Life is likely going to be very different for many Australians with many viewing today’s official announcement with excitement and shock. “This is better than when we got the Sydney Olympics” said Manly resident Michael Star. “Instead of being the centre of the world for two weeks, we’re going to be the centre of the world for bloody years. Well, the centre of Mars anyways”. “We’re going to Mars, we’re going to Mars” screamed school girl Nancey Moon from Canberra. John Mercury, a homeless man from Brisbane was less exuberant at hearing the news “Who gives a flying shit about @#$%ing Mars, there’s no decent pubs there last time I checked”.
State lotteries are already planning a national selection lottery that will select two lucky “everyday Australians” to be part of the first official flight to Mars. Not only will you need to have a good head for heights, but also be able to pick 6 straight numbers plus one supplementary. There will also be a national contest to select which beer will be the first beer in space and another competition aimed at school children to decide what the bumper sticker should be on the first Aussie spaceship to Mars. Although way too early to tell, “If you can read this sticker, you’re way too close and you’ll instantly be burnt to death once we take off you dick head” is already an early favourite !! “.