ShareThis

Nedelja sep 18, 2011

Oracle Rolling on with Roller

Blogs.oracle.com, previously on the Movable Type platform, has  moved over to the Apache Roller platform (on top of Oracle WebLogic Server 11g and Oracle Database 11g). And blogs.sun.com blogs  is now blogs.oracle.com. http://blogs.oracle.com/otn/entry/the_blogs_rolling_on_with. To download Roller ApplicationResources properties file in slovenian language click here.  / Blogs.oracle.com, je zamenjal  Movable Type platformo za Apache Roller platformo (na Oracle WebLogic Server 11g in Oracle Database 11g platformi). In blogs.sun.com blogs  je sedaj blogs.oracle.com. http://blogs.oracle.com/otn/entry/the_blogs_rolling_on_with. Za pridobitev Roller ApplicationResources properties datoteke v slovenskem jeziku kliknite tukaj. (morate biti prijavljeni)

 

Ponedeljek mar 10, 2008

explain on Roller table

I ran explain in MySQL and Oracle 10gR2 on  sql script following in [READMORE]

1) I've got "Impossible WHERE noticed after reading const tables" message, when I ran explain in MySQL. In Oracle10gR2 it was OK.

 2) So I run explain on this simple query:

explain select a.rolename ,b.username from rolleruser b, userrole a where b.id=a.userid;

3) Explanations of why indexes are necessary

Column "type" in following table is the join type. Type ref means, that all rows with matching index values are read from this table for each combination of rows from the previous tables, example a).

For a tables that are completely read in sequence from the hard drive EXPLAIN lists "ALL" in the "type" column. To the second table in the join plan for a two table query, EXPLAIN lists type: ALL, as for table without index, example b).

In example b) when EXPLAIN lists type: ALL for each table in a join "this output indicates that MySQL is generating a Cartesian product of all the tables; that is, every combination of rows" (MySQL manual). In simpler terms: Two tables of 10 rows each joined together does not result in 20 rows, it results in 100 rows (10 multiplied by 10).

a) with index

 select_type  table  type  possible_keys  key  key_len  ref  rows   extra
 SIMPLE  b  all  PRIMARY  <NULL>  <NULL>  <NULL>  3  
 SIMPLE  a  ref  ur_userid_idx  ur_userid_idx  144  roller.b.id  1  

b) without index ( drop index ur_userid_idx on userrole( userid ); )

select_type  table  type  possible_keys  key  key_len  ref  rows   extra
 SIMPLE  a  all <NULL>  <NULL>  <NULL>  <NULL> 4  
 SIMPLE b all   PRIMARY  <NULL> <NULL>  <NULL> 3  Using where

 Using too many indexes on tables can make things worse. In many cases, MySQL can calculate the best possible query plan. In very large database partitioning help. MySQL partitioning

 

[Beri Naprej]

Ponedeljek okt 08, 2007

Roller na USA.gov

USA.gov  in tim v "Office of Citizen Services v GSA" so pravkar zagnali nov blog. "Gov Gab" je blog Američanov za objavljanje in distribucijo vladnih  informacij. Poglejte na http://www.govgab.gov . Osnova tega bloga  je Roller 3.1.  To kaže da je odprtokodni blog Roller  že dovolja zrela aplikacija, tako glede podpore, vzdrževanja in seveda nadljnjega razvoja.

Ponedeljek jul 30, 2007

Roller 4.0

Med kratko ohladitvijo sem se lotil Rollerja.  Za novo verzijo Roller 4.0, ki bo zunaj to poletje, sem prevedel properties datoteko v slovenščino.

 Roller

Sreda jul 11, 2007

Roller

Med kratkim dopustovanjem sem prevedel Roller v slovenščino.  Roller, ki ga uporabljam, je opensource blog, ki je napisan v javi in teče v Tomcat , glassfih, ..strežnikih.  Zelo so dobrodošle pripombe glede prevoda. 

morje