PHP Manual
PEAR Manual
Smarty Manual
PostgreSQL
MySQL Manual
Perl Manual
Ciekawe adresy
- Biznesplan
- Kuchnie Warszawa
- Modelki
- Projekty Domów
- Serwis Konica Minolta
- Meble Ogrodowe
- Salon Toyoty Poznań
- Płytki Ceramiczne Poznań
Czytnik RSS
» Dwa nowe mini pecety od firmy ZotacKto twierdzi, że komputer osobisty musi być zamknięty w dużej, brzydkiej skrzynce, ten powinien spojrzeć na dwa nowe modele mini pecetów od firmy Zotac. Taki sprzęt może być ozdobą każdego biurka.
» Najnowszy procesor Arm: Cortex-A15
Firma Arm pokazała wczoraj na konferencji w San Francisco najnowszy procesor Cortex-A15 MPCore. Ma on cztery rdzenie i pracuje tak wydajnie, że znajdzie zastosowanie nie tylko w urządzeniach elektronicznych powszechnego użytku, ale również w serwerach i routerach czy przełącznikach.
» Stała posada w cenie
Polscy pracownicy są z każdym rokiem coraz mniej skłonni do zmiany pracy. W 2001 r. znalezieniem nowej posady zainteresowanych było niecałe 9% zatrudnionych, zaś na początku 2010 r. odsetek ten spadł do 0,5% - wynika z raportu firmy Sedlak & Sedlak.
» Ofiary cyberprzestępców czują się winne. I słusznie
65% internautów z całego świata padło ofiarą jakiejś odmiany cyberprzestępstwa - wynika z raportu przygotowanego przez firmę Symantec. Co ciekawe, ponad połowa poszkodowanych przyznaje, że stało się to przynajmniej częściowo z ich winy.
11.2. index types
postgresql provides several index types: b-tree, hash, and gist. each index type uses a different algorithm that is best suited to different types of queries. by default, the create index command will create a b-tree index, which fits the most common situations.
b-trees can handle equality and range queries on data that can be sorted into some ordering. in particular, the postgresql query planner will consider using a b-tree index whenever an indexed column is involved in a comparison using one of these operators:
| < |
| <= |
| = |
| >= |
| > |
the optimizer can also use a b-tree index for queries involving the pattern matching operators like, ilike, ~, and ~*, if the pattern is a constant and is anchored to the beginning of the string — for example, col like 'foo%' or col ~ '^foo', but not col like '%bar'. however, if your server does not use the c locale you will need to create the index with a special operator class to support indexing of pattern-matching queries. see section 11.8 below.
hash indexes can only handle simple equality comparisons. the query planner will consider using a hash index whenever an indexed column is involved in a comparison using the = operator. the following command is used to create a hash index:
create index name on table using hash (column);
note: testing has shown postgresql's hash indexes to perform no better than b-tree indexes, and the index size and build time for hash indexes is much worse. furthermore, hash index operations are not presently wal-logged, so hash indexes may need to be rebuilt with reindex after a database crash. for these reasons, hash index use is presently discouraged.
gist indexes are not a single kind of index, but rather an infrastructure within which many different indexing strategies can be implemented. accordingly, the particular operators with which a gist index can be used vary depending on the indexing strategy (the operator class). as an example, the standard distribution of postgresql includes gist operator classes for several two-dimensional geometric data types, which support indexed queries using these operators:
| << |
| &< |
| &> |
| >> |
| <<| |
| &<| |
| |&> |
| |>> |
| ~ |
| @ |
| ~= |
| && |
Najskuteczniejsza reklama to pozycjonowanie - Pozycjonowanie stron <= zajrzyj tu i dowiedz się więcej o pozycjonowanie stron