| From: | "Greg Sabino Mullane" <greg(at)turnstep(dot)com> |
|---|---|
| To: | pgsql-advocacy(at)postgresql(dot)org |
| Subject: | Re: MySQL million tables |
| Date: | 2006-03-10 14:23:07 |
| Message-ID: | b53499524964992236c129105745ce6d@biglumber.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-advocacy |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>> greg=# select count(*) from pg_class where relkind='r' and relname ~ 'foo'
>> count
>> - ---------
>> 1000000
> Try \dt :D
Sure. Took 42 seconds, but it showed up just fine. :)
List of relations
Schema | Name | Type | Owner
- --------+-----------+-------+-------
public | foo1 | table | greg
public | foo10 | table | greg
public | foo100 | table | greg
public | foo1000 | table | greg
public | foo10000 | table | greg
public | foo100000 | table | greg
public | foo100001 | table | greg
public | foo100002 | table | greg
public | foo100003 | table | greg
etc...
- --
Greg Sabino Mullane greg(at)turnstep(dot)com
PGP Key: 0x14964AC8 200603100913
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----
iD8DBQFEEYpuvJuQZxSWSsgRAnXFAKCQD31fIXDvN/2lLl9Unaw0zvAdcgCgkHxh
WsrUkThL+xYz6bdzvZ5jqA4=
=4TZu
-----END PGP SIGNATURE-----
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Richard Huxton | 2006-03-10 17:46:00 | Re: MySQL million tables |
| Previous Message | Anastasios Hatzis | 2006-03-10 08:40:39 | German press coverage: IT Mittelstand 03/2006 |