Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-10-2008, 02:04 PM
MARIOTTI, Alessandro \
 
Posts: n/a
Default debug issue on postgresql

Hi All,



I'm writing you to get some information regarding the possibility to get
some information a db corruption got yesterday morning in a live
platform .



We realized DB Inconsistence and corruption and we tried to restore
immediately the DB , via a back-up procedure, to restore services for
customer.



Now we need to investigate on DB what it was the route cause for db
corruption.



Unfortunately we don't have any experience with postgres db because the
platform had improved by a colleague that left company and no one got
the opportunity to learn something .....



Some documentation to start with postgres will be appreciate .



Best Regards



Alessandro.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-10-2008, 02:04 PM
Guillaume Lelarge
 
Posts: n/a
Default Re: debug issue on postgresql

MARIOTTI, Alessandro (Alessandro) a écrit :
> I’m writing you to get some information regarding the possibility to get
> some information a db corruption got yesterday morning in a live platform .
>
> We realized DB Inconsistence and corruption and we tried to restore
> immediately the DB , via a back-up procedure, to restore services for
> customer.
>
> Now we need to investigate on DB what it was the route cause for db
> corruption.
>


Do you have a backup of the corrupted database ? If you don't, it will
be extremely hard to tell you anything interesting.

And you need to tell us what kind of issue you have, which release you
use, etc.

> Unfortunately we don’t have any experience with postgres db because the
> platform had improved by a colleague that left company and no one got
> the opportunity to learn something …..
>
> Some documentation to start with postgres will be appreciate .
>


http://www.postgresql.org/docs/ and then choose the manual related to
your PostgreSQL release.

Regards.


--
Guillaume.
http://www.postgresqlfr.org
http://dalibo.com

--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-10-2008, 02:04 PM
Guillaume Lelarge
 
Posts: n/a
Default Re: debug issue on postgresql

MARIOTTI, Alessandro (Alessandro) a écrit :
> Well I could shortly describe what's happen on these machines ;
>
> On May 7 2008 at 23:25 an operator performed :
>
> _a configuration change ;
>
> _add a new user on a table named MVNO;
>


None of these could have caused a corruption.

> Customer told us that for “new user” operator add comma “,” symbol.
>
> This is something new for their provisioning procedure (it’s seems they
> never test it )thus as soon as they propagate this updated DB over
> machines of live net these started to discard all the requests and no
> more user was able to work or work properly .
>


> Now they asking us what’s happen so this is the reason why I’m writing
> here .
>


You'll need more info if you want to find out what happened.

> Unfortunately I tried to verify the backup db but the one interesting
> for us is empty :
>
> ls -l 200805*
>
> -rw-r--r-- 1 root root 842840 mag 1 04:03
> 20080501-0403-cfg_xxxxxxx.sql
>
> -rw-r--r-- 1 root root 842840 mag 2 04:03
> 20080502-0403-cfg_xxxxxxx.sql
>
> -rw-r--r-- 1 root root 842840 mag 3 04:03
> 20080503-0403-cfg_xxxxxxx.sql
>
> -rw-r--r-- 1 root root 842840 mag 4 04:03
> 20080504-0403-cfg_xxxxxxx.sql
>
> -rw-r--r-- 1 root root 842540 mag 5 04:03
> 20080505-0403-cfg_xxxxxxx.sql
>
> -rw-r--r-- 1 root root 842613 mag 6 04:03
> 20080506-0403-cfg_xxxxxxx.sql
>
> -rw-r--r-- 1 root root 842613 mag 7 04:03
> 20080507-0403-cfg_xxxxxxx.sql
>
> *-rw-r--r-- 1 root root 0 mag 8 04:03
> 20080508-0403-cfg_xxxxxxx.sql*
>
> -rw-r--r-- 1 root root 843960 mag 9 04:03
> 20080509-0403-cfg_xxxxxxx.sql
>


You don't a SQL backup, these won't help you. You need a backup of the
database after the corruption.

> I‘ll try to find it but but even if I can’t provide this back-up for
> company policies reason , could I ask you some feed-back to get
> suggestion to look for on this back-up file?
>


Nope. You didn't give us enough information to at least get started.


--
Guillaume.
http://www.postgresqlfr.org
http://dalibo.com

--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-12-2008, 09:08 AM
MARIOTTI, Alessandro \
 
Posts: n/a
Default Re: debug issue on postgresql

Guillaume,



Well I could shortly describe what's happen on these machines ;



On May 7 2008 at 23:25 an operator performed :

_a configuration change ;

_add a new user on a table named MVNO;

Customer told us that for "new user" operator add comma "," symbol.

This is something new for their provisioning procedure (it's seems they never test it )thus as soon as they propagate this updated DB over machines of live net these started to discard all the requests and no more user was able to work or work properly .



Now they asking us what's happen so this is the reason why I'm writing here .



Unfortunately I tried to verify the backup db but the one interesting for us is empty :



ls -l 200805*

-rw-r--r-- 1 root root 842840 mag 1 04:03 20080501-0403-cfg_xxxxxxx.sql

-rw-r--r-- 1 root root 842840 mag 2 04:03 20080502-0403-cfg_xxxxxxx.sql

-rw-r--r-- 1 root root 842840 mag 3 04:03 20080503-0403-cfg_xxxxxxx.sql

-rw-r--r-- 1 root root 842840 mag 4 04:03 20080504-0403-cfg_xxxxxxx.sql

-rw-r--r-- 1 root root 842540 mag 5 04:03 20080505-0403-cfg_xxxxxxx.sql

-rw-r--r-- 1 root root 842613 mag 6 04:03 20080506-0403-cfg_xxxxxxx.sql

-rw-r--r-- 1 root root 842613 mag 7 04:03 20080507-0403-cfg_xxxxxxx.sql

-rw-r--r-- 1 root root 0 mag 8 04:03 20080508-0403-cfg_xxxxxxx.sql

-rw-r--r-- 1 root root 843960 mag 9 04:03 20080509-0403-cfg_xxxxxxx.sql





I'll try to find it but but even if I can't provide this back-up for company policies reason , could I ask you some feed-back to get suggestion to look for on this back-up file?



Many thanx anyway for your help



Best Regards



Alessandro.





-----Original Message-----
From: Guillaume Lelarge [mailto:guillaume@lelarge.info]
Sent: venerd 9 maggio 2008 19:05
To: MARIOTTI, Alessandro (Alessandro)
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] debug issue on postgresql



MARIOTTI, Alessandro (Alessandro) a crit :

> I'm writing you to get some information regarding the possibility to get


> some information a db corruption got yesterday morning in a live platform .


>


> We realized DB Inconsistence and corruption and we tried to restore


> immediately the DB , via a back-up procedure, to restore services for


> customer.


>


> Now we need to investigate on DB what it was the route cause for db


> corruption.


>




Do you have a backup of the corrupted database ? If you don't, it will

be extremely hard to tell you anything interesting.



And you need to tell us what kind of issue you have, which release you

use, etc.



> Unfortunately we don't have any experience with postgres db because the


> platform had improved by a colleague that left company and no one got


> the opportunity to learn something .....


>


> Some documentation to start with postgres will be appreciate .


>




http://www.postgresql.org/docs/ and then choose the manual related to

your PostgreSQL release.



Regards.





--

Guillaume.

http://www.postgresqlfr.org

http://dalibo.com


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:14 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145