Archive for the 'database' Category

Benchmarking Databases I. Volatile Storage. – Pon un sol en tu vida

Friday, February 20th, 2009

PostgreSQL, MySQL and Oracle are compared using reasonable hardware setup and TPC-C like test with BenchmarkSQL tool (JDBC ) . This post will probably disappear soon as the author clearly violates oracle license that does not permit publishing benchma…

Prevent users from seeing SQL inside SP Postgersql ( from flames on sql.ru about MySQL vs PostgreSQL [russian] Выбор СУБД: MySQL или PostgreSQL / Сравнение СУБД : Форум на SQL.RU )

Wednesday, November 5th, 2008

example: REVOKE SELECT ON pg_catalog.pg_proc, information_schema.routines FROM public

[russian] Юзеры – Друзья. Какая связь? / Проектирование БД : Форум на SQL.RU || User – Friends relationship : Database design, forum SQL.ru

Friday, August 22nd, 2008

design pattern for friends/users, i.e. how to organize user-friend relationship. patters suggest that you need to make 2 tables, i.e freindship and friendship:user

BLOB, iBatis & PostgreSql 8.1 – dBforums [large objects vs bytea]

Sunday, August 17th, 2008

sane notes about storing binary data in Postgres. Basically bytea is ASCII representaion of bynary data wich requires decoding / escaping (read: slow) and large objects a kind of ok, but not trigger-based replication compartable

[russian] Как гарантировать наличие атрибута (циклическая зависимость) / Проектирование БД : Форум на SQL.RU | about cyclic references / database design

Monday, August 11th, 2008

good discussion about cyclic references. Basically the main point is that if you have a question “how do I implement cyclic fererence?” — then there is something wrong, 99% that it is so because ur understaning of problem domain is wrong.

To BLOB or Not To BLOB: Large Object Storage in a Database or a Filesystem?

Tuesday, August 5th, 2008

a paper from microsoft research comparing perfomance of 2 systems: metadata in db + files in fs vs. meatadata + files as blobs in db. Study uses MSSQL and NTFS. Datasets are in less than 1 GB size.

SQLite ODBC Driver

Tuesday, August 5th, 2008

ODBC wrapper for sqlite libs, coss platform: binaries are available for win32, os x, linux

How to Share Session State Between Classic ASP and ASP.NET

Wednesday, July 2nd, 2008

the subj. soluton creates COM object in .net that then is used by classic ASP to store sessions. ASP.net object stores session in SQL database

Benchmark: Dell/Perc 6, 8 disk RAID 10 [postgresql-performance mailing list]

Friday, June 27th, 2008

Dell 2950

[russian] how to make backup via sql request /PostgreSQL forum at sql.ru || Сделать backup через запрос / PostgreSQL : Форум на SQL.RU

Friday, June 27th, 2008

CREATE OR REPLACE FUNCTION makebackup()