Hi Horia,

Thanks for the response. I was looking in terms of how commit-log will
store each operation internally.
My queries are, for each one of the below query how commit log entry will
look like

Insert/Update/Delete: will there be insert/update/delete statement and
values in the commit-log?
DDL: DDL are logged as it is how we execute?



Thanks
Sreeni

On Mon, Feb 11, 2019 at 6:12 PM Horia Mocioi <a.moc...@gmail.com> wrote:

> Hello Sreeni,
>
> When a write occurs to Cassandra, the operations is first stored in the
> commit log. Write operation means: insert/update, delete or column family
> change.
>
> You can check the following explanations regarding the use of commit logs.
>
>    -
>
> http://cassandra.apache.org/doc/latest/architecture/storage_engine.html#commitlog
>    -
>
> https://stackoverflow.com/questions/34592948/what-is-the-purpose-of-cassandras-commit-log
>
>
> Regards,
> Horia
>
> On Mon, Feb 11, 2019 at 1:17 AM Sreenivasulu Nallapati <
> sreeni.nallap...@gmail.com> wrote:
>
> > Hi,
> >
> > I was wondering what is there in the commit-log. May be some examples
> with
> > below events
> > 1. Insert - only inserting data?
> > 2. Update - will it have before after change?
> > 3. Delete  - will it have before and after change?
> > 4. DDL - ?
> >
> > Please help me to understand
> >
> > Thanks
> > Sreeni
> >
>
>
> --
> <http://bookreader.ro>
>

Reply via email to